WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

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

How to quickly deploy new CoreOS Image w/VMware Tools on ESXi?

11.06.2014 by William Lam // 14 Comments

deploy-coreos-with-vmware-tools-on-esxi Thanks to a conversation I had this morning with a Twitter user @BOK, I learned that CoreOS has just recently published a new CoreOS Alpha Image (v490.0.0) that now includes the Open VMware Tools package. In addition, the new image also now uses the optimized VMXNET3 network adapter. From our chat, it looks like this update is not available in the insecure or VMware Fusion image and I can only guess that these images may eventually get deprecated or removed completely in favor for the newer VMware image which can both run on ESXi as well as hosted products like VMware Fusion/Workstation.

@BOK also shared with me a modified version of my script that I initially created to automate the deployment of CoreOS onto ESXi. The original workflow had to be slightly modified as the new image is only available as bz2 (bunzip2) and ESXi does not contain the bunzip2 utility. This means there are now two steps: first is to extract the VMDK and upload to ESXi datastore which is going to be done manually and you can run the script which will automatically convert the VMDK to the proper format and register the VM in ESXi.

I was thinking about how I could simplify this process, even though it is just a couple of extra commands, I always like to see how I can make something easier to consume and reducing the complexity if possible. I of course decided to create a new script called deploy_coreos_on_esxi2.sh which now runs outside of the ESXi Shell. The script requires a UNIX/Linux system that has the bunzip2 utility and will automatically download both the VMX and VMDK file, perform the extraction and then upload it to ESXi host using an HTTP API provided through the vSphere Datastore. Lastly, it auto-generates the configuration shell script that will run over SSH to the ESXi host (SSH is still required) which will perform the same set of operations as my previous script did.

Note: You will be prompted to enter the ESXi root password when it tries to run the script remotely on the ESXi Shell, there is a timeout for 120seconds in case you step away from the console.

Prior to running the script, you will need to edit the following 7 variables:

  • ESXi_HOST
  • ESXI_USERNAME
  • ESXI_PASSWORD
  • ESXI_DATASTORE
  • VM_NETWORK
  • VM_NAME

Here is a screenshot of running the script from my Mac OS X desktop:

install-core-os-with-vmware-tools-on-esxi-0
Once the CoreOS VM has fully booted, we can take a look at our vSphere Client and we should see that VMware Tools is in fact running and we can see the IP Address automatically being displayed in the UI:

install-core-os-with-vmware-tools-on-esxi-1
The really nice thing about having VMware Tools running in the CoreOS image, is that you can use VMware's Guest Operations API to be able to perform operations within the guest which are proxied through VMware Tools and can be quite handy, especially if networking is not available or you want to go through a single management interface such as using the vSphere API.

Categories // Automation, Docker, ESXi, vSphere Tags // container, coreos, Docker, ESXi, vSphere

  • « Previous Page
  • 1
  • …
  • 78
  • 79
  • 80
  • 81
  • 82
  • …
  • 109
  • 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

  • Automating the vSAN Data Migration Pre-check using vSAN API 06/04/2025
  • VCF 9.0 Hardware Considerations 05/30/2025
  • 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

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...