Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 179681 articles
Browse latest View live

vRO7.0-HA cluster setup


Licensing a vCenter 6 instance via PowerCLI 6

$
0
0

1. How do I add a label or name to a license after or while adding license key?

2. why does this line throw error: $LicenseAssignmentManager.UpdateAssignedLicense($itmVCenter.InstanceUuid,$strLicenseKey,$strClusterName)

 

 

Exception calling "UpdateAssignedLicense" with "3" argument(s): "A specified parameter was not correct: licenseKey"

At E:\UpdateAnswers.ps1:xxx char:4

+    $LicenseAssignmentManager.UpdateAssignedLicense($itmVCenter.InstanceUuid,$str ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : VimException

 

Full code snip:

 

   $itmVCenter = Connect-VIServer $strVCenter

   $itmLicenseManager = get-view ($itmVCenter.ExtensionData.content.LicenseManager)

   $itmLicenseManager.AddLicense($strLicenseKey,$Null)

   $itmLicenseAssignmentManager = get-view ($itmLicenseManager.licenseAssignmentManager)

   $itmLicenseAssignmentManager.UpdateAssignedLicense($itmVCenter.InstanceUuid,$strLicenseKey,$strClusterName)

Unable to start VM using the Workstation in Windows 10

$
0
0

Hello  happy people,

 

I have installed Windows 10 the other day and installed the VMware Workstation Player downloaded from: https://my.vmware.com/en/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0

But I cannot open/start my virtual machines, that use to work just fine on Windows 8.1 that I use before. I have this message in the log file (attached):

 

2016-02-01T10:59:01.078+01:00| vthread-4| I120: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183)

2016-02-01T10:59:01.078+01:00| vthread-4| I120: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Workstation): Cannot create a file when that file already exists (183)

 

I also try to install VMware Workstation 11 but without any success, I got the same message in the log file.


Can somebody please help me out here?

ERROR: New-Snapshot (Operation is not valid due to the current state of the object)

$
0
0

Hello guys!

 

I've been googlin around a bit, but cannot find a solution to my problem. Hopefully one of you skilled people can point me in the right direction:)

 

I've created a powerCLI script to take a snapshot of our most important servers before we do our weekly maintenance. The idea to run the script as a regular powershell script and then have it

  1. Add powercli snapins and connect to virtualcenter servers
  2. query the VC servers for VMs in a perticular folder
  3. Run a foreach loop on these servers to create a snapshot with name $snapshotname

 

Currently i'm just running it on a test folder that I created in vSphere that contains 3 test VMs:

  • Testmagne1 - Working normally
  • Testmagne2 - I've renamed the folder for this VM in the datastore in order to generate an error.
  • testmagne3 - Working normally

 

Since the servers (not the test servers, but the proper ones) are the most important servers in our environment I want to be able to catch exceptions and errors when i run this script. I do this with the Try - Catch - Finally functions.

 

The weird thing is this:

The output from Powershell/PowerCLI is different from the output in VirtualCenter(!)

 

In virtualcenter the output is as follows

  • Testmagne1 - Snapshot is created successfully - As expected
  • Testmagne2 - Snapshot creation fails as it cannot find the .vmx files - As expected
  • Testmagne3 - Snapshot is created successfully - As expected

 

However, the output from powercli is slightly different:

  • Testmagne1 - Snapshot is created successfully - As expected
  • Testmagne2 - Snapshot creating fails as it cannot find the .vmx files - As expected
  • Testmagne3 - Snapshot fails with the error message: Operation is not valid due to the current state of the object - Huh?


Apparently once the first error is generated all succeeding VMs get the error "Operation is not valid due to the current state of the object"


I've been pulling my hair out trying to figure this problem out, but I am not getting anywhere


Here's some additional information:

 

1. The Script (short version of it. It generates the same error):

 

--------------- START SCRIPT-----------------

$ErrorActionPreference = "Stop"

Add-PSSnapin VMware.VimAutomation.Vds, VMware.VimAutomation.Core | Out-Null

Connect-VIServer VIRTUALCENTER1, VIRTUALCENTER2 | Out-Null  # Sensored the VirtualCenter names

 

 

