When you deploy a new vCenter Server Appliance, you can configure the appliance by uploading a configuration .cfg file , instead of entering the settings manually in the vCenter Server Setup wizard.

Configuration File Format

Each line of the configuration file supplies the setting for the corresponding entry in the vCenter Center Setup wizard. The values shown here are variables that describe acceptable entries.

Note:

You must enter the header exactly as shown below: vCenter Server Preseed Config v1.0. Otherwise, the file will be rejected.

Passwords in the configuration file are not used. You must enter passwords manually when you complete the vCenter Setup wizard.

#vCenter Server Preseed Config v1.0

#Database options
VC_DB_TYPE=embedded or oracle
#Additional database options if VC_DB_TYPE=oracle
VC_DB_SERVER=vCenter Server database server IP address
VC_DB_SERVER_PORT=vCenter Server database server port number
VC_DB_INSTANCE=vCenter Server database server instance name
VC_DB_USER=vCenter Server database user name
VC_DB_PASSWORD=

#vCenter Single Sign-On options
SSO_TYPE=embedded or external
#Additional vCenter Single Sign-On options if SSO_TYPE=external
SSO_LS_LOCATION=vCenter Single Sign-On Lookup Service URL
SSO_LS_CERT_THUMBPRINT=vCenter Single Sign-On Lookup Service certificate thumbprint

SSO_REG_ADMIN_USERNAME=fully qualified name of a user with vCenter Single Sign-On administrative privileges
SSO_REG_ADMIN_PASSWORD=password for above user with vCenter Single Sign-On administrative privileges
SSO_VC_ADMIN_USERNAME=name of the default principal administrator for vCenter Server. If not qualified, it is
assumed to be an Operating System principal
SSO_VC_ADMIN_IS_GROUP=true or false. True if above default principal administrator for vCenter Server is a group.
#Additional vCenter Single Sign-On options if SSO_TYPE=embedded
SSO_ADMIN_PASS=password for the administrator@vsphere.local newly installed embedded vCenter Single Sign-On service
SSO_ADMIN_PASS2=set to the same string as SSO_ADMIN_PASS
SSO_CALLTYPE=set to "typed" for SSO_ADMIN_PASS to take effect.


#Microsoft Active Directory options
VC_AD_STATUS=0 to disable, 1 to enable
#Additional Microsoft Active Directory option if VC_AD_STATUS=1
VC_AD_DOMAIN=Active Directory fully qualified domain name

Example Configuration File

This example shows a configuration file for a vCenter Server Appliance that uses an external Oracle vCenter Server database and an external vCenter Single Sign-On instance.

#vCenter Server Preseed Config v1.0

#Database options
VC_DB_TYPE=oracle
VC_DB_SERVER=10.111.11.111
VC_DB_SERVER_PORT=1521
VC_DB_INSTANCE=orcl
VC_DB_USER=VCA-6
VC_DB_PASSWORD=

#vCenter Single Sign-On options
SSO_TYPE=external
SSO_LS_LOCATION=https://machinename.corp.com:7444/lookupservice/sdk
SSO_LS_CERT_THUMBPRINT=

#Microsoft Active Directory options
VC_AD_STATUS=0
VC_AD_DOMAIN=