Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all 24426 articles
Browse latest View live

Unable to retrieve logs from host

$
0
0

We are running VCSA 6.0 and when I try to retrieve logs from a newly setup host I recieve an error.

 

FaultCode Server Processing

FaultString java.lang.illegalArgumentException: obj can not be null at JAXBUtils.getXML (obj)

 

Not entirely sure where to begin troubleshooting this, im fairly green when it comes to vmware


VCSA 6.5 Patch Update Fails

$
0
0

I have a lab and a production VCSA 6.5. They both fail repeatedly trying to apply photon patches. I have tried updating from the online repository as well as downloading the ISO and attaching it to the VCSA DVD/CD from the ESX datastore repository.

 

Lab is version 6.5.0.10000 Build Number 5973321, vCenter Server with an embedded Platform Services Controller. Trying to apply 6.5.0.11000 Build Number 6816762.

 

2:16:56 PM: Upgrade Failed

2:16:56 PM: Complete starting services

2:11:13 PM: Start starting services

2:11:12 PM: Start updating packages

2:11:12 PM: Complete running pre-install scripts

2:09:02 PM: Start running pre-install scripts

2:09:02 PM: Complete testing update

2:09:01 PM: Start testing update

2:09:01 PM: Complete preparing VCSA for installation

2:09:01 PM: Start preparing VCSA for installation

2:09:01 PM: Complete Staging packages

2:08:55 PM: Start staging packages

2:08:55 PM: Complete validating update packages

2:08:55 PM: Complete validating update

2:08:55 PM: Start validating update

2:08:55 PM: Start validating update packages

 

Both logged in as root. With the prod VCSA, after trying 6-7 times, it finally updated. However, I would like to find the cause to resolve it.

 

Please advise what logs I can look at to determine where the failure resides.

 

Thanks in advance for any guidance.

vCenter upgrade ISO not working

$
0
0

I installed vCenter 5.5 appliance recently as part of a test lab. It is installed on ESXi 6.0 and I am trying to upgrade to 6.5 but I only have an ISO for 6.5.  have tried putting the ISO in the CD/DVD drive in ESXi then booting the vCenter appliance to do the upgrade. It is not booting to the ISO and just skipping it. The connected setting is checked so it should be seeing it. Suggestions on what to try? I have never done an upgrade for vCenter before.

