Loading Posts...

How to find VCSA Metadata of the vCenter Server Appliance : What is my SSO domain ?

I thought it is great to write this article as this was quite useful tip for VMware admins to find out what are the default values of the vCenter server appliance such as SSO domain, DB user, DB DSN, domain DN and I wanted to know which account used to add the VCSA to my active directory domain while proceeding with the 6.5 upgrade. I had a question, What is my SSO domain ? and this is how I found the answer.

So, I used below steps to find these details in my VCSA and I think this might be helpful for all my VMware colleagues.

Another practical situation was, I built couple of test vCenters with 6.5 and used a custom vSphere SSO domain, I couldn’t touch my vCenters for weeks and I started my test again. Bad Situation !!!, I completely forgot my custom test domain and I didn’t take a note of that, what should I do with this at this point?

Use of “Install Defaults Directory”

In vCenter Server Appliance, it has a directory called “Install Defaults” and it contains lots of files with these details and we can easily read those files and find out the required information.

Open a SSH session and login as root. Yes, you need to have the root credentials anyway to check this. Then go to Shell prompt

change directory to /etc/vmware/install-defaults, list the contents of the directory by executing “ls” command you can see a similar output like this and use below commands

What is my SSO domain?

Read the content of the “vmdir.domain-name” to view the SSO domain using cat command and in the output you can see the SSO domain of your vCenter server

Which AD account used to connect to the Active Directory?

Read the content of the “ad.domain.username” file

Reading the content of these files provide more information about the vCenter appliance these are just few examples, these is just the output of reading the database related information

Here, I have created a short video to show “How to get the forgotten Single Sign-On domain from VCSA

I hope you enjoyed this post!

If you found this post as useful please rate the post and share it!

How to find VCSA Metadata of the vCenter Server Appliance : What is my SSO domain ?
Rate this post

Aruna Lakmal

Senior Virtualization Engineer at Pearson, Sri Lanka. Technology junky, enthusiast, a VMware vExpert and a blogger with more than 6 years of Experience in Information Technology more focusing on VMware Virtualization, Microsoft and Datacenter Technologies.

Get Updates Directly To Your Inbox!

   

Leave a Reply

Loading Posts...