$servers = Get-VM -location "testfolder"

$snapshotname = "Testsnapshot"

$verifycreatesnapshot = Read-Host "You are about to create snapshots for $servers. Do you want to continue? y/n"

 

 

    if ($verifycreatesnapshot -eq "y"){

        Write-Host "Creating snapshots..."

       

        ForEach ($i in $servers) {

            Write-Host "Creating snapshot for $i"        

            Try {New-Snapshot -VM $i -Name $snapshotname | Out-Null}

            Catch{$_.exception | select * ; Write-Host "Failed to create snapshot for $i";} 

        }

        Write-Host "Command finished"

    }

    else{Write-Host "Operation cancelled by user"}

Read-Host "End of script. Press ENTER to close"

------------------ END SCRIPT -------------------

 

2. The error messages from PowerCli:

 

Error for Testmagne 2 (as expected):

 

File                    : [DATASTORE114] testmagne2/testmagne2.vmx

DynamicType             :

DynamicPropertyInternal :

FaultCause              :

FaultMessage            :

ErrorId                 : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_O

                          perationFailed

ErrorCategory           : NotSpecified

TargetObject            :

RecommendedAction       :

SessionId               :

ConnectionId            : /VIServer=SENSORED:443/

Severity                : Error

Message                 : 31/10/2013 10:52:16    New-Snapshot        The operat

                          ion for the entity "testmagne2" failed with the follo

                          wing message: "File [DATASTORE114] testmagne2/testmagn

                          e2.vmx was not found"

Data                    : {ParameterValues}

InnerException          : VMware.Vim.VimException: The operation for the entity

                           "testmagne2" failed with the following message: "Fil

                          e [DATASTORE114] testmagne2/testmagne2.vmx was not fou

                          nd"

TargetSite              :

StackTrace              :

HelpLink                :

Source                  :

 

Failed to create snapshot for testmagne2

 

 

Error for testmagne3:

 

Creating snapshot for testmagne3

ErrorId           : Core_BaseCmdlet_UnknownError

ErrorCategory     : NotSpecified

TargetObject      :

RecommendedAction : Error occured while executing cmdlet: New-Snapshot. Check i

                    nner exception for more details.

SessionId         :

ConnectionId      :

Severity          : Error

Message           : 31/10/2013 10:52:17    New-Snapshot        Operation is not

                     valid due to the current state of the object.

Data              : {ParameterValues}

InnerException    : System.InvalidOperationException: Operation is not valid du

                    e to the current state of the object.

                       at VMware.VimAutomation.ViCore.Impl.V1.Task.ViCoreTaskCo

                    reServiceProviderImpl.BeginTaskCompletionPoll(List`1 taskLi

                    st)

                       at VMware.VimAutomation.Sdk.Impl.V1.Task.CoreTaskService

                    Impl.WaitForTask(IEnumerable`1 taskList, ProgressCallback p

                    rogressCallback)

                       at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.BaseCmdl

                    et.EndProcessingErrorHandled()

                       at VMware.VimAutomation.ViCore.Util10Ps.BaseCmdlet.BaseC

                    mdlet.EndProcessingErrorHandled()

TargetSite        : Void ThrowTerminatingError(System.Management.Automation.Err

                    orRecord)

StackTrace        :    at System.Management.Automation.MshCommandRuntime.ThrowT

                    erminatingError(ErrorRecord errorRecord)

HelpLink          :

Source            : System.Management.Automation

 

 

Failed to create snapshot for testmagne3

 

3. PowerCLI version

 

PowerCLI Version

----------------

   VMware vSphere PowerCLI 5.5 Release 1 build 1295336

---------------

Snapin Versions

---------------

   VMWare AutoDeploy PowerCLI Component 5.5 build 1262826

   VMWare ImageBuilder PowerCLI Component 5.5 build 1262826

   VMware License PowerCLI Component 5.5 build 1265954

   VMware VDS PowerCLI Component 5.5 build 1295334

   VMware vSphere PowerCLI Component 5.5 build 1295334


4. VirtualCenter version

