Configuring the site-specific IP address
If the home site and the backup site have different network configuration, the KSYS subsystem uses sample scripts to configure the network configuration provided by the user at the backup site.
These sample scripts are used during the migration operation for the DR-only environment. For AIX environment, you must update the latest configuration file site_specfic_ip_config.cfg with network configuration details for both source site and target site before migration operation starts. The site_specfic_ip_config.cfg file helps you to avoid manual updates of the network configuration details for each migration.
For the Linux environment, follow the instructions in the readme file, README_NW_IP_LINUX to manually update the network configuration at the DR site.For AIX environment, follow the procedure that is provided in the readme file in the AIX folder.
For more information, see Site-specific IP configurations in IBM Recovery Manager DR.
Enhanced site-specific IP address without ghostdev
The site-specific IP configuration workflow has been streamlined in newer versions. If you do not
want to enable ghostdev, follow below modified steps. The scripts continue to be
used in the same way, and the site_specfic_ip_config.cfg file remains the primary
source for network details across sites. The main change is that some earlier steps are no longer
required, and the network configuration script now runs as part of the main setup process at the DR
site. As a result, fewer manual actions are needed, while the overall behavior and outcome of
site-specific IP configuration remain consistent with previous releases.
There are a series of steps to be performed to set up the required network configuration for AIX VMs. The steps involve copying customized scripts written for AIX VMs to the required VM network configuration directory and then run the necessary script.
Following are the steps for enhanced site-specific IP address:
- Copy the sample script
- Locate the scripts installed in the KSYS node at: /opt/IBM/ksys/samples/site_specific_nw/AIX
- Copy the scrips into the following directory: /usr/local/bin/ of the production VMs.
scp setup_dr_hostname_ip_via_config_file site_specfic_ip_config.cfg setup_dr <user>@<VM IP/hostname >:/usr/local/bin - Customize the VM site_specfic_ip_config.cfg configuration file with the appropriate IP address, netmask, and name server corresponding to the target VM.
- Run the following commands to disable the
ghostdevparameter in the AIX system.- Do not the modify the
ghostdevparameter by default it is 0, if it is 1 you can modify by below commands - Run the following commands to enable the
ghostdevparameter:# lsattr -El sys0 -a ghostdev - command to fetch existing ghostdev value# chdev -l sys0 -a ghostdev=0 - command to modify ghostdev parameter# savebase - this will save the changed ghostdev parameter.
- Do not the modify the
- After completing the DR migration operation, connect to the VM console through the Hardware
Management Console (HMC).
- Log into the HMC command line as an administrative user
- Run the vtmenu command to display the managed systems Central Electronics Complex (CEC) list.
- Select the appropriate managed CEC from the list.
- Select the appropriate VM from the VM list of the CEC.
- The virtual terminal to the VM will be displayed. Copy the sample scripts to the VM from the KSYS node.
- Log into the DR VM as a root user and run the main script,
setup_dr. Thesetup_dr_hostname_ip_via_config_filescript will run as part of the mainsetup_drscript and it reboots the VM/setup_dr - Verify the VM network configuration by running the ifconfig -a command. This
command displays the network configuration details such as IP, name server, and so on. If the IP
address displayed on the console and the IP address given in network configuration file are the
same, it means that your configuration is
successful.
ifconfig -a