Installing VM Recovery Manager DR
The KSYS filesets must be installed on the identified logical partition (LPAR), which is preferably in the backup site. You can run the installp command or use the System Management Interface Tool (SMIT) panel to install the filesets on the LPAR.
Before you install the filesets, ensure that the following prerequisites are met:
- You must have root authority to perform the installation tasks.
- Identify the host that you will use to create the KSYS node. The host must be preferably in the backup site during the normal (non-disaster) conditions.
- You must have already created an LPAR in the identified host that has IBM® AIX® 7.2 with Technology Level 1 Service Pack 1 (7200-01-01), or later, installed.
- Ensure that you have enough space in this LPAR so that KSYS filesets can be installed successfully. You might want to have 30 MB of disk space in the /opt directory and 200 MB of disk space in the /var directory.
- Before you install or upgrade VM monitor fileset, ensure that you set the virtual machine in the KSYS subsystem to unmanage, and run the discovery operation. Then, install or upgrade the VMM fileset at the VM. You can set the unmanaged virtual machine to managed depending on your requirement. You must run the discovery operation after you have set the unmanaged virtual machine to managed.
Installing the KSYS filesets
To install the KSYS filesets in the identified LPAR, complete the following steps:
- Ensure all the prerequisites that are specified in the Requirements topic are complete.
- Download the VM Recovery Manager DR software components from Entitled Systems Support (ESS) website: http://www.ibm.com/servers/eserver/ess/index.wss
- Copy the filesets to any location from where you want to install the filesets.
- Uncompress the filesets as per the guidelines that are provided with the package.
- Install the filesets by running the following
command:
The -V2 flag enables the verbose mode of installation. This command installs all ksys.* filesets except the ksys.vmmon.rte file. Alternatively, you can use the smit installp command with the all_latest option to install all filesets in the directory.installp -acFXYd fileset_location -V2 [-e filename.log] ksys.!(*vmmon*)Note:- This command also installs all GUI filesets, which includes GUI server filesets and GUI agent filesets.
- The ksys.vmmon.rte file is an optional fileset and it should be installed on virtual machines. For more information, see Installing VM agents.
- Verify whether the installation of filesets is successful by running the following
command:
lslpp -l ksys.* - Run the /opt/IBM/ksys/ksysmgr command to check the command line utility of the KSYS subsystem. The KSYS subsystem might take a few minutes to run the command for the first time. You can add the /opt/IBM/ksys directory to your PATH environment variable so that you can access the ksysmgr command easily.
- After successful installation of KSYS filesets, enter the following command to check whether the
class IDs are reserved:
If any of the class IDs that are displayed in the preceding screen are missing in your output, add the missing entries in the /usr/sbin/rsct/cfg/ct_class_ids file before configuring the KSYS cluster.cat /usr/sbin/rsct/cfg/ct_class_ids IBM.VMR_HMC 510 IBM.VMR_CEC 511 IBM.VMR_LPAR 512 IBM.VMR_VIOS 513 IBM.VMR_SSP 514 IBM.VMR_SITE 515 IBM.VMR_SA 516 IBM.VMR_DP 517 IBM.VMR_DG 518 IBM.VMR_KNODE 519 IBM.VMR_KCLUSTER 520 IBM.VMR_HG 521 IBM.VMR_APP 522 IBM.VMR_CLOUD 523 IBM.VMR_DP_CLD 524 IBM.VMR_SA_CLD 525 IBM.VMR_LPAR_CLD 526 IBM.VMR_SITE_CLD 527 IBM.VMR_VMG_CLD 528 IBM.VMR_APP_CLD 529 IBM.VMR_SITE_PVS 530 IBM.VMR_WORKSPACE_PVS 531 IBM.VMR_WG_PVS 532 IBM.VMR_LPAR_PVS 533
Installing GUI filesets
To use the VM Recovery Manager DR and to manage KSYS nodes by using the graphical interface (GUI), you must install the GUI server and GUI agent filesets on a system. The logical partition in which you want to install the GUI filesets, must be running IBM AIX 7.2 with Technology Level 2 Service Pack 1 (7200-02-01), or later. You can choose to install the GUI server and GUI agent filesets on one of the KSYS nodes. You must install the following GUI server and GUI agent filesets before you start using the VM Recovery Manager DR GUI.
Depending upon your system environment and your requirement choose a procedure to install the GUI server and GUI agent filesets.- Installing the GUI server filesets and GUI agent filesets on the machine where KSYS filesets are installed
- Installing GUI server filesets
- Installing GUI agent filesets
- Installing the GUI server filesets and GUI agent filesets on the machine where KSYS filesets are installed
- To install the GUI server and GUI agent filesets on the same machine where the KSYS filesets are
already installed, complete the following steps.
- Ensure all the prerequisites that are specified in the Requirements topic are met.
- To install both the GUI server and the GUI agent filesets on one of the KSYS nodes, run the
following
command:
installp -acFXYd fileset_location -V2 [-e filename.log] ksys.ui.server ksys.ui.agent ksys.ui.commonNote: If you are using the AIX 7.3 operating system, you must install the mandatory efix on the GUI node as described in the Installing VIOS and KSYS interim fixes topic. If the agent and the sever nodes are different, you must install the efix on both the nodes. - To install the open source software packages, which are not included in the installed filesets,
choose one of the following procedures depending on your system environment:
- If your system is connected to the internet, run the following command in your
system:
This command downloads and installs the open source software packages that are not included in the filesets because these files are licensed under the GNU General Public License (GPL)./opt/IBM/ksys/ui/server/dist/server/bin/vmruiinst.ksh - If your system is configured to use an HTTP proxy to access the internet, run the following
command in your system to specify the proxy
information:
You can also specify the proxy information by using the http_proxy environment variable./opt/IBM/ksys/ui/server/dist/server/bin/vmruiinst.ksh -p - If your system is not connected to the internet, complete the following steps:
- Copy the vmruiinst.ksh file from your system to a system that is running the AIX operating system and that has internet access.
- Run the vmruiinst.ksh -d /directory command where
/directory is the location where you want to download the open source software
packages. For example,
/vmruiinst.ksh -d /tmp/vmrui_rpms. The following package managers are downloaded in the specified directory:info-6.6-2.aix6.1.ppc.rpmcpio-2.13-1.aix6.1.ppc.rpmreadline-8.0-2.aix6.1.ppc.rpmlibiconv-1.16-1.aix6.1.ppc.rpmbash-5.0.18-1.aix6.1.ppc.rpmgettext-0.20.2-1.aix6.1.ppc.rpmlibgcc10-10.3.0-6.aix7.3.ppc.rpmlibstdcplusplus10-10.3.0-6.aix7.3.ppc.rpmNote: Thelibgcc10-10.3.0-6.aix7.3.ppc.rpmandlibstdcplusplus10-10.3.0-6.aix7.3.ppc.rpmpackages listed above apply to AIX 7.3. For other supported AIX versions, the appropriate package versions are downloaded automatically based on the AIX version that is installed on the system.
- Copy the downloaded software packages to a directory in your system.
- In the your system, run the vmruiinst.ksh -i /directory command where /directory is the location where you copied the downloaded software packages.
After the GUI filesets have been installed, a message displays the URL of the GUI dashboard. To use the VM Recovery Manager DR GUI, open a web browser and enter the following URL:
HTTPS://<hostname>:3000/login.
After you log in to the VM Recovery Manager DR GUI, you can register the KSYS and add the existing clusters to your environment. - If your system is connected to the internet, run the following command in your
system:
- Installing GUI server filesets
- To install only the GUI server filesets on a machine where GUI agent filesets and KSYS filesets
are not installed, complete the following steps:
- Ensure all the prerequisites that are specified in the Requirements topic are met.
- To install only GUI server filesets on a separate system that manages all the KSYS nodes, run
the following
command:
installp -acFXYd fileset_location -V2 [-e filename.log] ksys.ha.license ksys.ui.server ksys.ui.commonNote: If you are using the AIX 7.3 operating system, you must install the mandatory efix on the GUI node as described in the Installing VIOS and KSYS interim fixes topic. If the agent and the sever nodes are different, you must install the efix on both the nodes. - To install the open source software packages, which are not included in the installed filesets,
choose one of the following procedures depending on you system environment:
- If your system is connected to the internet, run the following command in your
system:
This command downloads and installs the open source software packages that are not included in the filesets because these files are licensed under the GNU General Public License (GPL)./opt/IBM/ksys/ui/server/dist/server/bin/vmruiinst.ksh - If your system is configured to use an HTTP proxy to access the internet, run the following
command in your system to specify the proxy
information:
You can also specify the proxy information by using the http_proxy environment variable./opt/IBM/ksys/ui/server/dist/server/bin/vmruiinst.ksh -p - If the your system is not connected to the internet, complete the following steps:
- Copy the vmruiinst.ksh file from your system to a system that is running the AIX operating system and that has internet access.
- Run the vmruiinst.ksh -d /directory command where
/directory is the location where you want to download the open source software
packages. For example,
/vmruiinst.ksh -d /tmp/vmrui_rpms. The following package managers are downloaded in the specified directory:info-6.6-2.aix6.1.ppc.rpmcpio-2.13-1.aix6.1.ppc.rpmreadline-8.0-2.aix6.1.ppc.rpmlibiconv-1.16-1.aix6.1.ppc.rpmbash-5.0.18-1.aix6.1.ppc.rpmgettext-0.20.2-1.aix6.1.ppc.rpmlibgcc-8.3.0-2.aix7.1.ppc.rpmlibstdcplusplus-8.3.0-2.aix7.1.ppc.rpm
- Copy the downloaded software packages to a directory in your system.
- In your system, run the vmruiinst.ksh -i /directory command where /directory is the location where you copied the downloaded software packages.
After the GUI filesets have been installed, a message displays the URL of the GUI dashboard. To use the VM Recovery Manager DR GUI, open a web browser and enter the following URL:
HTTPS://<hostname>:3000/login.
After you log in to the VM Recovery Manager DR GUI, you can register the KSYS and add the existing clusters to your environment. - If your system is connected to the internet, run the following command in your
system:
- Installing GUI agent filesets
- This topic describes steps required to install only GUI agents on a machine where the KSYS
filesets are installed and the GUI server filesets will not be installed. You must have the KSYS
filesets installed on the machine before installing the GUI agent filesets.
- Ensure all the prerequisites that are specified in the Requirements topic are met.
- To install only GUI agent filesets on a separate system that manages all the KSYS nodes, run the
following
command:
installp -acFXYd fileset_location -V2 [-e filename.log] ksys.ui.agent ksys.ui.commonNote: If you are using the AIX 7.3 operating system, you must install the mandatory efix on the GUI node that is described in the Installing VIOS and KSYS interim fixes topic. If the agent and the sever nodes are different, you must install the efix on both the nodes. - To install the open source software packages, which are not included in the installed filesets,
choose one of the following procedures depending on your system environment:
- If your system is connected to the internet, run the following command in the GUI agent
LPAR:
This command downloads and installs the open source software packages that are not included in the filesets because these files are licensed under the GNU General Public License (GPL)./opt/IBM/ksys/ui/agent/lib/vmragentinst.ksh - If your system is configured to use an HTTP proxy to access the internet, run the following
command in the your system to specify the proxy
information:
You can also specify the proxy information by using the http_proxy environment variable./opt/IBM/ksys/ui/agent/lib/vmragentinst.ksh -p - If the your system is not connected to the internet, complete the following steps:
- Copy the vmragentinst.ksh file from your system to a system that is running the AIX operating system and that has internet access.
- Run the vmragentinst.ksh -d /directory command where
/directory is the location where you want to download the open source software
packages. For example,
/vmragentinst.ksh -d /tmp/vmrui_rpms. The following package managers are downloaded in the specified directory:libgcc-8.3.0-2.aix7.1.ppc.rpmlibstdcplusplus-8.3.0-2.aix7.1.ppc.rpm
- Copy the downloaded software packages to a directory in your system.
- In your system, run the vmragentinst.ksh -i /directory command where /directory is the location where you copied the downloaded software packages.
- If your system is connected to the internet, run the following command in the GUI agent
LPAR:
Installing VM agents
For HADR and HADRHA type of deployment, you need to install VM agents.
VM agents are components that are installed in virtual machines (VMs) or logical partitions (LPARs). These optional agents offer robust monitoring of the VMs and applications that are running in VMs. You can manage HA applications in VMs through a lightweight application monitoring framework.
To install a VM agent in an AIX VM, go to Installing a VM agent in an AIX VM. For setting up a VM agent in Linux®, see Installing a VM agent in a Linux VM.
Installing a VM agent in an AIX VM
- Ensure all the prerequisites that are specified in the Requirements topic are complete.
- Run the following command in the AIX virtual
machine:
installp -acFXYd fileset_location -V2 [-e filename.log] ksys.vmmon.rte - Perform the following steps to verify whether the installation of VM agent is successful:
- Run the lslpp command.
- Ensure that the ksysvmmgr command and the binary file for the VM agent daemon
exist in the following directories:
- /usr/sbin/ksysvmmgr
- /usr/sbin/ksys_vmmd
- Run the lssrc -s ksys_vmm command to verify whether the VM agent daemon is
enabled. The status of the
ksys_vmmsubsystem must beActivein the output of this command.
Installing a VM agent in a Linux VM
To install the VM agent Red Hat Package Manager (RPM) packages in a Linux virtual machine, complete the following steps:
- Ensure that the following Reliable Scalable Cluster Technology (RSCT) packages are installed in the Linux VM:
- rsct.core
- rsct.opt.storagerm
- rsct.core.utils
- rsct.basic
- DynamicRM
- Install the VM agent RPM packages based on the following Linux distributions in the virtual machine.
In Red Hat Enterprise Linux (RHEL) (little endian) virtual machines, run the following command:
vmagent-1.10.0.0-1.0.el7.ppc64le.rpmIn SUSE Linux Enterprise Server (SLES) (little endian) virtual machines, run the following command:
vmagent-1.10.0.0-1.0.suse123.ppc64le.rpm - Ensure RMC connection between the VMs and HMC. If the firewall is enabled on the RHEL VM, the RMC connection might be broken. Modify the firewall on the VMs to allow the RMC connection with the HMC. For details on modifying the firewall, see PowerLinux forum topic and Installing the PowerVM NovaLink software on a Red Hat Enterprise Linux partition topic.