IBM Support

PWRDWNEXIT

General Page

PWRDWNEXIT Exit Program

This program is designed more for PowerHA environments using geographic mirroring.

It is used to gracefully shut down geographic mirroring on the primary node prior to a PWRDWNSYS, to prevent against unwanted failover.

Note:  The SETFACT command can be used to set the NOD parameter to *OFF, which effectively prevents the failover action as well, without the need for the program here.

The program will attempt to shut down the environment on the primary node (the node owning the production copy of the IASP) by doing the following prior to PWRDWNSYS:

  • Vary off the IASP (effectively varying off both copies, and keeping them in sync)
  • End the Device CRG (to prevent the ability to failover)
  • End clustering on the local (primary) node

To register the exit program:

ADDEXITPGM EXITPNT(QIBM_WC_PWRDWNSYS) FORMAT(PWRD0100) PGMNBR(1) PGM(library/PWRDWNEXIT) TEXT(‘PWRDWNSYS Exit Pgm to End GeoMirror Gracefully’) CRTEXITPNT(*YES)

The VRYOFFPRE and VRYOFFPOST exit programs can also be implemented to ensure IASP-dependent processes are ended prior to the vary-off of the IASP and to end specific processes post-vary-off, respectively.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Document Information

Modified date:
07 January 2020

UID

ibm11169392