Upgrading Editor Application
Do a silent upgrade of the Editor Application.
About this task
Procedure
- Extract the installation files:
- Log in to the server that will host the Editor Application with an administrative account.
- Extract native/DocsApp_2.0.0.zip to /opt/install/Docs/Docs.
- Update the cfg.properties file:
- Upgrade the first node. For a single server or the first
node in an HCL Docs cluster,
begin the following steps from the HCL Docs node itself,
not from the Deployment Manager node:
- Open a terminal window under the root account.
- Navigate to the directory: /opt/install/Docs/Docs/installer
- Run the following command:
./upgrade.sh -installRoot /opt/IBM/IBMDocs
- A license agreement is displayed. If you accept the agreement, press the "a" key and then press Enter.
- When prompted, enter your WebSphere® Application Server credentials. Suggested default values for your credentials are provided in the following table:
Table 2. WebSphere® Application Server credentials Field Value WAS Administrative Username wasadmin WAS Administrator password password - When prompted, enter your IBM® DB2® credentials. Suggested default
values are provided in the following table:
Table 3. IBM® DB2® credentials This table provides suggested default values for IBM® DB2® credentials. Field Value DB2® Instance Username docsuser DB2® Instance Password password - When the upgrade is finished, the command prompt is displayed. If an error occurred with the installation process, the configuration reverses. Correct the error and try again.
- Review the docs_upgrade.log for errors. If concord-config.json
is upgraded or some WebSphere® Application
Server settings are upgraded, the detailed upgrade information is
in concord_config_upgrade.log and was_config_upgrade.log.
The log files are in the /opt/IBM/IBMDocs/logs directory.
Note:
- You can set the following option for the upgrade scripts:
- -h: Displays help for the installation arguments.
- If you get an error message, such as The config file *** is out of date. The following options are missing: ***, see the cfg.properties.sample file that is in the same location as this script. To upgrade the config file, update /opt/IBM/IBMDocs/cfg.properties.
- You can set the following option for the upgrade scripts:
- Upgrade subsequent nodes. Perform these steps for the following
servers: IBMDocsCluster_Docs02
- For subsequent node installations, copy the cfg.properties from the primary node to the /opt/IBM/IBMDocs directory on each of the subsequent nodes and rename it cfg.node.properties. If a cfg.node.properties file already exists, rename it cfg.node.properties.bak before making the copy.
- Run the
upgrade_node.sh -installRoot /opt/IBM/IBMDocs
command from the installation directory. - Follow the prompts.