VMware vCenter Server Version 5.0.0 Build 913577

vSphere Client Version 5.0.0 Build 913577

Hosts: VMware ESXi 5.0.0 Build 914586

 

 

If you need any additional information, just let me know

 

Any help is greatly appreciated

 

Thanks!

 

- Pagne



Token expiration date

$
0
0

Hi Guys,

I'm having an issue getting VMWARE Replication working between two sites.  No matter what I do, I keep getting "Token expiration date" ...

 

I see there are 2 other similar posts on the community but no actual resolution except that an update is coming in Q2 2016.  Does anyone have an idea on how to get this working?  Here's my situation:

 

  • I just finished creating 2 new vCenter appliances and both use the same NTP servers.
  • All my ESXi hosts use the same NTP servers.
  • I installed a fresh vSphere Replication appliance on both ends and tried to add a target site from one side to another.
  • Error:  Token expiration date: Fri Jan 15 04:19:04 UTC 2016 is in the past.

 

I have a case opened with VMWARE but they haven't gotten back to me in 7 days.  I haven't been getting quick support from them in the last few calls I've placed so hopefully I can get something on here.  Case #: 6853965701.

 

Thanks a bunch guys.

How to Update VMware View Client 5.2 to VMware-Horizon-View-Client-x86_64-3.5.2-3150477

$
0
0

Hi Guys,

 

Please help me out  for migrate VMware View Client 5.2 to VMware-Horizon-View-Client-x86_64-3.5.2-3150477 with .bat file in silent mode ( no restart, uninstall old version)

Regards

Mohammed

best practice to cover SRM

$
0
0

Hello all,

 

Our Vcenter Version 5.5 -two sites

ESXI version 5.5 - two sites

