Enter your email address to follow this blog and receive notifications of new posts by email.

Run vCO Workflow, Disable validation checking


Issue:

2-12-2015 1-44-53 PM

Fix:

vCo-validation-checkbox

Advertisements

vRealize Automation (vRA) error when connecting vcsa 5.5 appliance – “Trying to access remote SSO on host and port 7444, but the returned host is and port 7444.”


vRealize Automation (vRA) error when connecting vcsa 5.5 appliance  – “Trying to access remote SSO on host and port 7444, but the returned host is and port 7444.”

Following Vmware KB explains, how to fix this issue if you are using Windows based vCenter server.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2096619

Here are steps to resolve this issue on vCSA 5.5 appliance:

SSH to vCSA appliances

Login using “root” account and password

Enter following command. Replace “<correct FQDN>” with your appliance FQDN.

echo <correct FQDN> > /etc/vmware-identity/hostname.txt

4-25-2015 11-09-35 PM

Then run “cat /etc/vmware-identity/hostname.txt” command to verify that value (fqdn or ip) your provided is updated in the hostname.txt file

Add an vCAC (vRealize) IaaS Host for Infrastructure Administration Workflows in vCAC App’s vCO


In this post, I am going to cover the steps to add an vCAC (now renamed to vRealize) IaaS Host for Infrastructure Administration Workflows in vCAC Appliance buit-in vCO.

1) Launch the vCO Client and login username “administrator@vsphere.local” and your “vcac_password” and go to “Run” or “Design” Mode. then Right Click on “Add the IaaS host of a vCAC host” and Select “Start Workflow”

0

2) In the “Start Workflow: Add the IaaS host of a vCAC host” window, Click on “Not set” and select your vCloud Automation Center host and click on “Select” and “Next” button.

1

3) All the * fields are mandatory, Enter Hostname of your vCAC IaaS server, without domain name. In the Host URL, type your vCAC IaaS server FQDN starting with https. (For e.g. https://yourIaasHost.fqdn). Don’t change value in “Connection Timeout” and “Operation Timeout” unless you have instruction from VMware Tech Support for any reason, then click “Next”.

2

4) Leave default “Shared Session in “Session Mode” option, in the “Authentication user name” type your vCAC Iaas admin credential with domain and click “Next”

3

5) Type your domain’s hostname only (For example “abc” without .local | .com | .net or whatever it is in your case)

then click submit to run the workflow.

4

6) If you have provided all the information properly, workflow should run OK. You will see it as Green, In case of failure it will be marked as Crossed Red. To troubleshooting, Click on Events tab in the right pane and review the details.

10-20-2014 11-50-19 PM

For more details:

Please review here and here (pg #12)

vCAC login failed with error code 3W9+UpQY


I encountered this error today in my home lab vCAC environment. After typing my login credential and clicking on the login button, immediately I got the error message “Login failed. Please contact your System Administrator and report error code 3W9+UpQY”.

vcac-error-1

I was little confused, what happened suddenly to my vCAC lab. To further troubleshoot this issue, I logged in vCAC console webpage and found most of the services are in “Failed” state.

vcac-error-2

In this my home lab vCAC environment, I am using vCenter SSO instead of vCAC Identity appliance, due to limited compute resources in my lab. After digging sometime, I realized that I have changed the vCenter SSO SSL Certificate and may be that’s reason something is broken. When I checked the SSO status in vCAC settings, it was “Connected” but I went ahead typed my SSO credentials and Click the “Save Settings” button.

vcac-sso-cred

I got the pop-up to Click OK to accept the SSL Cert. (in that pop-up I verified the hostname of my vcenter SSO server) The SSO configuration updated successfully and SSO Status was “Connected”.

vcac-sso-re-joined

After waiting for 5-10 minutes, checked the “Services” tab and all the services were “REGISTERED” successfully.

vcac-services-registeredAfter that I could login successfully in vCAC portal and tested the VM deployment from the Catalog.

vcac-login-ok

10-15-2014 8-33-06 PM

Automated “Dell Chassis Configuration” GUI script utility


chassis

Back in 2012 for my existing client, I wrote the Script UI using PowerShell, .Net System object, Primal Forms and Dell RACADM utility for Automated configuration of Dell Chassis.

This script configures the following steps in automated manner, and all the required information has been embedded in this script utility.

1) Configuring Chassis name and location Info

2) Configuring Date/Time,NTP server IP and enabling NTP

3) Enabling Flex Address

4) Enable Dynamic Power Supply Engagement

5) Configuring Network settings

6) Configuring IPv6 Lan Networking (Disabling all option of IPv6)

7) Creating CMC Admin accounts and configuring permissions

8) Configuring Active Directory settings

9) Configuring Active Directory groups and permissions

10) Configuring RACADM Idle timeout and SNMP string

11) Uploading EY Root SSL certificate

12) Configuring Traps Settings

Get all GPO in the AD forrest


Small PowerShell command-line to ollect all domain and GPOs names in the current AD Forrest.

# Requires RSAT installed and features enabled
Import-Module GroupPolicy
Import-Module ActiveDirectory

(get-ADForest).domains | foreach { get-GPO -all -Domain $_ | Select-Object @{n='Domain Name';e={$_.DomainName}},
 @{n='GPO Name';e={$_.DisplayName}} } | Out-File .\gpo-info.txt -Append -Force

How to start vCO Config service on vCAC 6.0 appliance


1) Login into vCAC appliance via Putty session

2) type “service vco-configurator start” and press enter.

vcac-app-vco-service

Windows OS versions


5.0.2195 Windows 2000
5.1.2600 Windows XP
or Windows XP 64-Bit Edition Version 2002 (Itanium)
5.2.3790 Windows Server 2003
or Windows XP x64 Edition (AMD64/EM64T)
or Windows XP 64-Bit Edition Version 2003 (Itanium)
6.0.6000 Windows Vista
6.0.6001 Windows Vista with Service Pack 1
or Windows Server 2008
6.1.7600 Windows 7
or Windows Server 2008 R2
6.1.7601 Windows 7 with Service Pack 1
or Windows Server 2008 R2 with Service Pack 1
6.2.9200 Windows 8
or Windows Server 2012
6.3.9200 Windows 8.1
or Windows Server 2012 R2

 

Passed VCP 5 (VCP5-DV)


I passed the VCP5 (VMware renamed it as “VCP5-DV”) exam on March 5, 2013. I completed the VMware authorized course of vSphere 5 Install, Configure and Manage last year from Caldwell Community College & Technical Institute (http://www.cccti.edu/vmware/), which is mandatory requirement for VCP certification. It was 5 weeks evening online course. Having a knowledge and real-time work experience on VMware, this inspired me to get the certification in the Virtualization field.

For study material, I used:

1)     vSphere 5.0 Student Manuals

2)     Mastering vSphere 5 book by Scott Lowe

3)     VMware vSphere: What’s New [V 5.1] (VMware eLearning)

It is one of my first VMware certifications, in the next few months I am thinking to do VMware Cloud certification following IaaS exam.

Command to shrink drive in Vmware Workstation 9


In the Vmware Workstation 9, VMware  has removed the GUI option to shrink drive but there is an alternative way, its command-line.

Go to “c:\program files\vmware\vmware tools” and then run the below mentioned command (change the drive letter as per your requirement)
vmwaretoolboxcmd.exe disk shrink c:\

See the example snapshot:

Image

Image