User Tools

Site Tools


storage:svc_cmd_adv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
storage:svc_cmd_adv [2024/08/30 19:38]
manu
storage:svc_cmd_adv [2024/11/27 20:56] (current)
manu [FC port masking]
Line 74: Line 74:
 IBM_Storwize:​v5020:​superuser>​dumpallmdiskbadblocks IBM_Storwize:​v5020:​superuser>​dumpallmdiskbadblocks
 </​cli>​ </​cli>​
 +
 +===== FC port masking =====
 +
 +You can limit FC traffic to specific purpose:
 +  * for cluster traffic (inter-node)
 +  * for remote copy traffic (replication)
 +
 +<​code>​
 +-localfcportmask port_mask
 +    (Optional) Indicates the Fibre Channel (FC) input/​output (I/O) port mask for local system node-to-node communications only. 
 +    ​
 +-partnerfcportmask port_mask
 +    (Optional) Indicates the FC I/O port mask for partnered system-to-system communications only. Fibre Channel port mask does not affect host or storage system traffic.
 +</​code>​
 +
 +To view the current port mask settings, run the **lssystem** command, the output shows that all system ports allow all types of traffic.
 +<cli prompt='>'>​
 +IBM_IBM FlashSystem:​ITSO-FS9500:​superuser>​lssystem |grep mask
 +local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
 +partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
 +</​cli>​
 +
 +To set the local or RPORT mask, run the chsystem command. Example shows the mask 
 +setting for a system with four FC ports on each node and that has RC relationships. Masks 
 +are applied to allow local node-to-node traffic on ports 1 and 2, and replication traffic on ports 
 +3 and 4. 
 +
 +Example Setting a local port mask by running the chsystem command
 +<cli prompt='>'>​
 +IBM_IBM FlashSystem:​ITSO-FS9500:​superuser>​chsystem -localfcportmask 0011
 +IBM_IBM FlashSystem:​ITSO-FS9500:​superuser>​chsystem -partnerfcportmask 1100
 +IBM_IBM FlashSystem:​ITSO-FS9500:​superuser>​lssystem |grep mask
 +local_fc_port_mask 0000000000000000000000000000000000000000000000000000000000000011
 +partner_fc_port_mask 0000000000000000000000000000000000000000000000000000000000001100
 +</​cli>​
 +
 +The mask is extended with zeros, and all ports that are not set in a mask have the selected ​
 +type of traffic blocked.
 +
 +Specify the **lsportfc** command to display FC I/O port IDs.
storage/svc_cmd_adv.1725039488.txt.gz · Last modified: 2024/08/30 19:38 by manu