Licenses Site recovery manager enterprises - two sites (50 VM's)

 

 

Our Network L2 stretched vlan between two sites .

 

 

Can any one please suggest

 

what is the best practice to cover SRM between two sites ?

 

 

thanks ..

Brows

Site Recovery Manager 6 - Implementation Questions

$
0
0

Hello everyone,

 

I'm a little new to SRM and had a few questions that I wasn't able to find.  Hopefully you can help (thanks in advance)!

 

1. Is there a recommended install path for vCenter (Embedded, External or External PSC) when deploying SRM 6?

 

2. If I go with the External PSC option, how do I install the second site?  I've been trying to find articles and docs but no luck.

 

Thanks again for all the help!

 

Regards,

 

HB


Unable to clear out all unmapped VMs

$
0
0

We have always relied on the unmapped vms view to tell us when we have VMs that are not mapped by a rule. Since 3.4 we can't get all the VMs to map to a rule.   There are VMs that no matter what we do we can not get them to map, even with a VCenter, datacenter or VM DNS Name rule.   How do I get help or support on this? 

Horizon 6.2, vCenter 6.0 UP1 and external platform services controller

$
0
0

Hi Guys,

 

This might be the wrong forrum but anyway.

Today we have a completely seperate horizon and server vCenter setup.

 

I'm in the procress of upgrading to horizon 6.2.1 including the vsphere/esxi. That be to 6.0 from 5.5.

I've updated the horizon to 6.2.1 and now in the process of upgrading to vSphere 6.0

I notice that they introduced the Platform Service Controller.

Would it be possibly/make sence to have only one external Platform Service Controller serving a vCenter for server virtualization and a vCenter for horizon?

 

/Daniel

vSphere 6 FT Performance Issues

$
0
0

Dear All,

 

I got VMware vSphere 6 clean environment (with latest updates) on top of IBM x3550 M5 servers.

I'm working with 10Gbps Ethernet NICs for VMKerne port group with FT Logging services on, and when I'm enabling FT on single Windows Server 2012 R2 VM with one vCPU (not even 4 vCPUs), the performance are sluggish. For example, PING latency is high (just like in this thread - https://communities.vmware.com/thread/515877) and also, when I'm trying to copy files such as 100MB is taking too long or doing other stuff such as opening Notepad.exe.

I'm working on top of VMFS datastore, and the VM working with Thick lazy disks.

 

When of course, I'm disable the FT everything running properly.

 

Any ideas? Suggestions?

 

Please assist.

Thanks,

Netanel.

Video errors in Workstation 11

$
0
0

I'm running Win7 X64 inside Workstation Pro 11 (v11.1.3 build-3206955) on a Win10 Enterprise system.  In the last two weeks, I have had an odd video problem that forces me to restart (often ungracefully).  I will be typing along doing nothing weird, and suddenly, the text won't appear any longer.  The cursor still moves, but no text is visible.  I can move the mouse cursor around, but as soon as I click on any menu or window, there are refresh issues.  Some elements come to the front, some do not.  Some elements become black.  No menu is ever visible, but they are working.  I can use either the mouse or the keyboard to make commands in menus or windows, but I cannot see what I am selecting.  The screen may as well be blank even though it is showing some pieces of what was the screen.  For example, thus far, the clock has always been visible, but it does not update.

 

It looks like a video problem, but AFAIK, I have the latest VMWare tools (v9.9.4, Build-3193940) installed.  There are zero entries in the system logs related to anything at the time of the failure. My other VMs continue to run as if nothing happened. 

 

How can I fix or even troubleshoot what is going on? 

 

Thanks.

AppVols upgrade to 2.10 "NTLM Authentication failed for: Domain\user. Virtualization is disabled"

$
0
0

Hi,

 

Last night we upgraded from 2.9 to 2.10, tested and tested as much as we could and were happy so went live. This morning users (and myself!) are reporting that upon login you receive the error and no stacks get attached. Logging out and back in again occasionally fixes the issue but at the moment it is not consistent at all. Very close to rolling back but I'd rather go forwards!

 

Error:

App Volumes Message

Error from Manager <dns name> (error code 401):

NTLM Authentication failed for: <Domain\user>

Virtualization is disabled

 

Horizon View 6.2.

5 domain controllers on Server 2012 R2

ESXi 6

 

Any ideas?

SSL-Updater tool Vmware 5.5 error

$
0
0

Hi,

 

Im getting an error when using the ssl-updater.bat (for 5.5) trying to update the SSO certificate.  I have created a V3 root cert using OpenSSL (after finding out V1 certs are not supported) and signed each of the CSR's that I generated using the tool, with the rootCa.workgroup cert.  I've created the pem chain for the SSO certificate and have attempted to replace, but the import fails with (in the cmd window)'The Service is not installed on that machine' and gives the output in the log below.   The certificate is valid in my MMC and the root is in the Trusted root store.

 

Any ideas? Stumped at step one of the plan......

Thanks

Nick

 

2015-07-21T16:57:32.278+0100 [execution] INFO  TOOL START

2015-07-21T16:57:33.001+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Loading private key file C:\certs\requests\vCenterSSO-VirtualCenter\rui.key

2015-07-21T16:57:33.106+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Loading certificate chain file C:\certs\requests\vCenterSSO-VirtualCenter\rui.pem

2015-07-21T16:57:33.175+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Loaded X.509 certificate for Subject: CN=VirtualCenter.WORKGROUP, OU=vCenterSSO-VirtualCenter, O=QuickFixPC Limited, L=Southampton, ST=Hampshire, C=GB

2015-07-21T16:57:33.178+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Loaded X.509 certificate for Subject: CN=RootCA.WORKGROUP, OU=vCenterRoot, O=QuickFixPC Limited, L=Southampton, ST=Hampshire, C=GB

2015-07-21T16:57:33.179+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Successfully loaded 2 certificate(s) from the chain file.

2015-07-21T16:57:33.277+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  The effective SSL certificate chain is:

2015-07-21T16:57:33.281+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO     [0] CN=VirtualCenter.WORKGROUP, OU=vCenterSSO-VirtualCenter, O=QuickFixPC Limited, L=Southampton, ST=Hampshire, C=GB

2015-07-21T16:57:33.281+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO     [1] CN=RootCA.WORKGROUP, OU=vCenterRoot, O=QuickFixPC Limited, L=Southampton, ST=Hampshire, C=GB

2015-07-21T16:57:33.288+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Checking certificates validity period.

2015-07-21T16:57:33.308+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Checking leaf certificate's suitability for the current machine.

2015-07-21T16:57:33.324+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] DEBUG Machine's FQHN: VirtualCenter.WORKGROUP

2015-07-21T16:57:33.328+0100 [c.v.s.c.c.i.DNSResolver] DEBUG DNS validation: resolving DNS for VirtualCenter.WORKGROUP (A/CNAME)

2015-07-21T16:57:33.394+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] DEBUG Machine has a resolvable hostname: VirtualCenter.WORKGROUP

