Upgrading OS/400 or i5/OS to a Different Version, Without Changing Hardware)
(Bsafe/Enterprise Security v.5.5.2 or later)
Document updated 27 July 2008
These instructions apply when you are upgrading the operating system on your existing computer. If you are moving the product to a different computer please refer to Moving Bsafe from one iSeries to Another.htm. If you are upgrading the operating system on your existing computer but you are using a version of Bsafe/Enterprise Security prior to v.5.5.2, see OS400 upgrades before 5.5.2
Before Commencing with the Operating System Upgrade
1. Sign on to the iSeries with user BSAFE.
2. When the Bsafe/Enterprise Security main menu is displayed, select the System menu, then select the Complete Deactivation (Uninstall Bsafe) option and press Enter or double click with the mouse on this menu option. See below.

3. When the deactivation has completed, press F3 in order to exit from the Bsafe/Enterprise Security menu. You can now continue with the operating system upgrade.
4. If you do not perform a system IPL at this stage you must restart the QSERVER and/or QUSRWRK sub-systems as follows:
Use the following commands for versions of OS/400 before V5R2.
ENDSBS SBS(QSERVER) OPTION(*IMMED)
STRSBS SBSD(QSERVER)
STRHOSTSVR SERVER(*DATABASE *FILE)
STRTCPSVR SERVER(*NETSVR) (if required)
For OS/400 version V5R2 and higher, use the following commands:
ENDSBS SBS(QSERVER) OPTION(*IMMED)
STRSBS SBSD(QSERVER)
ENDSBS SBS(QUSRWRK) OPTION(*IMMED)
STRSBS SBSD(QUSRWRK)
STRHOSTSVR SERVER(*DATABASE *FILE)
STRTCPSVR SERVER(*NETSVR) (if required)
After you have Completed the Operating System Upgrade
EDTLIBL
If there is not enough room in the library list for another 3 libraries, either remove existing libraries from the list as necessary or sign on with a different user who has QSECOFR authority and more space in the library list. Continue by entering the following command on the iSeries command line:
CALL PGM(RMTOBJ/SATKNAC)

Activation for all other applications should be done, one by one, after installation has completed. This is explained in detail in Implementation found in the user guide and in the technical support section on the website. Activation of the File Server application necessitates restarting the QSERVER and QUSRWRK subsystems, explained fully in Implementation. Press Enter to continue.

There is no need to make any changes to the screen. Press F3 to exit and continue with the re-install.

SETASPGRP ASPGRP(*NONE)
STRTCPSVR SERVER(*HTTP) HTTPSVR(BSFAPCH)
(Apache HTTP server for OS/400 V5R3 or higher)
STRTCPSVR SERVER(*HTTP) HTTPSVR(BSAFEINST)
(Original HTTP server for OS/400 V5R2 or lower)
Use the following commands for versions of OS/400 before V5R2.
ENDSBS SBS(QSERVER) OPTION(*IMMED)
STRSBS SBSD(QSERVER)
STRHOSTSVR SERVER(*DATABASE *FILE)
STRTCPSVR SERVER(*NETSVR) (if required)
For OS/400 version V5R2 and higher, use the following commands:
ENDSBS SBS(QSERVER) OPTION(*IMMED)
STRSBS SBSD(QSERVER)
ENDSBS SBS(QUSRWRK) OPTION(*IMMED)
STRSBS SBSD(QUSRWRK)
STRHOSTSVR SERVER(*DATABASE *FILE)
STRTCPSVR SERVER(*NETSVR) (if required)
* * * Bsafe/Enterprise Security should now be operating fully * * *