VMR HA Deplyment
VMR HA Deplyment
VMR HA Deplyment
1. Use installp command in the AIX LPAR to install KSYS filesets that
are included in the package.
# installp -ac -g -Y -d FILESETS_DIR ksys.hautils.rte ksys.ha.license
ksys.main.cmds ksys.main.msg.en_US.cmds ksys.main.rte
ksys.ui.agent ksys.ui.common
# /opt/IBM/ksys/ui/server/dist/server/bin/vmruiinst.ksh -p
You can also specify the proxy information by using the http_proxy
environment variable.
2.3 If the GUI server LPAR is not connected to the
internet, complete the following steps:
a. Copy the vmruiinst.ksh file
(/opt/IBM/ksys/ui/server/dist/server/bin/vmruiinst.ksh) from the
GUI server LPAR to a system that is running the AIX operating
system and that has internet access.
Example
# ksysmgr query vios
Name: S1-VIOS1
UUID: 29798A5A-F115-4017-973F-0CF05FE26A97
Host: EGY-Server1_HQ
Version: VIOS 3.1.0.00
State: MANAGED
HM_versions: Unknown
Name: S1-VIOS2
UUID: 24F4082-8307-4BF4-8DA2-5CC1E3F0DA7A
Host: EGY-Server1_HQ
Version: VIOS 3.1.0.00
State: MANAGED
HM_versions: Unknown
Name: S2-VIOS1
UUID: 29798A5A-F115-4017-973F-0CF05FE26A98
Host: EGY-Server2_HQ
Version: VIOS 3.1.0.00
State: MANAGED
HM_versions: Unknown
Name: S2-VIOS2
UUID: 24F4082-8307-4BF4-8DA2-5CC1E3F0DA7B
Host: EGY-Server2_HQ
Version: VIOS 3.1.0.00
State: MANAGED
HM_versions: Unknown
2. Identify all available shared disks by host UUIDs:
# ksysmgr query viodisk hosts=EGY-Server1_HQ, EGY-Server2_HQ
Example
# ksysmgr query viodisk hosts= EGY-Server1_HQ, EGY-Server2_HQ
Looking for free shared disks in these VIOSs:
S1-VIOS1
S1-VIOS2
S2-VIOS1
S2-VIOS2
This can take a few minutes
[..]
These are the shared free disks which appear on all VIOS in the list
provided:
DiskNames are as they appear on VIOS S1-VIOS1
DiskName Size ViodiskID
----------------------------------------------------------------------------
Hdisk2 20480 gwMDAwMDAwMDAwMDExMA==
Hdisk3 20480 gwMDAwMDAwMDAwMDExMQ==
3. Create the host group and add the host(s) and disks:
# ksysmgr add host_group MY_HG hosts= EGY-Server1_HQ, EGY-
Server2_HQ \
repo_disk=gwMDAwMDAwMDAwMDExMA== \
ha_disk=gwMDAwMDAwMDAwMDExMQ==
Repeat step 1 for all host groups that you want to create in the KSYS
subsystem.
4. Verify the host group(s) that you created by running:
# ksysmgr query host_group
Configuring VIOS
When you add hosts to the KSYS subsystem, all the Virtual I/O Servers
in the hosts are also added to the KSYS subsystem. The VM Recovery
Manager HA solution monitors the hosts and virtual machines by using
Virtual I/O Servers in the host.
2. You can include the VIOS partition for the HA management at any
time by using the command:
# ksysmgr manage vios VIOS_NAME
# ksysmgr manage vm
Discovering and verifying the KSYS configuration
After adding various resources (HMCs, hosts, and host groups) to the
KSYS subsystem, you must run the discovery operation. During the
initial discovery operation, the KSYS subsystem creates the required
high availability setup to monitor the VMs and hosts.
The KSYS subsystem creates an SSP cluster based on the information
that is specified in the configuration steps. During any subsequent
discovery operations, the KSYS subsystem scans the environment for
any changes to the environment and adapts to the modified
environment. For example, when you add a host or when you run the
Live Partition Mobility (LPM) operation from one host to another host
that is outside of the current KSYS subsystem, the KSYS configuration
settings are updated in the next discovery operation.
By default, the KSYS subsystem automatically rediscovers sites once in
every 24 hours during midnight. You can change this period by
modifying the auto_discover_time system attribute.
You must run the discovery and verification commands each time you
modify the resources in the KSYS subsystem.
Example
# ksysmgr discover host_group MY_HG verify=yes
Running discovery on Host_group MY_HG, this may take few minutes...
Existing HA trunk adapter found for VIOS S2-VIOS2
Creating HA trunk adapter for VIOS S2-VIOS1
Finished creating HA trunk adapter for VIOS S2-VIOS1
Creating HA trunk adapter for VIOS S1-VIOS2
Finished creating HA trunk adapter for VIOS S1-VIOS2
Creating HA trunk adapter for VIOS S1-VIOS1
Finished creating HA trunk adapter for VIOS S1-VIOS1
SSP creation started for Host_group MY_HG
SSP creation completed for Host_group MY_HG
Preparing VIOS in EGY-Server1_HQ for HA management
VIOS in EGY-Server1_HQ prepared for HA management
Preparing VIOS in EGY-Server2_HQ for HA management
[..]
VIOS in EGY-Server2_HQ prepared for HA management
Discovery has started for VM lpar2
Configuration information retrieval started for VM lpar2
Discovery has started for VM lpar5
Configuration information retrieval started for VM lpar5
Discovery has started for VM lpar9
Configuration information retrieval started for VM lpar9
Configuration information retrieval completed for VM lpar2
Discovery for VM lpar2 is complete
Configuration information retrieval completed for VM lpar5
Discovery for VM lpar5 is complete
Configuration information retrieval completed for VM lpar9
Discovery for VM lpar9 is complete
Ahmed Mashhour
ahdmashr@eg.ibm.com