2015-07-21T16:57:33.416+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] DEBUG Checking if leaf certificate is suitable for candidate address VirtualCenter.WORKGROUP.

2015-07-21T16:57:33.422+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] DEBUG Leaf certificate is suitable for VirtualCenter.WORKGROUP

2015-07-21T16:57:33.423+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] INFO  Checking the certificates key lengths.

2015-07-21T16:57:33.432+0100 [c.v.s.c.c.i.ServerSslConfigFactoryImpl] DEBUG Checking certificates signature algortihm types.

2015-07-21T16:57:33.462+0100 [execution] INFO  BEGIN UPDATE

2015-07-21T16:57:33.540+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Beginning certificate replacement procedure for Single Sign-On.

2015-07-21T16:57:33.541+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Checking if vCenter Single Sign-On service is running.

2015-07-21T16:57:33.700+0100 [c.v.s.c.c.i.RollbackSupportImpl] INFO  The existing configuration will be backed up to C:\certs\backup\sso-ssl-updater.backup

2015-07-21T16:57:33.742+0100 [c.v.s.c.c.i.RollbackSupportImpl] INFO  The backup directory `sso-ssl-updater.backup' did already exist and was moved to `sso-ssl-updater.backup.4'

2015-07-21T16:57:33.744+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Checking the password of administrator user Administrator.

2015-07-21T16:57:33.744+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Checking if vCenter Single Sign-On service is running.

2015-07-21T16:57:33.747+0100 [c.v.s.c.c.i.ServerToolsImpl] INFO  Creating remote Lookup Service tools with host 127.0.0.1 and port 7080

2015-07-21T16:57:33.758+0100 [c.v.s.c.c.i.ServerToolsImpl] DEBUG Trying to connect to Lookup Service at http://127.0.0.1:7080/lookupservice/sdk

2015-07-21T16:57:34.112+0100 [c.v.v.i.i.LookupServiceAccess] DEBUG Creating VMODL client for LookupService

2015-07-21T16:57:34.778+0100 [c.v.v.i.i.AdminServiceAccess] DEBUG Creating client for SSO Admin on address: http://127.0.0.1:7080/sso-adminserver/sdk/vsphere.local

2015-07-21T16:57:35.584+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:57:35.584+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  Possible remote API mismatch detected. Operation will continue, but errors are likely.

2015-07-21T16:57:35.584+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:57:35.846+0100 [c.v.v.s.c.SecurityTokenServiceConfig$ConnectionConfig] WARN  This configuration will establish untrusted connection with the STS server.It is acceptable for developing purposes only!

2015-07-21T16:57:38.783+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:57:38.783+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  Possible remote API mismatch detected. Operation will continue, but errors are likely.

2015-07-21T16:57:38.783+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:57:38.798+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Checking if vCenter Single Sign-On service is running.

2015-07-21T16:57:38.800+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  The vCenter Single Sign-On service is currently running but it must be stopped in order to perform a portion of the SSL certificate update operation.

2015-07-21T16:57:38.800+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Stopping the vCenter Single Sign-On service.

2015-07-21T16:57:38.804+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Waiting for service VMwareSTS to stop, 15 seconds.

2015-07-21T16:57:41.811+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Service did stop successfully.

2015-07-21T16:57:41.811+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Updating service container configuration

2015-07-21T16:57:41.811+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Updating STS Files

2015-07-21T16:57:41.811+0100 [c.v.s.c.c.i.RollbackSupportImpl] DEBUG Backing up (move) file C:\ProgramData\VMware\cis\runtime\VMwareSTS\conf\ssoserver.crt to C:\certs\backup\sso-ssl-updater.backup

