PowerHA Geographic mirroring by default automatically selects an open port between 1024 and 65535 on the mirror copy node for receiving data. This port number is dynamically selected each and every time replication is started enabling flexibility in a geographic mirroring environment to find an available port.
In some environments, due to Quality of Service (QoS), network restrictions, security or firewall requirements it is necessary to have applications use specific ports for network activity. Geographic mirroring allows the administrator to specify a port that the geographic mirror copy will use for listening and receiving data.
Before you Begin
This functionality requires a PTF to be installed on all nodes in the geographic mirroring environment. The required PTF for each release is as follows:
Release | PTF |
---|---|
7.2 | MF67883 |
7.3 | MF67881 |
7.4 | MF67632 |
Restrictions
Only a single port number may be specified. This port number will be used for all data port IP addresses.
This functionality is only supported with clusters containing a single independent auxiliary storage pool (IASP) device in the cluster resource group (CRG). Clusters containing multiple IASP devices have the following additional restrictions:
Each CRG can only have a single IASP device.
Each CRG must use different data port IP addresses.
Procedure
Select a port number that the mirror copy will use for listening and receiving data. Here, port
12345
is used.On every node in the geographic mirroring Cluster Resource Group (CRG), run the following command replacing
12345
with the port selected for the environment:ADDSRVTBLE SERVICE(‘geomirror’) PORT(12345) PROTOCOL(‘tcp’)
The new port will be used the next time geographic mirroring is resumed. If geographic mirroring is currently active, suspend geographic mirroring and resume geographic mirroring:
Results
Geographic mirroring will now use the port specified in the service table for geographic mirroring.