Use the VARY SWITCH(ssss,pp[-pp][,pp[-pp]]...),{DCM=OFFLINE[,UNCOND]|ONLINE} command to place a switch port online or offline to dynamic channel path management. Invoking this command for a switch port will also cause the specific managed device paths to be varied online or offline. An offline request will cause the managed channel paths to be removed from the control units connected to the managed CHPIDs at the specified ports. The VARY SWITCH command is routed to all systems in the logical partition cluster to ensure that all systems run with the same configuration of managed channel paths.
This command affects only managed device paths. Nonmanaged paths must be varied online or offline separately.
V SWITCH(ssss,pp[-pp][,pp[-pp]]...),DCM=OFFLINE[,UNCOND]
,DCM=ONLINE
Example 1:
VARY SWITCH(b000,60),DCM=OFFLINE
MVS1 IEE633I SWITCH B000, PORT 60, DCM STATUS=OFFLINE
ATTACHED NODE = 003990.0CC.IBM.XG.000000000006
THE FOLLOWING DEVICE PATHS ARE ONLINE THROUGH THIS PORT:
(0220,58)
MVS2 IEE633I SWITCH B000, PORT 60, DCM STATUS=OFFLINE
ATTACHED NODE = 003990.0CC.IBM.XG.000000000006
THE FOLLOWING DEVICE PATHS ARE ONLINE THROUGH THIS PORT:
(0220,58)
These messages show that the command ran
on both system MVS1 and MVS2. The fact that these messages are identical
shows that these systems are configured identically — the preferred
configuration when using dynamic channel path management.