Setting a preferred primary port in a MetroCluster configuration

After cabling a MetroCluster configuration, you can define the primary port between the four switches to carry the traffic. You can set the preferred primary port in a shared-switches configuration by using the ic primary set command.

By default, the primary port is 0.
  1. To set the primary port, enter the following command:ic primary set 0|1 [-r] You must use the -r option for the primary port to take effect immediately.
    Note:
    • If the port that you have set as the preferred primary port is down, the other port will be used. Once the port is up, it will be set as the preferred primary port.
    • If the FC-VI link between the preferred primary ports fails, the fabric-attached MetroCluster configuration fails over to the secondary FC-VI link. When the primary link is restored, the fabric-attached MetroCluster configuration again uses the primary link. The failover temporarily causes the logs to be unsynchronized.
    If you want to set the preferred primary port to 1, enter the following command:ic primary set 1 -r

    In a shared-switches configuration, if you have set the preferred primary port of FMC1 (FMC1-1 and FMC1-2) to 1, the preferred primary port for FMC2 (FMC2-1 and FMC2-2) is set to 0.

  2. To view the current primary port, enter the following command:ic primary show The primary port is displayed.