2015-07-21T16:57:41.811+0100 [c.v.s.c.c.i.RollbackSupportImpl] DEBUG Backing up (move) file C:\ProgramData\VMware\cis\runtime\VMwareSTS\conf\ssoserver.p12 to C:\certs\backup\sso-ssl-updater.backup

2015-07-21T16:57:41.811+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Writing the sso SSL certificate in C:\ProgramData\VMware\cis\runtime\VMwareSTS\conf\ssoserver.crt

2015-07-21T16:57:41.811+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Writing the sso SSL certificate and private key in C:\ProgramData\VMware\cis\runtime\VMwareSTS\conf\ssoserver.p12

2015-07-21T16:57:41.905+0100 [c.v.s.c.ConfigureWindowsSslCommand] TRACE In updateLsIfCan

2015-07-21T16:57:41.905+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Checking if vCenter Single Sign-On service is running.

2015-07-21T16:57:41.905+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  The vCenter Single Sign-On service is not currently running but it must be started in order to perform a portion of the SSL certificate update operation.

2015-07-21T16:57:41.905+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Starting the vCenter Single Sign-On service.

2015-07-21T16:57:41.920+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Waiting for service VMwareSTS to start, 15 seconds.

2015-07-21T16:57:44.952+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Service did start successfully.

2015-07-21T16:57:44.952+0100 [c.v.s.c.c.i.ServerToolsImpl] INFO  Creating remote Lookup Service tools with host 127.0.0.1 and port 7080

2015-07-21T16:57:44.952+0100 [c.v.s.c.c.i.ServerToolsImpl] DEBUG Trying to connect to Lookup Service at http://127.0.0.1:7080/lookupservice/sdk

2015-07-21T16:57:44.952+0100 [c.v.v.i.i.LookupServiceAccess] DEBUG Creating VMODL client for LookupService

2015-07-21T16:58:26.683+0100 [c.v.v.i.i.AdminServiceAccess] DEBUG Creating client for SSO Admin on address: http://127.0.0.1:7080/sso-adminserver/sdk/vsphere.local

2015-07-21T16:58:27.359+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:58:27.360+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  Possible remote API mismatch detected. Operation will continue, but errors are likely.

2015-07-21T16:58:27.360+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:58:27.616+0100 [c.v.v.s.c.SecurityTokenServiceConfig$ConnectionConfig] WARN  This configuration will establish untrusted connection with the STS server.It is acceptable for developing purposes only!

2015-07-21T16:58:30.549+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:58:30.549+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  Possible remote API mismatch detected. Operation will continue, but errors are likely.

2015-07-21T16:58:30.549+0100 [c.v.v.s.a.c.v.i.AbstractClient] WARN  ******* WARNING ****** WARNING ****** WARNING *******

2015-07-21T16:58:30.550+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Updating the SSO endpoints in the Lookup Service.

2015-07-21T16:58:30.565+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  This is Single Sign-On single-node install. All Single Sign-On endpoints are served from this node.

2015-07-21T16:58:31.155+0100 [c.v.s.c.c.i.LookupServiceToolsRemoteImpl] DEBUG Updating the Lookup Service record for the Security Token Service

2015-07-21T16:58:31.958+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Checking if vCenter Single Sign-On service is running.

2015-07-21T16:58:31.969+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  The vCenter Single Sign-On service is currently running but it must be stopped in order to undo a portion of the SSL certificate update operation.

2015-07-21T16:58:31.969+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Stopping the vCenter Single Sign-On service.

2015-07-21T16:58:32.026+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Waiting for service VMwareSTS to stop, 15 seconds.

2015-07-21T16:58:35.041+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Service did stop successfully.

2015-07-21T16:58:35.041+0100 [c.v.s.c.c.i.RollbackSupportImpl] DEBUG File C:\ProgramData\VMware\cis\runtime\VMwareSTS\conf\ssoserver.crt successfully restored from sso-ssl-updater.backup\ssoserver.crt