unable to diffrenciate between CBD AND THC? ((https://www.legaledonlinestore.com/ ))

Unable to run createvchaconfig.py on secondary/witness node

$
0
0

Unable to run createvchaconfig.py on secondary/witness node error encountered while trying to depoyed secondary and witness node on VCSA 6.5 U1e.Anyone hit this issue before?

VCSA 6.5 HA died. How to get HA working again?

$
0
0

Hello,

 

One thing i've noticed about VCSA 6.5 HA setup's is that most of the HA setups stop working after a while. Some run fine for weeks before trouble starts. Some run fine for months before getting into trouble.

I've setup a whole bunch of installations by now, using version 6.5 for the last 5 or so. And only 1 setup is still running in HA mode without problems today. All others have withered away over time.

 

In some cases, it starts with Postgres not syncing anymore.

In other cases, postgres sync works fine but everything rsync based stops working (message that the appliance config, state and sqlite db are out of sync)

In other cases, the peer node went offline and never comes back, despite being rebooted.

 

Those are the main 3 categories of HA problems that I see in the field. At the moment i've stopped recommending using VCSA 6.5 HA mode all together.

 

As I can find little information on actual troubleshooting, besides trying stuff like manually starting postgres and other things are like reboots that rarely work, can somebody point me to good sources of information. I cannot find blogs or relevant KB articles. I cannot imagine me, or my customers, being the only ones with these issues though.

 

I want to learn how to troubleshoot HA issues myself as VMware support is not very helpful. You get some 1-level guy on the phone, that only ever collects logs and the HA setup is down for weeks, ending with the advice to simply destroy the peer and witness nodes and start over. I've become used to doing "destroy-ha" on the active node and starting fresh...

It's always a replication issue. The active node is fine. No disk-full issues or anything. Replication just stops.

 

At the moment, I have two separate installations (one was installed 3 months ago, the other is about 7 weeks old) with the exact same problem where vCenter itself works fine, all Nodes are up, but both say "PostgreSQL replication is not in progress. Verify if PostgreSQL server is running on the Passive node and that the Passive node is reachable on the vCenter HA network."

Also, the other 3 replication items config, state and sqllite are all out of sync. Rebooting the passive appliance or disabling en re-enabling HA has no effect at all. Disk-space is not an issue.

 

If I go on the commandline of the passive node, I see that only "vmware-statsmonitor, vmware-vcha and vmware-vmon" are running. The service "vmware-vpostgres" is not running and will not start either (service is masked error).

 

Concrete questions:  if, like in the example above, Postgres sync stops working:  how to get it back up running again?  Same for the other 3 sync-relationships "State, config & sqllite DB". Is there any documentation?

What are this file ?

$
0
0

Hi

 

I'm doing VC housekeeping and i notice why the vmdk file icon can be different? (with highlighted) , both also are VMDK format as see here.

rdm.vmdk and rdmp.vmdk is use to map RAW lun. can it be delete?

what is ctk.vmdk?

And what kind of file can be delete from vmware? need advice

 

thanks you

A virtual machine does not receive IP address from the static IP pool

$
0
0

Hi everyone

A virtual machine does not receive IP address from the static IP pool.

What was done before:

* a new IP pool (network protocol profile) was created an assigned to the existing distributed PG

* VM was connected to this PG

* Enable vApp option - checked

* IP allocation set to Static - IP Pool

* IP allocation scheme- OVF environment - checked

* OVF environment transport - VMWare tools - checked

The VM boots and it's IP is received from APIPA.

WTF? O_O what else should I do to not to assign IP addresses into virtual machines manually?

I even do not see any error messages. Simply 169.254 instead of ip address.


REST API and OVF deployement

$
0
0

Hello guys,

 

I'm trying to automatise a Vapp deployement from the library with the REST API and the POST /rest/com/vmware/vcenter/ovf/library-item/id:xxx?~action=deploy.

 

My deployment works but i'm looking for a specific customisation but i don't find who to do that.

 

My Vapp in the library is like :

 

Vapp name : client

     Virtual machine 1 name : vm1

     Virtual machine 2 name : vm2

 

So in the OVF descriptor, i've the virtualSystemCollection section with the Vapp name and under that, two virtualsystem section with the vms name :

 

<VirtualSystemCollection ovf:id="client">

<Name>Client</Name>

....

<VirtualSystem ovf:id="vm1">

<Name>vm1</Name>

</VirtualSystem>

...

<VirtualSystem ovf:id="vm1">

<Name>vm1</Name>

</VirtualSystem>

....

</VirtualSystemCollection>

 

During the deployment, i can change the vapp name with the following option in the REST request :

 

  "deployment_spec": {

        "accept_all_EULA": true,

        "name": "clientok",

.....

}

 

But i don't know how to specify the Vms names is the Vapp, the thing i want to is to specify that option during the deployment. I've search in the metadata structure on the REST documentation but i did not find something regarding the VirtualSystem section.

 

The goal of that is to deploy the Vapp for specific client with his name :

 

Clientvapp

     clientVm1

     clientVm2

 

Thanks you in advance for your reading.

 

Regards,

 

Thomas

REST Automation SDK - deploy VM from OVF package with networking configuration

$
0
0

I'm using the REST Automation SDK (not powershell) and I need to deploy a vm from ovf but there are no examples and documentation is not specific enough for me. Also, the OVF will never be specific enough - I would need to find a way to pass it custom information (like it's new hostname and ip configuration) - anyone have successes doing something similar and can post examples? help

vCenter 6.5 VSCA unable to deploy OVF

$
0
0

hello all

 

I migrated my VCSA from 6.0 to 6.5 and now and i have a strange message when i try to deploy an OVA : This version of vcenter server does not support Deploy OVF template using this version of vsphere web client.To deploy OVF template, login with version 6.5.0.0 of vsphere web client.

Of course i already use a 6.5 version like i am connected to vCenter 6.5.

I tryed to to remove stored data, clear cache, change brower, remove CIP 5.5 et 6.0, reboot VCSA and finely change PC.

I tryed with root and administrator@vsphere.local.

Always the same message (popup)


is anybody have a new idea ?

 

Thierry MARIET.

VMware consultant

Cross vCenter vMotion

$
0
0

Hello Experts

 

Would like to understand if it possible to vMotion aVirtual Machine between 2 different vCenter servers without having the shared storage between them. I have read the following KB 2106952 which says it is must but it also says about the same SSO domain but there are articles which proves vMotion is possible also between different vCenter SSO domain.

 

Many thanks in advance.

 

Cheers

vSphere 6.0 U3 Custom Certificates instalation error: Previous Machine_SSL_CERT Subject alternative name does not match new Machine_SSL_Certificate Subject alternative name

$
0
0

We have setup a testing environment to perform an upgrade from vSphere 5.5 to 6.0 U3

Have updated one vcenter from 5.5 to 6.0 U3 and try to test custom certificates. All infrastructure servers are installed on Windows 2008 R2 Standard (Vcenter, AD/CA, SQL)

Tried to follow this article Replacing a vSphere 6.x Machine SSL certificate with a Custom Certificate Authority Signed Certificate (2112277) | VMwar…

 

We have created certificates template using this article as guide Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 6.0 (2112009) | VMware KB

Creating a new template for vSphere 6.0 to use for Machine SSL and Solution User certificates

    Connecting to the CA server, you will be generating the certificates from through an RDP session.

    Click Start > Run, type certtmpl.msc, and click OK.

    In the Certificate Template Console, under Template Display Name, right-click Web Server and click Duplicate Template.

    In the Duplicate Template window, select Windows Server 2003 Enterprise for backward compatibility.

    Note: If you have an encryption level higher than SHA1, select Windows Server 2008 Enterprise.

    Click the General tab.

    In the Template display name field, enter vSphere 6.0 as the name of the new template.

    Click the Extensions tab.

    Select Application Policies and click Edit.

    Select Server Authentication and click Remove, then OK.

    Note: If Client Authentication exists, remove this from Application Policies as well.

    Select Key Usage and click Edit.

    Select the Signature is proof of origin (nonrepudiation) option. Leave all other options as default.

    Click OK.

    Click the Subject Name tab.

    Ensure that the Supply in the request option is selected.

    Click OK to save the template.

    Proceed to Adding a new template to certificate templates section in the article to make the newly created certificate template available.

 

On Vcenter server 6.0U3   (Embeded PSC) we run the certificat manager tool to generate CRS records, we have used option 1 and 5 as our goal is to use custom certificates.

We followed this article to get certificates from Microsoft CA  Obtaining vSphere certificates from a Microsoft Certificate Authority (2112014) | VMware KB

Note: this is a simple lab environment so there is no intermediate CA only the root one on  Windows 2008R2

 

We copied certificates to the new vcenter and tried to import Machine SSL certificate and got the above error

Previous Machine_SSL_CERT Subject alternative name does not match new Machine_SSL_Certificate Subject alternative name

 

We tried to use san:dns=fqdn..... using attributes box from CA to specify a unique SAN but got same error

 

Have attached the certtool.cfg file and certificate manager log.  Any help would be appreciated

Java SDK - REST API question

$
0
0

Hi all,

 

I am new to the VM world and I've been asked to verify what are the possibilities of automating some tasks by using the Java SDK or the REST API which comes with the vSphere 6.5. I downloaded the Java SDK and I can run java programs to create, power on/off VMs and I can use curl to interact with the HTTP API to carry out the same operations.

 

There two operations whose availability I am not sure of:

  1. Move the VM on a different host
  2. Pin the VM to specific CPU

Does anybody know if such operations are available using one of the before mentioned APIs ?

 

Thanks.

vApp Scripting

$
0
0

I note that PowerCLI only has the following commandlets to manage vApps:

 

  • Export-VApp
  • Get-VApp
  • Set-VApp
  • Import-VApp
  • New-VApp
  • Remove-VApp
  • Start-VApp
  • Stop-VApp

 

What none of these commandlets seem to offer is a way of manipulating the vApp "Start Order".

 

Is the vSphere Web Client the only way to set a vApp Start Order?

 

Or are there any APIs that can allow us to set the start order through scripts?


Vcenter 6.5 U1 doesn't email . Mail sever receive null field RECEIVED: MAIL From: SIZE=2961"

$
0
0

Hello guys. I have a customer with the office365 mail server that only accepts authenticated mail with STARTTSL. As I know, vsphere does not use STARTTLS. The customer does not want to make changes to the Office365 mail server. So I installed hmailserver, a mail server within the infrastructure that acts as a relay. There are many infrastructure equipment that send alerts via hmailserver without problems. I VCA (6.5 U1 Build 5973321) instead fail. The message is the usual Alarm 'Test Alarm' on Test Mail can not send email to mxxxx@gmail.com. I opened the Hmailserver logs and I see that it has received emails from the Vcenter but there is something wrong with data  sent by Vcenter, the "RECEIVED: MAIL From:<> SIZE=2961" is empty while it should contain the SENDER (riscpacs @ xxx .xx.it), the RCPT should contain the person who must receive the email (mxxxxx@gmail.com) and instead contains rispacs@xxx.xx.it. "RECEIVED: RCPT To:<rispacs.alert@xxx.xx.it>". Office365 sends an error: RECEIVED: 550 5.7.60 SMTP; Client does not have permissions to send as this sender .Strange problem. I attach a document that contains the test logs of two virtuacenter with errors and logs of two machines that send the mail without problems. Thanks in advance for the help

Vcenter access log

$
0
0

For security issues, my customer wants to know where to find access logs for vcenter and esxi. Would it be possible for a vcenter to send an email every time an access is made? Thanks in advance.

Unable to change type of SCSI controller when adding to a running VM.

Datastore becomes inactive in vCenter 6.0 !

$
0
0

Hi,

 

Just setting up the vCenter, As I am adding the different ESXi hosts in vCenter, the datastores of the host becomes inactive after some interval. I have to add the host/datastore again to make it active. What causes it goes into inactive state !!  Is there any permanent fix for this ?

 

I did checked the host by login through vsphere client and it is working fine.

 

Please advise !

 

Thanks,

apply tags in bulk

$
0
0

Hi all,

I am trying to apply tags in bulk.

I have a txt file with all my vm names and I want to apply the same tag to all of them. I tried a simple command like below (taking the text file out of the mix for now), and my powercli just sits blinking for days.

Can someone help me with the correct syntax to amek the below work and actually use a text file for input of vm names?

Get-VM –Name *jsmith* | New-TagAssignment –Tag “jsmith”

 

fyi using vcenter 6.5u latest

and powerclie 6.5r1

 

 

Thank you,

GB

Viewing all 24426 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>