How to backup the product

  • 7014043
  • 05-Nov-2013
  • 01-Apr-2015

Environment

NetIQ Security Solutions for iSeries 8.1

Situation

How to backup the product

Resolution

When the NetIQ Security Solutions for iSeries is installed, there are several Licensed Program Products (LPP's) that are installed.  Because of this, backing up the libraries themselves is not sufficient, and saving of the licensed programs is the prefered method.
 
Examples:
SAVLICPGM LICPGM(1PSA001) DEV(TAP01)
SAVLICPGM LICPGM(1PSC001) DEV(*SAVF) SAVF(SAVLIB/SAVFILE)
 
*Any subsystems, batch or scheduled jobs should be ended prior to the save.
*Make sure there are no locks prior to the save as well.
 
 
As an alternative where restricted state sabves may not be available, the following can be used:
 
A. On the SOURCE system:
------------------------
NOTE: It is preferred that you enter restricted state to be able to save all product objects.
1. If using RRM, use command PSMENU, select options 2, 3, 20, 5, and 8 to run the Exit Point Settings Report to document current exit point configuration.
2. End product subsystems:
    ENDSBS ZPSE *IMMED
    ENDSBS ZALOG *IMMED
    ENDSBS ZASBS *IMMED
    ENDSBS ZPSSMON *IMMED
    ENDSBS ZPSD *IMMED
    ENDSBS ZDDSBS *IMMED
    ENDSBS ZPSAMON *IMMED
3. Verify there are no locks on any of the product libraries:
    WRKOBJLCK PSAUDIT *LIB
    WRKOBJLCK PSCOMMON *LIB
    WRKOBJLCK PSDETECT *LIB
    WRKOBJLCK PSSECURE *LIB
    WRKOBJLCK PSINSTALL *LIB
4. Remove RRM exit program from all supported exit points. There are 2 quick ways to do this:
    a. Call RRM program to remove exit program:
     - ADDLIBLE PSCOMMON
     - CALL NW0502C
     - RMVLIBLE PSCOMMON
    b. Use the menu interface:
     - Use PSMENU, options 2, 3, and 8.
     - Select exit point DDMACC with option 4 (=Remove), press F13 (=Repeat), and press Enter.
5. Cycle the host servers and subsystem QSERVER using one of 2 methods below (please note that this will end active connections for mapped drives, ODBC, and other file transfer jobs):
    a. Run product command:
     - ADDLIBLE PSCOMMON
     - PSCYCLESVR SERVER(*FILE *DATABASE) ALWENDSBS(QSERVER)
     - RMVLIBLE PSCOMMON
    b. Use the menu interface:
     - Use PSMENU, select options 2, 3, 30, and 3.
     - For "Application server", specify *FILE and *DATABASE, press Enter.
     - For "Allow ending subsystems", specify QSERVER, press Enter.
6. Save licensed program products to media, replacing "device" with the name of your preferred media device:
    - Note: Your system may not have all the NetIQ licensed program products listed below.
    SAVLICPGM LICPGM(1PSI001) DEV(device)
    SAVLICPGM LICPGM(1PSC001) DEV(device)
    SAVLICPGM LICPGM(1PSA001) DEV(device)
    SAVLICPGM LICPGM(1PSS001) DEV(device)
    SAVLICPGM LICPGM(1PSD001) DEV(device)
    SAVLICPGM LICPGM(1PSP001) DEV(device)
    SAVLICPGM LICPGM(1PSV001) DEV(device)
7. If using RRM, re-install the RRM exit program on desired exit points. There are 2 quick ways to do this:
    a. Call program to install RRM exit program on ALL the supported exit points:
     - ADDLIBLE PSCOMMON
     - CALL NW0501C
     - RMVLIBLE PSCOMMON
    b. Use the menu interface:
     - Use PSMENU, options 2, 3, and 8.
     - Use option 1 (=Install Exit) to install RRM exit program on desired exit points. Refer to Exit Point Settings Report from step A1. Press Enter, then F3.
8. If system is not in restricted state, cycle the host servers and subsystem QSERVER using one of 2 methods below (please note that this will end active connections for mapped drives, ODBC, and other file transfer jobs):
    a. Run product command:
     - ADDLIBLE PSCOMMON
     - PSCYCLESVR SERVER(*FILE *DATABASE) ALWENDSBS(QSERVER)
     - RMVLIBLE PSCOMMON
 b. Use the menu interface:
     - Use PSMENU, select options 2, 3, 30, and 3.
     - For "Application server", specify *FILE and *DATABASE, press Enter.
     - For "Allow ending subsystems", specify QSERVER, press Enter.
9. If system is not in restricted state, start the necessary product subsystems.

B. On the TARGET system:
------------------------
NOTE: This process assumes the NetIQ product does not exist on this target system.
1. Restore licensed program products from media:
   - Note: The media might not have all the NetIQ licensed program products listed below.
    RSTLICPGM LICPGM(1PSI001) DEV(device)
    RSTLICPGM LICPGM(1PSC001) DEV(device)
    RSTLICPGM LICPGM(1PSA001) DEV(device)
    RSTLICPGM LICPGM(1PSS001) DEV(device)
    RSTLICPGM LICPGM(1PSD001) DEV(device)
    RSTLICPGM LICPGM(1PSP001) DEV(device)
    RSTLICPGM LICPGM(1PSV001) DEV(device) 
2. Apply product license keys. These can be obtained from your NetIQ account manager.
3. Prepare RRM for use:
    ADDLIBLE PSCOMMON
    CALL NW0099E
    CALL NW0089C
    RMVLIBLE PSCOMMON
4. If using RRM, install the RRM exit program on desired exit points. There are 2 quick ways to do this:
    a. Call program to install RRM exit program on ALL the supported exit points:
     - ADDLIBLE PSCOMMON
     - CALL NW0501C
     - RMVLIBLE PSCOMMON
    b. Use the menu interface:
     - Use PSMENU, options 2, 3, and 8.
     - Use option 1 (=Install Exit) to install RRM exit program on desired exit points. Refer to Exit Point Settings Report from step A1. Press Enter, then F3.
5. If product journals and receivers do not exist, create them using the following commands:
    CRTJRNRCV JRNRCV(PSCOMMON/PSJ0100001)
    CRTJRNRCV JRNRCV(PSCOMMON/PSJ0200001)
    CRTJRN JRN(PSCOMMON/PSJRN01) JRNRCV(PSCOMMON/PSJ0100001) MNGRCV(*SYSTEM)
    CRTJRN JRN(PSCOMMON/PSJRN02) JRNRCV(PSCOMMON/PSJ0200001) MNGRCV(*SYSTEM)
    CHGOBJOWN OBJ(PSCOMMON/PSJRN01) OBJTYPE(*JRN) NEWOWN(PSOBJOWN)
    CHGOBJOWN OBJ(PSCOMMON/PSJRN02) OBJTYPE(*JRN) NEWOWN(PSOBJOWN)
    CHGOBJOWN OBJ(PSCOMMON/PSJ0100001) OBJTYPE(*JRNRCV) NEWOWN(PSOBJOWN)
    CHGOBJOWN OBJ(PSCOMMON/PSJ0200001) OBJTYPE(*JRNRCV) NEWOWN(PSOBJOWN)
6. If system is not in restricted state, cycle the host servers and subsystem QSERVER using one of 2 methods below (please note that this will end active connections for mapped drives, ODBC, and other file transfer jobs):
    a. Run product command:
     - ADDLIBLE PSCOMMON
     - PSCYCLESVR SERVER(*FILE *DATABASE) ALWENDSBS(QSERVER)
     - RMVLIBLE PSCOMMON
 b. Use the menu interface:
     - Use PSMENU, select options 2, 3, 30, and 3.
     - For "Application server", specify *FILE and *DATABASE, press Enter.
     - For "Allow ending subsystems", specify QSERVER, press Enter.
7. If system is not in restricted state, start the necessary product subsystems.

 
 

Cause

Security Solutios for iSeries installs Licensed Program Products, which is more than just libraries.