AIX: Install silently with the response file
After Installation Manager is installed, use it to record a response file based on the environment. Then, use the response file to install WebSphere Application Server and WebSphere Portal. If we do not have access to the Installation Manager, we can update a sample response file with the environment values.
Record a response file on the same operating system you plan for the installation. If we have multiple operating systems, record a response file for each operating system.
Locate the sample response file in...
setup_root/responsefiles
Update the file with the environment values. For a script to help update an existing response file, see Command-line interface to update Portal v8 response files.
The installation program verifies the operating system and its prerequisites, available disk space, and any required software prerequisites before installation. We cannot install two instances of the server at the same time, even if we are installing to different directories. Install each server completely before installing the next one.
Record a response file
- Start the recording:
cd InstallationManager_root/eclipse
./IBMIM -record /path/to/myresponse.xml -skipInstall /path/to/output
...where...
-record Record the actions and parameters into /path/to/myresponse.xml. The /path/to/output text is the directory where the response file is recorded. -skipInstall No actual installation is completed even though it leads to the final panel. /path/to/output Directory where the installation saves history and data
- To add the repositories where the installation media exists:
- Open the Installation Manager and go to...
File | Preferences | Repositories | Add Repositories
- Select Browse and go to...
/path/to/portal_eimage/Setup/repository.config
- Ensure that all required repositories are checked. Then, click Test Connections to ensure the Installation Manager can successfully access the directory where the service repositories are stored.
- Select Apply.
- Select OK.
- On the main Installation Manager panel, select Install.
- On Install Packages: Select packages to install, select the following packages, and then click Next:
- IBM WebSphere Application Server Network Deployment
- IBM WebSphere Portal Server
- IBM WebSphere SDK Java Technology Edition
If we have a WebSphere Portal Enable license, select both the IBM WebSphere Portal Server and IBM WebSphere Portal Enable packages.
- On Install Packages: Select the fixes to install, select any required fixes. Then, click Next.
- Accept the license agreement and then click Next.
- Enter the directory where to store shared resources and then click Next.
- Complete the following steps on the Install Packages: Installation Directory panel:
The installation directory specified must NOT contain any files or the following characters: ~ ! @ # $ % ^ & * ( ) _ + { } | < > ? ` = [ ] ; ' , . " and spaces.
- Select the WAS Package Group Name and then enter the installation directory path.
- Select the WebSphere Portal Package Group Name and then enter the installation directory path.
- Click Next.
- Select the translations to install and then click Next.
- On Install Packages: Select the features to install, expand the WebSphere portal packages to modify the features to install and then click Next.
Ensure that Portal Server Profile is selected to create a profile containing the Portal application server and the product binary files. Clear this option if we need a binary only installation for migration or our clustered environment.
As we select the items, read the Details section for information.
- On Profile configuration details, enter the user ID and password for the configuration wizard administrator. Then, click Next.
- If we selected the Portal Server Profile package, click Enter the Administrator user ID and password for the Portal Server. Then, select either the Standard or Advanced configuration mode and then enter the parameter details for the selected configuration mode.
Select Advanced to specify URI information specific to the company.
- Confirm the Summary information and then click Install.
- After the Installation Manager finishes creating the response file, click Finish and then close the Installation Manager to complete the response file recording.
- If we plan to install on a different computer, copy the response file to the response file directory on that computer.
Install silently with the response file
- If the repository URL requires authentication, use imutilsc to create a secure Storage File to store repository credentials.
cd installation_tools ./imutilsc saveCredential \ -url repository_URL \ -userName credential_userName -userPassword password \ -secureStorageFile storage_file \ [ -masterPasswordFile master_password_file ] [ -preferences com.ibm.cic.common.core.preferences.ssl.nonsecureMode=true|false ] [ -proxyHost proxy_host -proxyPort proxy_port [ -proxyUsername proxy_username -proxyUserPassword proxyuser_password ] [ -useSocks ] ] [ -verbose ]If we install on a different computer, copy the secure Storage File to that computer.
- Install WebSphere Portal and IBM WebSphere Application Server...
cd InstallationManager_root/eclipse/tools
./imcl -acceptLicense input /path/to/response.xml -log dirpath/logfilename
To use a secure Storage File to store credentials, add...
-secureStorageFile /path/to/secureStorageFile \ -masterPasswordFile /path/to/masterPasswordFile
What to do next
When we install WebSphere Application Server and WebSphere Portal together, we might find the following message in the SystemErr.log file:
APPSERVER_ROOT/properties/version/installed.xml (No such file or directory)
This message is part of the installation process and is not repeated after the installation is complete. Therefore, the message can be ignored.