The system upgrade involves the following steps:
Before you upgrade your system, you must make sure it is in a quiescent state. This means that all in-progress events are completed and all in-doubt transactions are resolved before backing up the environment and performing the upgrade procedure.
The following steps describe how to put the system in a quiescent state:
See the System Administration Guide for more information about how to stop a running system gracefully.
Backing up the system allows you to recover any files that might be overwritten inadvertently during the installation of the new version. Before performing the upgrade procedure, back up both static data and dynamic data (changeable data that you back up on a regular basis, regardless of upgrades). For examples of static and dynamic data, see Table 2..
To back up the system, do the following:
repos_copy -sQWBIDFT -oRepositoryExpress.txt -uadmin -pnull
/QIBM/UserData/WBIServer43/servername/mqseries/crossworlds_mq.tst
Table 2 summarizes how to back up the different components.
Table 2. Backup methods for data
Type of data | Backup method | |
---|---|---|
Static data | ||
| Repository | Use the repos_copy utility to save some or all of the customized system components. For more information, see the description of how to back up components in the System Administration Guide. |
| Custom map Java class files (.class) | To include these files in your system backup, make sure the following directory is in your system backup: ProductDir\DLMs |
| Custom connectors | Include the following directory in your system backup: ProductDir\connectors\connector_name, where connector_name is the name of the custom connector. |
| Customized startup scripts | If you have customized any startup scripts, make sure that they are included in your system backup. |
| ICS Express configuration file (InterchangeSystem.cfg) | Include in your system backup the ICS Express configuration file that resides in the /QIBM/UserData/WBIServer43/servername directory, where servername is the ICS name. QWBIDFT is the default on OS/400. |
Dynamic data | ||
| Cross-reference, failed events, and relationship tables | Use the database backup utility for the database. For more information, see the description of how to back up system components in the System Administration Guide. |
| Connector event archive tables | Use the database backup utility for the database that contains these tables. |
| Log files | Include the following directory in your system backup:/QIBM/UserData/WBIServer43/servername/DLMs, where servername is the ICS name. QWBIDFT is the default on OS/400. |
After backups are complete, you can shut down the system as follows:
Alternatively, issue a /QIBM/ProdData/WBIServer43/bin/stop_server_gracefully.sh serverName command from a QSH shell or through CL. Note that serverName matches the name of the WBI instance. This shell script can be used by CL to gracefully end the WBI server in preparation for shutdown.
The queueName is serverName.QUEUE.MANAGER where serverName is the Interchange Server Express instance name. The default server is named QWBIDFT and therefore, the queueName is QWBIDFT.QUEUE.MANAGER. Note that the serverName is provided entirely in uppercase in the queueName along with the rest of the name. This is mandatory.
For more information on system shutdown, see the System Administration Guide.