B.2 Silently Installing the QDB

The procedure for silently installing the QDB differs from the procedure for silently installing other components. To silently install the QDB, you create an initialization file that records the variables to use during the installation, and then execute a command that reads the variables in the file to install the QDB.

You can silently install QDBs to remote SQL Servers. You do not have to run the installation on the SQL Server.

To silently install the QDB:

  1. On the computer where you saved the AppManager installation files, copy the qdbinstall.iss file from the Setup Files folder to the folder in which you will create the initialization file.

  2. In the folder where you copied qdbinstall.iss, create a response file named silent.ini with the appropriate parameters.

    The following table describes the parameters available for silently installing the QDB. When you add the parameters to the silent.ini file, follow the order in the table.

    Parameter

    Description and Values

    RP_UPGRADE

    If the QDB specified for the RP_NAME parameter already exists, whether to upgrade the existing QDB

    Specify FALSE if you do not want to upgrade the existing QDB.

    Specify TRUE if you want to upgrade the existing QDB.

    If you do not specify the RP_UPGRADE parameter and the QDB already exists, the QDB will not be upgraded.

    RP_CLEARTEXTPASSWORD

    Indicates the silent.ini file will submit passwords to the Windows Installer package in clear text format

    Specify 1 to use clear text format for passwords.

    This parameter is required for successful installation. If you do not include this parameter, the Windows Installer package will attempt to decrypt passwords and you will receive the following error message:

    Failed to decrypt the input data with FIPS compliant algorithms.

    RP_SQLSERVER

    Name of the SQL Server and, if applicable, instance that will host the QDB

    To specify a SQL Server instance, use the format Server_Name\instance.

    RP_NAME

    Name of the QDB

    RP_WINDOWSAUTH

    Whether to use the current Windows user account or a SQL Server user account to log in to the SQL Server to create the QDB

    Specify 1 to use the current Windows user account to log in to the SQL Server to create the QDB.

    Specify 0 to use a SQL Server user account to log in to the SQL Server to create the QDB. If you specify 0, specify values for the RP_SQLUSER and RP_SQLPWD parameters.

    For more information about the account, see Reviewing Required Accounts and Permissions.

    RP_SQLUSER

    User name for the SQL Server user account that will log in to the SQL Server to create the QDB

    RP_SQLPWD

    Password for the SQL Server user account that will log in to the SQL Server to create the QDB

    RP_DATAPATH

    Location of the data file associated with the QDB

    If you do not specify this parameter, the default value is the root folder for Microsoft SQL Server. For example, C:\Program Files\Microsoft SQL Server\MSSQL10\MSSQL\Data.

    Ensure the folder exists before you start the installation.

    RP_DATASIZE

    Initial size of the data file associated with the QDB

    The minimum required value is 100 MB. The default value is 2048 MB.

    If you do not specify this parameter, the default value is used.

    The autogrowth rate for the file is set to 256 MB. Allow at least enough free space to accommodate the autogrowth rate.

    RP_DATANAME

    Name of the data file associated with the QDB, without the file type extension. For example, QDBData.

    RP_LOGPATH

    Location of the log file associated with the QDB

    If you do not specify this parameter, the default value is the root folder for Microsoft SQL Server. For example, C:\Program Files\Microsoft SQL Server\MSSQL10\MSSQL\Data.

    Ensure the folder exists before you start the installation.

    RP_LOGSIZE

    Initial size of the log file associated with the QDB

    The minimum required value is 50 MB. The default value is 512 MB.

    If you do not specify this parameter, the default value is used.

    The autogrowth rate for the file is set to 256 MB. Allow at least enough free space to accommodate the autogrowth rate.

    RP_LOGNAME

    Name of the log file associated with the QDB, without the file type extension. For example, QDBLog.

    RP_WINREPOWNER

    Whether the account that will own the QDB will be a Windows user account or a SQL Server user account

    Specify 1 to use a Windows user account. If you specify 1, specify a value for the RP_OWNER parameter.

    Specify 0 to use a SQL Server user account. If you specify 0, specify values for the RP_OWNER and RP_OWNERPWD parameters.

    For more information about the account, see Reviewing Required Accounts and Permissions.

    RP_OWNER

    User name for the account that will own the QDB

    If the account is a Windows user account, specify the name in domain\User_Name format.

    RP_OWNERPWD

    If the QDB owner is a SQL Server user account, password for the account

    RP_ENC_CONFIG

    Whether to configure security options for Windows agents, UNIX agents, or both Windows and UNIX agents

    Specify 1 to configure security for Windows agents only.

    Specify 2 to configure security for UNIX agents only.

    Specify 3 to configure security for both Windows and UNIX agents.

    For more information about configuring security, see Understanding QDB Security Options.

    RP_ENC_LEVEL

    Security level for communications between management servers and agents

    Specify 1 if you do not want to secure communications between management servers and agents.

    Specify 2 to encrypt communications between management servers and agents.

    Specify 3 to encrypt and authenticate communications between management servers and agents.

    If you specify security level 2 or 3, specify a value for the RP_SSLWINUNIX_PWD_QDB parameter.

    For more information about the security levels, see Understanding QDB Security Options.

    RP_SSLWINUNIX_PWD_QDB

    If you specified 2 or 3 for the RP_ENC_LEVEL parameter, password for the encryption key stored in the repository

    RP_SSLWINUNIX_PWD_AGENT

    If you specified 2 or 3 for the RP_ENC_LEVEL parameter, password for the agent to access its portion of the repository encryption key

    RP_SSLWINUNIX_IMPORTKEY

    For the Windows agent, if you specified 2 or 3 for the RP_ENC_LEVEL parameter, whether to export the agent key information to a file

    For the UNIX agent, if you specified 3 for the RP_ENC_LEVEL parameter, whether to export the agent key information to a file

    Specify 1 if you do not want to export the agent key information to a file.

    Specify 0 to export the agent key information to a file.

    RP_SSLWINUNIX_KEYPATH

    If you specified 1 for the RP_SSLWINUNIX_IMPORTKEY parameter, location and file to which you want to export the agent key information

    The default path is C:\Program Files\NetIQ\AppManager \nqWindowsPublic0.key.

  3. Run the following command from the folder in which you saved the QDB setup program:

    "NetIQ AppManager Repository Installation.exe" /s 
    /f1"Full_Path_to_qdbinstall.iss_File" 
    -silentinstall="Full_Path_to_silent.ini_File"

    Ensure that you do not include a space between /f1 and "Full_Path_to_qdbinstall.iss_File". The installation will fail if you include a space.

For more information about installing the QDB, see Section 6.0, Installing a Management Site.