Restoring configuration objects

Before you restore a configuration object, you must vary it off.

You can restore the following items:

  • All configuration objects
  • A group of configuration objects by generic name
  • Only specific types of configuration objects, such as line descriptions or connection lists.
  • System resource management information

If you run the restore configuration (RSTCFG) command against a printer device description and the output queue associated with that device description contains no spooled files, the system will re-create the output queue. Any changes made to the output queue before running the RSTCFG command will be lost.

Table 1. How configuration objects are restored
Possible method Restricted state?
RSTCFG command 1 No
Restore menu option 7 No
Restore menu option 21 Yes
Restore menu option 22 Yes
Restore menu option 23 Yes
1
You must have *ALLOBJ special authority to specify ALWOBJDIF(*ALL)
To restore all configuration objects, follow these steps:
  1. Create the independent auxiliary storage pool (ASP), if necessary. If the independent ASP is unavailable, you cannot restore configuration objects.
  2. Find the most recent media volume that has your configuration. It might be a SAVSYS volume or a SAVCFG volume. The name of the file on the volume is QFILEIOC.
  3. If you are using a SAVSYS media volume, type the following command:
    RSTCFG OBJ(*ALL) DEV(media-device-name)
           OBJTYPE(*ALL)
           ENDOPT(*LEAVE)
    If you are using a SAVCFG media volume, type the following command:
    RSTCFG OBJ(*ALL) DEV(media-device-name)
           OBJTYPE(*ALL)
           ENDOPT(*UNLOAD)

Restoring to a different system

You must specify ALWOBJDIF(*ALL) when you restore the configuration to a different system. (An option is available on the restore menu that indicates that you are restoring to a different system or different logical partitions. If you selected this option, the system automatically specifies ALWOBJDIF(*ALL) for you.)

The restoring of configuration objects to a different system whose configuration objects exist overlays the existing configuration. In some cases, the configuration description might not match the hardware on the system.

Do not restore system resource management objects to another system. This might cause problems that can be fixed only by a service representative. When you use the RSTCFG command to another system, specify SRM(*NONE).