Command Reference > infasetup Command Reference > DeleteDomain


Deletes domain metadata tables. Before you run this command, you must stop the Informatica services on the machine. To delete a domain on a Windows machine, you must also open the host port or disable the firewall.
If the command fails with a Java memory error, increase the system memory available for infasetup. To increase the system memory, set the -Xmx value in the INFA_JAVA_CMD_OPTS environment variable.
The DeleteDomain command uses the following syntax:

<<-DatabaseAddress|-da> database_hostname:database_port|

<-DatabaseConnectionString|-cs> database_connection_string>

[<-DatabaseUserName|-du> database_user_name]

[<-DatabasePassword|-dp> database_password]

<-DatabaseType|-dt> database_type ORACLE|DB2|MSSQLSERVER|SYBASE

[<-DatabaseServiceName|-ds> database_service_name]

[<-Tablespace|-ts> tablespace_name]

[<-SchemaName|-sc> schema_name (used for Microsoft SQL Server only)]

[<-DatabaseTlsEnabled|-dbtls> database_tls_enabled]

[<-DatabaseTruststorePassword|-dbtp> database_truststore_password]

[<-TrustedConnection|-tc> trusted_connection (used for Microsoft SQL Server only)]

[<-EncryptionKeyLocation|-kl> encryption_key_location]

[<-DatabaseTruststoreLocation|-dbtl> database_truststore_location]
The following table describes infasetup DeleteDomain options and arguments:
Required if you do not use -DatabaseConnectionString (-cs) option. Name and port number of the machine hosting the domain configuration database.
Required if you do not use -DatabaseAddress (-da) and -DatabaseServiceName (-ds) options. Connection string used to connect to the domain configuration database. Specify the database host, database port, and the database service name as part of the connection string. Enclose the connection string in quotes.
Required if you do not use -TrustedConnection (-tc) option. Account for the database containing the domain configuration information.
Domain configuration database password corresponding to the database user. If you omit this option, infasetup uses the password specified in the INFA_DEFAULT_DATABASE_PASSWORD environment variable. If no value is specified in the environment variable, you must enter a password using this option.
Required. Type of database that stores the domain configuration metadata. Database types include:
  • - db2
  • - oracle
  • - mssqlserver
  • - sybase
Required if you do not use -DatabaseConnectionString (-cs) option. The database service name. Required for Oracle, IBM DB2, and Microsoft SQL Server databases. Enter the SID for Oracle, the service name for IBM DB2, or the database name for Microsoft SQL Server.
Required for an IBM DB2 database. Name of the tablespace where the domain configuration database tables reside.
Optional. Name of the Microsoft SQL Server schema. Enter a schema name if you are not using the default schema.
Optional. Indicates whether the Informatica domain database is secure with TLS or SSL. Set this option to True for the secure database. Default is false. If you specify the ‑dbtls option without a value, the Informatica domain uses secure communication to the Informatica domain database.
Optional. Password for the database truststore file for the secure database.
Optional. Connect to the Microsoft SQL Server database through a trusted connection. Trusted authentication uses the Windows security credentials of the current user to connect to Microsoft SQL Server.
Directory that contains the current encryption key. The name of the encryption file is sitekey.
Informatica renames the current sitekey file to sitekey_old and generates an encryption key in a new file named sitekey in the same directory.
Path and file name of the truststore file for the secure domain repository database. Required if you configure a secure domain repository database for the domain.