2015-07-21T16:58:35.041+0100 [c.v.s.c.c.i.RollbackSupportImpl] DEBUG File C:\ProgramData\VMware\cis\runtime\VMwareSTS\conf\ssoserver.p12 successfully restored from sso-ssl-updater.backup\ssoserver.p12

2015-07-21T16:58:35.041+0100 [c.v.s.c.ConfigureWindowsSslCommand] ERROR An error ocurred during the certificate replacement procedure:null

2015-07-21T16:58:35.041+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG

com.vmware.vim.binding.vmodl.fault.SecurityError: null

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_76]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_76]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_76]

at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_76]

at java.lang.Class.newInstance(Unknown Source) ~[na:1.7.0_76]

at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171) ~[vlsi-core.jar:na]

at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26) ~[vlsi-core.jar:na]

at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33) ~[vlsi-core.jar:na]

at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135) ~[vlsi-core.jar:na]

at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98) ~[vlsi-core.jar:na]

at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84) ~[vlsi-core.jar:na]

at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:245) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:533) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:514) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:302) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:272) ~[vlsi-client.jar:na]

at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169) ~[vlsi-client.jar:na]

at com.sun.proxy.$Proxy32.updateService(Unknown Source) ~[na:na]

at com.vmware.sso.cfg.components.impl.LookupServiceToolsRemoteImpl.updateService(LookupServiceToolsRemoteImpl.java:242) ~[sso-updater.jar:na]

at com.vmware.sso.cfg.components.impl.LookupServiceToolsRemoteImpl.rollbackSsoRecords(LookupServiceToolsRemoteImpl.java:119) ~[sso-updater.jar:na]

at com.vmware.sso.cfg.ConfigureWindowsSslCommand.undoLsChanges(ConfigureWindowsSslCommand.java:340) ~[sso-updater.jar:na]

at com.vmware.sso.cfg.ConfigureWindowsSslCommand.updateLsIfCan(ConfigureWindowsSslCommand.java:186) ~[sso-updater.jar:na]

at com.vmware.sso.cfg.ConfigureWindowsSslCommand.updateSsoIfCan(ConfigureWindowsSslCommand.java:171) ~[sso-updater.jar:na]

at com.vmware.sso.cfg.ConfigureWindowsSslCommand.execute(ConfigureWindowsSslCommand.java:128) ~[sso-updater.jar:na]

at com.vmware.sso.cfg.ConfigureWindowsSslCommand$execute.call(Unknown Source) [sso-updater.jar:na]

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) [groovy-all-1.8.8.jar:1.8.8]

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-1.8.8.jar:1.8.8]

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) [groovy-all-1.8.8.jar:1.8.8]

at com.vmware.sso.cfg.SsoUpdaterMain.main(SsoUpdaterMain.groovy:67) [sso-updater.jar:na]

2015-07-21T16:58:35.041+0100 [c.v.s.c.ConfigureWindowsSslCommand] DEBUG Checking if vCenter Single Sign-On service is running.

2015-07-21T16:58:35.041+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  The vCenter Single Sign-On service is not currently running but it was in the beginning. Starting it.

2015-07-21T16:58:35.056+0100 [c.v.s.c.ConfigureWindowsSslCommand] INFO  Starting the vCenter Single Sign-On service.

2015-07-21T16:58:35.181+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Waiting for service VMwareSTS to start, 15 seconds.

2015-07-21T16:58:38.212+0100 [c.v.s.c.c.i.ServiceControlImpl] INFO  Service did start successfully.

2015-07-21T16:58:38.212+0100 [execution] INFO  TOOL END with status code = 2

How to send a new output of the script to a new file?

$
0
0

Hi guys,

 

Im the powercli world and i need some help.

I create an script for collect the active alarm on vcenter, the script work fine .

Now i need to send the result to a txt, i use :

 

$date = get-date -uFormat "%d%m%y"

 

$alarms | out-file C:\PS-Scripts\ReporteAlarmasvcenterXX-$date.txt

 

 

So, the script then the outputo to the txt file but when i execute again the script the output is send it to the same file,

