When migrating the MIMIX for AIX Host System to new hardware, the
HOST_ID
of the system changes. As MIMIX for AIX depends on this
HOST_ID
, it will stop functioning until the
HOST_ID
is updated in the MIMIX ODM. The procedure below explains
how to automate this update process to maintain uninterrupted operation.
The /usr/scrt/bin/es_hostid_update
command is used to update the
HOST_ID
in the MIMIX ODM for both Primary and Failover Context
IDs.
Syntax:
/usr/scrt/bin/es_hostid_update -C <Primary Context ID> -T <production/backup> -H <HOST_ID>
- -C <Primary Context ID>: Specifies the Primary Context ID.
- -T <production/backup>: Identifies the environment where the change is required (production or backup).
- -H <HOST_ID>: Specifies the new
HOST_ID
. - -h: Displays help information for the command.
Example,
# /usr/scrt/bin/es_hostid_update -C 1 -T backup -H 621DE751CE
Provided Primary Context-ID=1
Server/Environment, where change is required=backup
Host-ID which is required to be changed to=621DE751CE
Failover Context-ID found for the Primary-Context(1)=11
DO YOU CONFIRM?
Answer in Yes or yes or y or No or no or n
yes
answer is yes
Current HOST_ID for the Primary-Context="621DE751DA"
Current HOST_ID for the Failover-Context="621DE751DA"
Changing to the provided HOST_ID for the Primary_Context....
File /usr/scrt/archive/rtattr.1.bak size is 0.18
SCCuAttr:
ObjectName = "backup"
ConfigObjectSerial = 6
ObjectType = "SCRT/info/host"
ObjectAttributeName = "HostId"
ObjectAttributeValue = "621DE751CE"
ObjectAttributeType = "ulong"
SerialNumber = 60008
ObjectNlsIndex = 0
SC_reserved = 0
ContextID = 1
NEW Primary_Context HOST_ID="621DE751CE"
Changing to the provided HOST_ID for the Failover_Context
SCCuAttr:
ObjectName = "production"
ConfigObjectSerial = 7
ObjectType = "SCRT/info/host"
ObjectAttributeName = "HostId"
ObjectAttributeValue = "621DE751CE"
ObjectAttributeType = "ulong"
SerialNumber = 70008
ObjectNlsIndex = 0
SC_reserved = 0
ContextID = 11
NEW Failover_Context HOST_ID="621DE751CE"