Cisco Network Registrar Installation Guide, 7.0
Appendix A: Performing a Silent Installation
Downloads: This chapterpdf (PDF - 87.0KB) The complete bookPDF (PDF - 710.0KB) | Feedback

Performing a Silent Installation

Table Of Contents

Performing a Silent Installation


Performing a Silent Installation


This appendix describes how to perform a silent installation, upgrade, or uninstallation of the Network Registrar product. A silent installation or upgrade allows for unattended product installations based on the configuration values that are provided at the time that a silent installation response file was created.


Caution You must use a "clean install" mode silent-response file for fresh installations, and an "upgrade" mode silent-response file for product upgrades. The configuration values specified in the silent-response files are specific to a particular installation or upgrade environment, and cannot be mixed and matched. Unpredictable results occur if you attempt to use a silent-response file that does not exactly match the installation or upgrade system configuration.

Follow these procedures to generate a silent installation response file:


Step 1 For each silent installation or upgrade, use these commands to create a separate response file:

Windows:

setup.exe -r 

Complete the installation or upgrade steps as you normally would. This command installs or upgrades Network Registrar according to the parameters that you specified. It also generates the setup.iss response file based on these parameters. Look for this file in the Windows installation directory, such as C:\WINDOWS. Each time you use the command, the file is overwritten.

Cisco recommends that you rename or relocate this file before running the silent-process in Step 2. Rename the file to something distinguishable, such as local-nr-https-install, and relocate it to a temporary folder.

Solaris:

pkgask -d install-path -r response-file nwreg2 

Complete the installation or upgrade steps as you normally would. This action does not actually install or upgrade Network Registrar, but simply generates a response file by the specified name that includes the installation or upgrade parameters that you want to replicate for additional installations or upgrades. Cisco recommends that you name the file something distinguishable, such as local-nr-upgrade or regional-nr-https-install.

Linux:

Create a text response file with these variable declarations (modify the values to suit the desired configuration for your system):

BACKUPDIR=/opt/nwreg2.sav 
CCM_PORT=1234 
CNR_CCM_MODE=local | regional 
CNR_EXISTS=n 
DATADIR=/opt/nwreg2/local | regional/data 
INSTALL_DEBUG=n 
JAVADIR=/usr/java/jdk1.5.0_06 
JSSEDIR=n 
KEYSTORE_FILE=keystore 
KEYSTORE_PASSWORD=changeit 
LOGDIR=/opt/nwreg2/local | regional/logs 
PERFORM_BACKUP=n 
ROOTDIR=/opt/nwreg2/local | regional 
SKIP_VALIDATION=n 
START_SERVERS=y 
TEMPDIR=/opt/nwreg2/local | regional/temp 
USE_HTTP=y 
USE_HTTPS=n 
WEBUI_PORT=8080 | 8090 
WEBUI_SEC_PORT=8443 | 8444 

Step 2 Use these commands to invoke the silent installation or upgrade for each instance:

Windows:

setup.exe -s -f1path+response-file 

Note that the silent installation fails if you do not specify the -f1 argument with a fully qualified path to the response file, unless the response file is located in the i386 directory and setup.exe is run from that directory.

Solaris:

pkgadd -a pkgdir/nwreg2/install/cnradmin -d pkgdir -r response-file nwreg2 

Linux:

install_cnr -r response-file 

Step 3 If you want to uninstall the product, invoke the silent uninstallation:

Windows:

uninst.exe -y -f"install-dir\DeIsL1.isu" -c"install-dir\unregistrar.dll" 

Solaris:

pkgrm -a pkgdir/nwreg2/install/cnradmin -n nwreg2 

Linux (this command is noninteractive except during an error):

uninstall_cnr