To support a switchable data group in a remote journaling environment, you need to have four journal definitions configured: two for the RJ link used for normal production-to-backup operations, and two for the RJ link used for replication in the opposite direction.
In this example, a switchable data group named PAYABLES is created between systems CHICAGO and NEWYORK. System 1 (CHICAGO) is the data source. The data group definition specifies *YES to Use remote journal link. Command defaults create the data group using a generated short data group name and using the data group name for the system 1 and system 2 journal definitions.
To create the RJ link and associated journal definitions for normal operations, option 10 (Add RJ link) on the Work with Journal Definitions display is used on an existing journal definition named PAYABLES CHICAGO (the first entry listed in Figure 11). This is the source journal definition for normal operations. The process of adding the link creates the target journal definition PAYABLES@R NEWYORK (the last entry listed in Figure 11).
To create the RJ link and associated definitions for replication in the opposite direction, a new source journal definition, PAYABLES NEWYORK, is created (the second entry listed in Figure 11). Then that definition is used to create second RJ link, which in turn generates the target journal definition PAYABLES@R CHICAGO (the third entry listed in Figure 11).
Figure 11. Example journal definitions for a switchable data group.
Work with Journal Definitions CHICAGO Type options, press Enter. 1=Create 2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename 10=Add RJ link 12=Work with RJ links 13=Data group definitions 14=Build 17=Work with jrn attributes 24=Delete jrn environment
----Definition----- -------Journal------- ---Management--- RJ Jrn Opt Name System Name Library Change Delete Link Insp __ __________ ________ __ PAYABLES CHICAGO PAYABLES MIMIXJRN *SYSTEM *YES *SRC *YES __ PAYABLES NEWYORK PAYABLES MIMIXJRN *SYSTEM *YES *SRC *YES __ PAYABLES@R CHICAGO PAYABLES MIMIXJRN@R *NONE *YES *TGT *YES __ PAYABLES@R NEWYORK PAYABLES MIMIXJRN@R *NONE *YES *TGT *YES
Bottom Parameters or command ===> _________________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F6=Create F9=Retrieve F10=View receivers F12=Cancel F13=Repeat F16=RJ Links F24=More keys
|
Identifying the correct journal definition on the Work with Journal Definition display can be confusing. Fortunately, the Work with RJ Links display (Figure 12) shows the association between journal definitions much more clearly.
Figure 12. Example of RJ links for a switchable data group.
Work with RJ Links System: CHICAGO Type options, press Enter. 1=Add 2=Change 4=Remove 5=Display 6=Print 9=Start 10=End 14=Build 15=Remove RJ connection 17=Work with jrn attributes 24=Delete target jrn environment
---Source Jrn Def--- ---Target Jrn Def--- Opt Name System Name System Priority Dlvry State __ __________ ________ __________ ________ __ PAYABLES CHICAGO PAYABLES@R NEWYORK *SYSDFT *ASYNC *INACTIVE __ PAYABLES NEWYORK PAYABLES@R CHICAGO *SYSDFT *ASYNC *INACTIVE
Bottom Parameters or command ===> _________________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F6=Add F9=Retrieve F11=View 2 F12=Cancel F13=Repeat F16=Jrn Definitions F18=Subset F21=Print list
|