WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

Automate Deployment & Configuration of vRealize Operations Manager 6.0 Part 1

12.10.2014 by William Lam // 1 Comment

Yesterday was a huge day for VMware's Management BU which released several updates to their product offerings within their vRealize Suite 6.x including some new products like the new vRealize Code Stream mentioned during this years VMware Europe Conference. Prior to GA, I had already received several Automation questions regarding the upcoming vRealize Operations Manager 6.0 (vROps). Luckily, I had a couple of days to play around with the new release before it was made public and I must to say, I am quite impressed at how easy and intuitive it is to deploy and configure the new vRealize Operations Manager 6.0.

To make it even easier for customers to evaluate the new release, I wanted to take a look at how you can easily automate both the deployment and configuration of the new vRealize Operations Manager. I have broken the process down into three parts: deployment using ovftool which will include both a non-Windows as well as a Windows solutions for my PowerCLI buddies, initial configuration using the command-line via a shell script and finally the same identical initial configuration but using the new vRealize Operations Manager Cluster Mgmt API (also known as the CaSA API which stands for Cluster and Slice Administration).

As mentioned already, this first article will focus on deploying the new vRealize Operations Manager OVA using ovftool. Previously, the vCOps VA was deployed as a vApp that contained two Virtual Machines. The new architecture provides a more dynamic approach and a new capability has been brought into the application that allows you to easily scale out the various vROps "roles" such as the Admin, UI, Data, Data Collector and Replica. This greatly simplifies the initial deployment which is always a plus in my book!

Disclaimer: These scripts are provided for informational and educational purposes only. It should be thoroughly tested before attempting to use in a production environment.

I have created a simple shell script called: deployvROps.sh and there are several variables that need to be edited based on your environment including the path to the OVA. Please take a look at the script prior to executing.

To execute the script, you simply just run the following:

./deployvROps.sh

automate-deployment-and-configuration-vRealize-operations-manager-6.0-1
You will be prompted to confirm the configurations you have specified before the OVA is deployed. If everything was successfully deployed, you should see your new vROps VM power up. Next, open a browser to either the IP Address or hostname of your vROps VM and you should see the following landing page as shown in the screenshot below. At this point, you have completed the deployment of vROps 6.0. As for next steps, you can either manually proceed to configure your new vROps instance or stay tune for Part 2 where I will demonstrate how you can easily automate the initial vROps configurations.

automate-deployment-and-configuration-vRealize-operations-manager-6.0-2
Note: There is a hidden OVF property called guestinfo.cis.appliance.ssh.enabled that will allow SSH to be enabled upon deployment. To be able to configure this property, you must add an advanced ovftool option called --X:enableHiddenProperties which the shell script already takes care of. Unfortunately, for PowerCLI's Get-OvfConfiguration cmdlet, these custom options have not been implemented and hence you will not be able to turn on SSH when using the PowerCLI method. I have already filed an FR internally for this and hopefully see this in a future release of PowerCLI.

Here is a Windows solution to deploying the vRealize Operations Manager called Deployment.ps1 using PowerCLI's Get-OvfConfiguration cmdlet and I have contributed a new sample to Alan Renouf's PowerCLI Deployment Repository. Before running the Deployment.ps1 script, you will also need to edit the variables in the script to match your environment.

Here is a screenshot using the Deployment.ps1 script:

automate-deployment-and-configuration-vRealize-operations-manager-6.0-3
Now that you have your new vRealize Operations Manager deployed, you can manually go through the guided wizard for the initial configuration or stay tune for Part 2 where I will demonstrate you how you can easily automate the initial vROps configurations using the command-line.

Categories // Automation, OVFTool, vRealize Suite Tags // casa api, ova, ovftool, PowerCLI, vcops, vRealize Operations Manager, vROps

Handy VCSA (vCenter Server Appliance) Operational KB Resources

12.09.2014 by William Lam // 1 Comment

