Adapt access to Snapsets in the case of remote mirroring
Component: | BS2000 |
Functional area: | Pubset and MRSCAT management |
Domain: | SNAPSET |
Privileges: | TSOS |
Function
If access to the disks of the pubset is switched dynamically between the source and target controllers (e.g. by using SHC-OSD commands), access to the Snapsets assigned to the pubset is not also switched automatically. The ADAPT-SNAPSET-ACCESS command ensures that the Snapsets assigned are still available after such a switchover without the pubset having to be exported.
When the command is called, a check is made to see whether access to the assigned Snapsets takes place in the same controller as access to the disks of the pubset. If this is not the case, the switchover is emulated for the Snapsets assigned to the pubset:
The Snapsets currently attached are taken out of service.
The Snapsets of the local controller are then attached.
To execute the command the pubset must be in the LOCAL-ACCESSIBLE status. In the case of shared pubsets, Snapset access is adapted for all sharers of the pubset.
Format
ADAPT-SNAPSET-ACCESS |
PUBSET = <cat-id 1..4> |
Operands
PUBSET = <cat-id 1..4>
Catalog ID of the pubset for which Snapset access is to be adapted.
Return codes
(SC2) | SC1 | Maincode | Meaning/Guaranteed messages |
---|---|---|---|
0 | CMD0001 | Command executed without error | |
32 | CMD0216 | User does not have the necessary privilege | |
64 | DMS1386 | Error in the memory request | |
64 | DMS138B | No MRSCAT entry | |
64 | DMS13D5 | The specified Snapset does not exist on the pubset | |
1 | 64 | DMS13D7 | Internal error in Snapset management: Return code of GCF |
4 | 64 | DMS13D7 | Internal error in Snapset management: Return code when setting/resetting the reconfiguration lock |
6 | 64 | DMS13D7 | Internal error in Snapset management: Return code of SHC-OSD |
7 | 64 | DMS13D7 | Internal error in Snapset management: Return code of CCOPY |
64 | DMS13D8 | The pubset has no Snapsets | |
64 | DMS13E5 | Snapset catalog does not exist |