When you run the configure script in an unattended mode, you provide the setup information at the command line as options and arguments.

Table 1. Configuration Utility Options and Arguments
Option Argument Description
--help (-h) None Displays a summary of configuration options and arguments
--config-file (-c) Path to the global.properties file Information that you supply when you run the configuration utility is saved in this file. If you omit this option, the default location is /opt/vmware/vcloud-director/etc/global.properties.
--console-proxy-ip (-cons) IPv4 address, with optional port number The system uses this address for the vCloud Director console proxy service. For example, 10.17.118.159.
--console-proxy-port-https Integer in the range 0 - 65535 Port number to use for the vCloud Director console proxy service.
--database-ssl true or false If you are using a PostgreSQL database, you can configure the database to require a well-signed SSL connection from vCloud Director. Ignored if --database-type is not postgres.

If you want to configure the PostgreSQL database to use a self-signed or private certificate, see Perform Additional Configurations on the External PostgreSQL Database.

--database-host (-dbhost) IP address or fully qualified domain name of the vCloud Director database host See Preparing the vCloud Director Database.
--database-domain (-dbdomain) SQL Server database user domain Optional if --database-type is sqlserver.
--database-instance (-dbinstance) SQL Server database instance Used if --database-type is sqlserver.
--database-name (-dbname) The database service name See Preparing the vCloud Director Database.
--database-password (-dbpassword) Password for the database user. It can be null. See Preparing the vCloud Director Database.
--database-port (-dbport) Port number used by the database service on the database host See Preparing the vCloud Director Database.
--database-type (-dbtype) The database type. Can be:
  • postgres
  • sqlserver
See Preparing the vCloud Director Database.
--database-user (-dbuser) User name of the database user. See Preparing the vCloud Director Database.
--enable-ceip true or false

This product participates in VMware’s Customer Experience Improvement Program (“CEIP”). Details regarding the data collected through CEIP and the purposes for which it is used by VMware are set forth in the Trust & Assurance Center at http://www.vmware.com/trustvmware/ceip.html. You can use the cell management tool to join or leave VMware's CEIP for this product at any time. See the "Cell Management Tool Reference" in the vCloud Director Administrator's Guide.

--uuid (-g) None Generates a new unique identifier for the cell
--primary-ip (-ip) IPv4 address, with optional port number The system uses this address for the vCloud Director Web interface service. For example, 10.17.118.159.
--primary-port-http Integer in the range 0 to 65535 Port number to use for HTTP (insecure) connections to the vCloud Director Web interface service
--primary-port-https Integer in the range 0 - 65535 Port number to use for HTTPS (secure) connections to the vCloud Director Web interface service
--keystore (-k) Path to the Java keystore containing your SSL certificates and private keys Must be a full path name. For example, /opt/keystore/certificates.ks.
--syslog-host (-loghost) IP address or fully qualified domain name of the syslog server host Services in each vCloud Director cell log audit messages to the vCloud Director database, where they are preserved for 90 days. To preserve audit messages longer, you can configure vCloud Director services to send audit messages to the syslog utility in addition to the vCloud Director database.
--syslog-port (-logport) Integer in the range 0 - 65535 The port on which the syslog process monitors the specified server. Defaults to 514 if not specified.
--response-file (-r) Path to the response file Must be a full path name. Defaults to /opt/vmware/vcloud-director/etc/responses.properties if not specified. All the information that you supply when running configure is preserved in this file.
Important:

This file contains sensitive information that you must reuse when you add servers to a server group. Preserve the file in a secure location, and make it available only when needed.

--unattended-installation (-unattended) None Specifies unattended installation
--keystore-password (-w) SSL certificate keystore password SSL certificate keystore password.

Unattended Configuration with Two IP Addresses

The following example command runs an unattended configuration of a vCloud Director server with two different IP addresses for the HTTP service and console proxy service.
[root@cell1 /opt/vmware/vcloud-director/bin]# ./configure -ip 10.17.118.159 -cons 10.17.118.158 \
-dbtype sqlserver -dbhost 10.150.10.78 -dbname mssql-db -dbuser vcloud --enable-ceip true \
-dbpassword P@55word -k /opt/keystore/certificates.ks -w $3Cret -loghost 10.150.10.10 -unattended

Unattended Configuration with a Single IP Address

The following example command runs an unattended configuration of a vCloud Director server with a single IP address with two different ports for the HTTP service and console proxy service.
[root@cell1 /opt/vmware/vcloud-director/bin]# ./configure -ip 10.17.118.159 --primary-port-https 9000 -cons 10.17.118.159 \
--console-proxy-port-https 9010 -dbtype sqlserver -dbhost 10.150.10.78 -dbname mssql-db \
-dbuser vcloud -dbpassword P@55word -k /opt/keystore/certificates.ks -w $3Cret \
-loghost 10.150.10.10 --enable-ceip true -unattended