I am a huge fan of the VCSA (vCenter Server Appliance) for anyone that knows me. From time to time, I see interesting VMware KB articles that contain what I think are valuable tidbits of "Operational" information that could come handy in the future. I normally would bookmark these in my browser since you never know when you might need it. I figured for customers who are currently using the VCSA, having some of these operational tidbits would definitely be helpful, especially during troubleshooting or helping them build out a list of resources they could reference when they need to update, increase capacity or change the configurations for the VCSA. Instead of just keeping this list for myself, I thought I can share what I have for the latest VCSA 5.5.x as well comb through our VMware KB site looking for other handy operational KB's to include.

I have categorized the VCSA KB's into four categories that I felt made the most sense, I am sure you could break it down further but I thought this would make it easier to process. In addition, I have also included articles from virtuallyGhetto (subset from this page) that may also apply to these areas which I have listed at the very bottom in case you were interested in those as well. Hopefully this will be helpful for anyone managing VCSA(s) and if there are any that I have missed or you would like to see get added, feel free to leave a comment.

Deployment:
  • Minimum Requirements for the VMware vCenter Server 5.x Appliance (2005086)
  • Downloading and deploying the vCenter Server Appliance 5.x (2007619)
Configurations:
  • Updating VMware vCenter Server Appliance 5.x (2031331)
  • Increase the disk space in vCenter Server Appliance (2056764)
  • vCenter Server Appliance fails to reconfigure JVM settings when the memory size of the virtual machine on which it resides is modified (2066099)
  • Configuring Certificate Authority (CA) signed certificates for vCenter Server Appliance 5.5 (2057223)
  • Re-repointing and re-registering VMware vCenter Server Appliance 5.5 and components (2094888)
  • vSphere Flash Read Cache considerations for vCenter Server 5.5u2 (2072392)
  • Adding an Integrated Active Directory (IWA) Identity Source without the vSphere Web Client for vCenter Single Sign-On 5.5 (2063424)
  • Adding Default Identity Provider (2070433)
Logging & Troubleshooting:
  • Location of vCenter Server log files (1021804)
  • Location of vCenter Server Service log files (2056632)
  • Location of vSphere Profile-Driven Storage log files (2056646)
  • Location of vSphere ESXi Dump Collector log files (2003277)
  • Location of vCenter Inventory Service log files (2056632)
  • Location of vSphere Web Client service log files (2004090)
  • Location of vCenter Single Sign-On log files for vCenter Server 5.x (2033430)
  • Location of vCenter Server SMTP mail log files (2075375)
  • Enable debug logging for the vCenter Inventory Service (2021705)
  • Stopping, starting, or restarting vCenter Server Appliance services (2054085)
Backups & Recovery: 
  • Backing up and restoring the vCenter Server Appliance vPostgres Database (2034505)
  • Backing up and restoring the VMware vCenter Single Sign-On 5.5 configuration (2057353)
  • Backing up and restoring the vCenter Server Appliance Inventory Service Database (2062682)
  • Preserving the Storage Policies during a backup and restore of the vCenter Server Inventory Service Database (2072307)

virtuallyGhetto VCSA Operational Resources

Deployment:
  • Automating VCSA 5.5 Configurations including SSO Administrator password
  • How to finally inject OVF properties into VCSA when deploying directly onto ESXi?
  • Quick Tip – Automate the enabling of the Customer Experience Improvement Program (vTelemetry) in VCSA
  • How to automate NTP configurations on the VCSA using the CLI
  • Quick Tip – Minimum amount of memory to run the vCenter Server Appliance
  • Automating VCSA Network Configurations For Greenfield Deployments
