Installing WebSphere Application Server Network Deployment using silent installation refers to using a file to supply installation options without user interaction. To configure the installation, change the options in the response file before you issue the installation command. Silent installation mode does not accept interactive installation options. To specify non-default options during a silent installation, you must use the response file. To install silently, you must accept the license agreement in the agreement option.
Install the product with an options response file after logging on as root on a platform such as AIX or Linux, or as a user that belongs to the administrator group on a Windows platform. Some steps of the installation procedure on a Windows platform require the user to belong to the administrator group and to have the advanced user rights Act as part of the operating system and Log on as a service.
You can also install a customized installation package
(CIP) with an options response file. A CIP is produced by the Installation
Factory.
The sample options response file is named responsefile.nd.txt. The file is in the WAS directory on the product disc or in the downloaded installation image.
The installation wizard can read an existing options response file and run silently without displaying the graphical user interface.
install -options "myresponsefile.txt" -silent
The sample options response file, responsefile.nd.txt, controls the first part of the installation and can also start the second part of the installation. To create a profile after installing the core product files, use the option in the responsefile.nd.txt file that identifies the response file for creating a profile. The profile response file lets you use the Profile Creation wizard silently.
The Installation wizard and the Profile Creation wizard record installation events in the following log files.
Log files for WebSphere Application Server Network Deployment: The following table shows the installation logs, content, and indicators of success and failure for WebSphere Application Server Network Deployment for Version 6.1:
See Troubleshooting installation for more information.
Use the following description of options as a worksheet to plan your values. Refer to the individual descriptions of directives in the following list to help plan your responses:
-W silentInstallLicenseAcceptance.value="false" # -W detectedexistingcopypanelInstallWizardBean.choice="addFeatures" Platform specific: -P wasProductBean.installLocation="/usr/IBM/WebSphere/AppServer" Platform specific: -P wasProductBean.installLocation="/opt/IBM/WebSphere/AppServer" Platform specific: -P wasProductBean.installLocation="C:\Program Files\IBM\WebSphere\AppServer" -P samplesProductFeatureBean.active="true" -P javadocsProductFeatureBean.active="true" -W ndsummarypanelInstallWizardBean.launchPCT="true" -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=""
Refer to the following list of values to plan your responses to the options in the file:
A customized installation package (CIP) can include one or more maintenance packages and customized profiles.
################################################################################ # # InstallShield Options File # # Wizard name: Install # Wizard source: setup.jar # # This file can be used to configure Install with the options specified below # when the wizard is run with the "-options" command line option. Read each # setting's documentation for information on how to change its value. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode # execution, use the following command line arguments when running the wizard: # # -options "D:\installImage\WAS\responsefile.nd.txt" -silent # ################################################################################ ################################################################################### # # License Acceptance # # Valid Options : true Accepts the license. Will install the product. # false Declines the license. Install will not occur. # # If no install occurs, this will be logged to a temporary log file in the user's temporary directory. # # By changing the silentInstallLicenseAcceptance.value in this response file to "true", you agree that you # have reviewed and agree to the terms of the IBM International Program License Agreement accompanying this # program, which is located at CD_ROOT\WAS\lafiles. If you do not agree to these terms, do not change # the value or otherwise download, install, copy, access, or use the program and promptly return the # program and proof of entitlement to the party from whom you acquired it to obtain a refund of the amount you paid. # # -W silentInstallLicenseAcceptance.value="false" ################################################################################ # # Install a new copy of IBM WebSphere Application Server product # # If you are installing a new of copy of the product, leave the following line uncommented. # Otherwise, comment the line. # # -W NDdetectedexistingcopypanelInstallWizardBean.choice="installNew" ################################################################################ # # Apply maintenance and add features # # If you are planning to apply maintenance, add features, or both on # top of an existing installation, uncomment the following line. # # -W NDdetectedexistingcopypanelInstallWizardBean.choice="addFeaturesAndFixes" # # Please make sure installLocation is set to your existing install location. # # # For additional features you wish to install, set the feature active # properties to true. # # NOTE: If the product edition of the custom installation package is # different from the existing installation package, then the features # will not be added. # # For example, you have installed core product feature, now you want to install # samples feature, the active properties should be: # # -P samplesProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="false" # ################################################################################ # # IBM WebSphere Application Server Network Deployment, V6.0 Install # Location # # The install location of the product. Specify a valid directory into which the # product should be installed. If the directory contains spaces, enclose it in # double-quotes as shown in the Windows example below. Note that spaces in the # install location is only supported on Windows operating systems. # # Below is the list of default install locations for each supported operating # system. By default, in this response file, the Windows install location is # used. If you want to use the default install location for another operating # system, uncomment the appropriate default install location entry (by removing '#') and # then comment out (by adding '#') the Windows operating system entry below. # # # AIX Default Install Location: # # -P wasProductBean.installLocation=/usr/IBM/WebSphere/AppServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wasProductBean.installLocation=/opt/IBM/WebSphere/AppServer # # # Windows Default Install Location: # -P wasProductBean.installLocation="C:\Program Files\IBM\WebSphere\AppServer" ################################################################################ # # Warning: the custom install package may update your existing profiles. # # This custom install package may update the runtime environment profiles # in your runtime environment. Tt is strongly recommended that you backup # all profiles before you continue. If you uninstall this maintenance package # at a later time, these profile updates will not be uninstalled because # additional custom modifications may have subsequently been made. # # For more information on profile management, see the wasprofile command # documentation in the Information Center. # # The default value is "true", it will block the install unless you change # the active property to "false". # # If you have already backed up your profiles or you wish to ingore the warnings, # you can change it to "false". # # For example: # # -W profileUpdateWarningPanelWizardBean.active="false" # -W profileUpdateWarningPanelWizardBean.active="true" ################################################################################ # # "Core Product Files" feature # # This feature is required by Application Server and will be installed by default. # Selection is not required. # ################################################################################ # # "Application Server samples" feature # # The selection state of the "Application Server samples" feature. Legal values # are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Application Server samples" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Javadocs" feature # # The selection state of the "Javadocs" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Javadocs" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Application Server Profile Creation Tool (PCT) # # To launch the Profile Creation Tool SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, change the value to "". # # Please Note: This will launch the latest PCT. If the Custom Install Package # contains profile customizations, this will launch the PCT installed in # <WAS_HOME>/cip/<uid>/ProfileCreator. Otherwise, it will launch the GM version # PCT which can be found at <WAS_HOME>/bin/ProfileCreator. # -W ndsummarypanelInstallWizardBean.launchPCT="true" ################################################################################ # If you choose to run Profile Creation Tool silently at the end of the # installation, you must # 1. get a copy of the PCT response file of Profile creator (from CD) and put to a temp dir # such as: /tmp/WAS/responsefile.pct.NDdmgrProfile.txt For DMGR profile creation # /tmp/WAS/responsefile.pct.NDmanagedProfile.txt For Manage profile creation # /tmp/WAS/responsefile.pct.NDstandAloneProfile.txt For Stand alone profile creation # 2. modify the response file by filling in the required options/values. # Note: If the values are not completed properly, the configuration may be unsuccessful. # 3. specify below the absolute path to your modified response file. # # For example, -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation="/tmp/WAS/responsefile.pct.NDdmgrProfile.txt" -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=""
################################################################################ # # InstallShield Options File # # Wizard name: Install # Wizard source: setup.jar # # This file can be used to configure Install with the options specified below # when the wizard is run with the "-options" command line option. Read each # setting's documentation for information on how to change its value. # # A common use of an options file is to run the wizard in silent mode. This lets # the options file author specify wizard settings without having to run the # wizard in graphical or console mode. To use this options file for silent mode # execution, use the following command line arguments when running the wizard: # # -options "D:\installImage\WAS\responsefile.nd.txt" -silent # ################################################################################ ################################################################################### # # License Acceptance # # Valid Options : true Accepts the license. Will install the product. # false Declines the license. Install will not occur. # # If no install occurs, this will be logged to a temporary log file in the user's # temporary directory. # # By changing the silentInstallLicenseAcceptance.value in this response file to "true", # you agree that you # have reviewed and agree to the terms of the IBM International Program License Agreement # accompanying this # program, which is located at CD_ROOT\WAS\lafiles. If you do not agree to these terms, # do not change # the value or otherwise download, install, copy, access, or use the program and promptly # return the # program and proof of entitlement to the party from whom you acquired it to obtain a # refund of the amount you paid. # # -W silentInstallLicenseAcceptance.value="false" ################################################################################ # # Incremental Install # # If you are installing additional features on top of an existing installation, # (e.g. incremental install), uncomment the following line. This will notify # the installer that you are doing an incremental install. # # -W NDdetectedexistingcopypanelInstallWizardBean.choice="addFeatures" # # Please make sure installLocation is set to your existing install location. # # For already installed features, you need to set the feature active property # to false. For new features you want to install, you need to set the active # properties to true. # # For example, you have installed core product feature, now you want to install # samples feature, the active properties should be: # # -P samplesProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="false" ################################################################################ # # IBM WebSphere Application Server Network Deployment, V6.0 Install # Location # # The install location of the product. Specify a valid directory into which the # product should be installed. If the directory contains spaces, enclose it in # double-quotes as shown in the Windows example below. Note that spaces in the # install location is only supported on Windows operating systems. # # Below is the list of default install locations for each supported operating # system. By default, in this response file, the Windows install location is # used. If you want to use the default install location for another operating # system, uncomment the appropriate default install location entry (by removing '#') and # then comment out (by adding '#') the Windows operating system entry below. # # # AIX Default Install Location: # # -P wasProductBean.installLocation=/usr/IBM/WebSphere/AppServer # # # HP-UX, Solaris or Linux Default Install Location: # # -P wasProductBean.installLocation=/opt/IBM/WebSphere/AppServer # # # Windows Default Install Location: # -P wasProductBean.installLocation="C:\Program Files\IBM\WebSphere\AppServer" ################################################################################ # # "Core Product Files" feature # # This feature is required by Application Server and will be installed by default. # Selection is not required. # ################################################################################ # # "Application Server samples" feature # # The selection state of the "Application Server samples" feature. Legal values # are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Application Server samples" for installation, use # # -P samplesProductFeatureBean.active="true" # -P samplesProductFeatureBean.active="true" ################################################################################ # # "Javadocs" feature # # The selection state of the "Javadocs" feature. Legal values are: # # true - Indicates that the feature is selected for installation # false - Indicates that the feature is not selected for installation # # For example, to select "Javadocs" for installation, use # # -P javadocsProductFeatureBean.active="true" # -P javadocsProductFeatureBean.active="true" ################################################################################ # # WebSphere Application Server Profile Creation Tool # # To launch the Profile Creation Tool SILENTLY at the end # of the installation, please change the value to "true". # Otherwise, change the value to "". # -W ndsummarypanelInstallWizardBean.launchPCT="true" ################################################################################ # If you choose to run Profile Creation Tool silently at the end of the # installation, you must # 1. get a copy of the PCT response file of Profile creator (from CD) and put to a temp dir # such as: /tmp/WAS/responsefile.pct.NDdmgrProfile.txt For DMGR profile creation # /tmp/WAS/responsefile.pct.NDmanagedProfile.txt For Manage profile creation # /tmp/WAS/responsefile.pct.NDstandAloneProfile.txt For Stand alone profile creation # 2. modify the response file by filling in the required options/values. # Note: If the values are not completed properly, the configuration may be unsuccessful. # 3. specify below the absolute path to your modified response file. # # For example, -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation= # "/tmp/WAS/responsefile.pct.NDdmgrProfile.txt" -W pctresponsefilelocationqueryactionInstallWizardBean.fileLocation=""