How can a send the output to a new file?  :-.( .,

I found that with the command get-date -format D i get the the date in the name of the file but when a tried .-format G "date + hour" i receive an error from the scrit , that the path is not found.

I need to change the path?

 

Thanks

 

Carlos


Failed to import "Windows XP Mode".

$
0
0

0down vote  favorite  

 

Im having trouble when importing Windows XP Mode.

 

When I click "Import Windows XP Mode VM" then click Import, it says "Failed to import Windows XP Mode" with no following explanation.

 

My Windows XP Mode has been installed correctly and I've also tried to reinstall the vmware-player but nothing changes.

 

Im running on 64 bit Win7 Ultimate

vCenter Server Appliance 5.5 can't add SSO Identity Source

$
0
0

I'm trying to add an "Active Directory as an LDAP server" Identity Source on our 5.5 vcsa and keep receiving the following message even though there's no Identity Source listed in Administration->Single Sign-On->Configuration->Identity Sources

 

"Type or value exists"

 

2016-02-02 13:50:15,284 WARN   [LdapErrorChecker] Error received by LDAP client: com.vmware.identity.interop.ldap.LinuxLdapClientLibrar

y, error code: 20

2016-02-02 13:50:15,284 ERROR  [IdentityManager] Failed to add identity provider for tenant [vsphere.local]

2016-02-02 13:50:15,284 ERROR  [ServerUtils] Exception 'com.vmware.identity.interop.ldap.AttributeOrValueExistsLdapException: Type or v

alue exists

LDAP error [code: 20]'

com.vmware.identity.interop.ldap.AttributeOrValueExistsLdapException: Type or value exists

LDAP error [code: 20]

        at com.vmware.identity.interop.ldap.LdapErrorChecker$20.RaiseLdapError(LdapErrorChecker.java:298)

 

Testing the LDAP settings are successful and I'm using the same procedure that worked for adding SSO to another vcsa.

 

Is there a CLI way to check/remove SSO Identity Sources that don't show on the Web GUI?

Automate multiple vMotion tasks

$
0
0

Hello Members,

 

I have a migration task which include lot of VMs moving to a new hardware. So to reduce downtime, we created a new cluster, shared vDS under same vCenter, and now will perform vmotion (sometimes without shared storage) to new clusters/hosts. It all comes down to below three steps, definitely recurring tasks and i am not sure if powercli is the answer or look out for tool or something.

 

1. Change host (with shared storage) for multiple VMs, preferably from a list/excel.

2. Change port-group for all above VMs.

3. vMotion (without shared storage) to another cluster and host.

 

If possible, i want to combine above three steps. There is a limitation on number of vMotions without shared storage per host (i.e. 2), so have to consider that as well.

 

looking forward for your suggestions and let me know for more details.

 

Thanks

PowerCLi

$
0
0

Guys,

 

Any help would be appreciated....

 

I have a SATA Controller and I am trying to add HD's via powercli, keep asking for SCSI controller type. The option I see for -controller is not "SATA Controller" .

 

Regards

 

Paul

[Old version 6.0.5]Uses old version due to 32-Bit windows as host; Install doesn't work

$
0
0

Hello,

I wanted to create a vm using DOS. Since it is allready a little bit tricky to get files for setting it up I wanted to use FreeDOS instead. The iso-file for cd burning is on my harddisk and I creasted a new vm with 512 MB disk space and 64 MB RAM. As the machine starts it finds the c-disk but can't check for size so the only opportunity to do is to run xfdisk before the setup starts. Since this program relies on the real hardware it doesn't work correctly and setup stops. Aftrerwards the system is useless due to the not-installed os and the not-functioning installation process.

 

I also found a MS-DOS 7.1 cd image file and tried this. But the setup wants to create a ram disk which is not working so setup stops with error.

 

Do anyone see any possibility or a file in internet to installDOS (MS or anything else) into a vm.

 

System: AMD-based motherboard with 3 GB RAM and nvidia gt610 graphics. Disks: all three systems (IDE, S-ATA and SCSI) mixed. One dvd-rom and one burner.

Windows 7 SP1 Pro 32-Bit. VMWare Player 6.0.5.

 

greetings

 

Manni2

Viewing all 179681 articles
Browse latest View live


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