Configurations:
  • Hybrid environment leveraging SSO Multi-Master Replication between vCenter Server for Windows & VCSA
  • Administrator password expiration in new VCSA 5.5
  • Automating SSL Self Signed Certificate Regeneration in VCSA 5.1 & 5.5 (vCenter Server Appliance)
  • Separating Out the vCenter SSO, vSphere Web Client and vCenter Server Services Using the VCSA
  • Changing VCSA Failed Login Attempt & Lock Out Period
  • Default Password for vCenter SSO Admin Account on VCSA
  • Automatically Join Multiple VCSA 5.1 using New vCenter SSO (Single Sign-On)
  • How to Register a vCenter Server 5.0 with Admin Tool on VCSA 5.1 Using SSH Port Forwarding
  • Automating Active Directory Identity Source & Default Domain in vSphere Web Client
  • Quick Tip – Automate JVM Heap configurations after increasing VCSA memory
  • How to change the default HTML5 VM console port in vSphere 5.5?
Logging & Troubleshooting:
  • Quick Tip – Start & Stop order for vCenter Server Services
  • Quick Tip – How to quickly find the release & build number on VCSA
  • How do I find my SSO Server 5.5 Site name?
  • Forwarding vCenter Server Logs to a Syslog Server
  • How To Add A Tag (Log prefix) To Syslog Entries
Backups & Recovery:
  • How to recover VCSA 5.5 from an expired administrator account?
Tips/Tricks:
  • How to Send vCenter Alarm Notification to Growl
  • Getting Rid of the Inventory Tree in the New vSphere Web Client
  • vCloud Director Simulator
  • How to bootstrap Horizon View 5.3.1 onto a VSAN Datastore using VCT

Categories // VCSA, vSphere Tags // inventory service, operational, sso, vcenter server appliance, VCSA, vcva

Quick Tip - Start & Stop order for vCenter Server Services

12.04.2014 by William Lam // 9 Comments

A couple weeks back I had worked on something that required me to shutdown all the vCenter Server Services on a VCSA (vCenter Server Appliance). There is no high level service that can be stopped which would properly shutdown all the different services in the appropriate order. Luckily, one can easily derive the start and stop order by just taking a look at the runlevel scripts (S* for start and K* for Kill scripts). I have extracted the order in which the vCenter Server Services must be stopped and started which is shown below:

Stop Order:

  1. vmcad
  2. vmdird
  3. vmkdcd
  4. vmware-inventoryservice
  5. vmware-logbrowser
  6. vmware-netdumper
  7. vmware-vpxd
  8. vsphere-client
  9. vmware-stsd
  10. vmware-sts-idmd

Start Order:

  1. vmcad
  2. vmdird
  3. vmkdcd
  4. vmware-netdumper
  5. vmware-sts-idmd
  6. vmware-stsd
  7. vmware-inventoryservice
  8. vmware-logbrowser
  9. vmware-vpxd
  10. vsphere-client

Note: Although I mention the VCSA, the ordering also applies to a vCenter Server for Windows which has the exact same services.

Here is a simple shell script snippet that can be used to stop all vCenter Server Services in the appropriate order:

VMWARE_SERVICE_STOP=(
vmcad
vmdird
vmkdcd
vmware-inventoryservice
vmware-logbrowser
vmware-netdumper
vmware-vpxd
vsphere-client
vmware-stsd
vmware-sts-idmd
)

for i in ${VMWARE_SERVICE_STOP[@]};
do
  /etc/init.d/$i stop
done

}

Here is a simple shell script snippet that can be used to start all vCenter Server Services in the appropriate order:

VMWARE_SERVICE_START=(
vmcad
vmdird
vmkdcd
vmware-netdumper
vmware-sts-idmd
vmware-stsd
vmware-inventoryservice
vmware-logbrowser
vmware-vpxd
vsphere-client
)

for i in ${VMWARE_SERVICE_START[@]};
do
  /etc/init.d/$i start
done

Categories // Automation, VCSA, vSphere Tags // vCenter Server, vcenter server appliance, VCSA, vcva

  • « Previous Page
  • 1
  • …
  • 379
  • 380
  • 381
  • 382
  • 383
  • …
  • 561
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VMware Flings is now available in Free Downloads of Broadcom Support Portal (BSP) 05/19/2025
  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025

 

Loading Comments...