Facilitates the enablement of new hardware (namely POWER5 or later servers) in AIX® environments.
nim_move_up {[ -S ] | [ -K [ -h control_host ] ] | [ -r [ -R ] [ -u ] ]} | { [ -c NIM_client ] [ -i target_ip [ -ending_ip ] ] [ -s subnet_mask ] [ -g gateway ] [ -h control_host ] [ -m managed_sys ] [ -V vio_server [ -e ] [ -D ] ] [ -I img_src ] [ -l resource_dir ] [ -t seconds ] [ -p loops ] [ -j nimadm_vg ] [ -L lpp_source ] [ -U spot ] [ -B bosinst_data ] [ -E exclude_files ] [ -C script_resource ] [ -b installp_bundle ] [ -f fix_bundle ] {{[ -n ] [ -d ]} | -O} [ -q ] [ -T ] [ -M manual_configuration_filenames ]}
The nim_move_up command enables users of existing AIX environments to take advantage of the capabilities available on new hardware (namely POWER5 servers or later). The command provides an interface that migrates an existing AIX system onto an LPAR residing on a POWER5 (or later) server. The level of AIX on the original machine is raised to a level that supports operation on POWER5 hardware. The original system's hardware resources are closely replicated on the equivalent POWER5 hardware. By the end of the migration, the same system is fully running on a POWER5 LPAR.
In addition, nim_move_up can use the Virtual I/O capabilities of POWER5 servers by optionally migrating a client onto virtualized hardware, such as virtual disks and virtual Ethernet.
The nim_move_up command relies on the functionality of NIM and the NIM master's capability of remotely managing and installing NIM clients on the network. The nim_move_up command attempts to use the NIM master and the nimadm command to complete the following actions on an existing NIM client:
Before the POWER5 hardware is installed, the NIM master (on which the nim_move_up command is run) and the NIM clients on the existing hardware must be configured (see Restrictions). The clients are the starting point of the migration and eventually turn into POWER5 LPARs.
The entire migration takes place without any downtime required on the part of the original client. The process can be completed in phases executed sequentially, which allows more control over the process, or can be executed all at once, so that no user interaction is required. The command is delivered as part of the bos.sysmgt.nim.master fileset and requires a functional NIM environment in order to run.
Item | Description |
---|---|
-c NIM_client | Specifies either a NIM standalone client (standalone object type) or a NIM machine group (mac_group object type). The client indicated must be reachable using the network from the NIM master and must allow the NIM master to run commands on them. If a NIM machine group is specified in this argument, it must reside in the same NIM network. The client is the target machine that will be migrated onto equivalent LPARs on a POWER5 server. |
-g gateway | Specifies the IP address of the default gateway that the clients will be configured with after the migration to the POWER5 server. |
-h control_host | Specifies the host name or IP address of the HMC that is used for hardware control of the POWER5 server. |
-i target_ip[-ending_ip] | Specifies the IP address that the new migrated client will be configured with after it is installed on the POWER5 server. If a NIM machine group is supplied to the -c option, a range of IP addresses must be supplied here and there must be enough addresses in the range to enumerate the amount of clients that are to be migrated. |
-I img_src | Specifies the path to the source of the installation images used to create the NIM resources required for migration and installation. This path can be a device (such as dev/cd0 if using AIX product media) or a path to a location on the file system containing the installation images. The level of AIX present in the installation images must be AIX 5L™ Version 5.2 with the 5200-04 Recommended Maintenance package or later, or AIX 5.3 or later. |
-l resource_dir | Specifies the path to a location on the file system that will contain any new NIM resources created through the nim_move_up command. The location must have enough space to accommodate an LPP_Source and a spot unless existing resources were provided through the -L and -U options. |
-m managed_sys | Specifies the name of the managed system corresponding to the POWER5 server as tracked by the HMC. |
-s subnet_mask | Specifies the subnet mask that the clients will be configured with after the migration to the POWER5 server. |
Item | Description |
---|---|
-d | Executes nim_move_up in the background and returns control of the terminal to the caller. The progress of nim_move_up can be tracked through the -S flag. |
-K | Configures SSH keys on the specified HMC. This allows the unattended remote execution of commands from the NIM master without password prompts. This flag cannot be used with any other options except the -h option. |
-n | Runs only the next phase of the nim_move_up migration process. The nim_move_up command exits when the phase completes or fails. If this flag is not provided, all the subsequent phases are run and nim_move_up exits when they have all run or one of them has failed. |
-O | Saves only supplied values. Save values provided through other options and then exits without executing any phases. This flag cannot be used with any other of the Execution and Control Flags. |
-q | Specifies quiet mode. No output is displayed to the terminal (but is instead kept in the logs). This flag has no effect if nim_move_up runs with the -d flag. |
-r | Unconfigures nim_move_up. This resets all saved data, including saved options, phase-specific data, and current phase information. This operation must be run if the migration process is to be started over for the migration of a new client or set of clients. |
-R | Removes all NIM resources created by nim_move_up in addition to unconfiguring the environment. This flag can only be used with the -r option. |
-S | Displays the status of the current phase or the next phase to be run. All saved values are displayed as well. The nim_move_up command exits immediately after displaying the information. This flag cannot be used with any other options. |
Item | Description |
---|---|
-b installp_bundle | Specifies an existing installp_bundle NIM resource whose software are installed on each of the newly migrated LPARs in phase 10 (post-installation customization) if the option is provided. |
-B bosinst_data | Specifies an existing bosinst_data NIM resource used by nim_move_up to install the new clients onto the POWER5 LPARs. If this option is not provided, nim_move_up generates a bosinst_data resource with default unattended installation values. |
-C script_resource | Specifies an existing script NIM resource that, if provided, nim_move_up will execute in phase 10 (post-installation customization) on all of the new migrated LPARs. |
-D | Forces the use of physical storage controllers instead of virtual SCSI adapters in creating the new LPAR on the POWER5 server when a Virtual I/O server LPAR is specified. This flag is only valid when used with the -V option. |
-e | Forces the use of physical network adapters instead of shared Ethernet adapters in creating the new LPAR on the POWER5 server when a Virtual I/O server LPAR is specified. This flag is only valid when used with the -V option. |
-E exclude_files | Specifies an existing exclude_files NIM resource that nim_move_up uses to create a mksysb of the original clients. If this option is not provided, nim_move_up generates an exclude_files resource that excludes the contents of /tmp from the backup. |
-f fix_bundle | Specifies an existing fix_bundle NIM resource whose APARs are installed on each of the newly migrated LPARs in phase 10 (post-installation customization) if the option is provided. |
-j nimadm_vg | Specifies the volume group to be used by the underlying nimadm call for data caching. If this option is not provided, the default value is rootvg. |
-L lpp_source | Specifies an existing LPP_Source NIM resource to whose AIX level the target clients will be migrated to. If this option is not provided, nim_move_up attempts to create a new LPP_Source from the installation image source provided through the -I option. |
-M manual_configuration_filenames | Specifies phase4 to use these manual configuration files to the associated back-level AIX machines. This flag is effective only in phase4 of the nim_move_up command. For more information about this flag, see the Advanced usage section. |
-p loops | Specifies the number of times to execute system analysis tools on the target NIM clients in analyzing resource utilization. The final resource usage data will be the average of the values obtained from each loop. This data will be taken into account when determining the equivalent POWER5 resources from which the migrated LPAR will be derived. If this option is not provided, the default is 1 loop. |
-t seconds | Specifies the number of seconds each loop runs for. If this option is not provided, the default is 10 seconds. |
-T | Transports user-defined volume groups from the original clients to the new migrated LPARs. |
-u | Enables nim_move_up to completely "roll back" entire nim_move_up migration. Must be used with the -r flag. |
-U spot | Specifies an existing spot NIM resource that will be used in the migration and installation of the clients. If this option is not provided, a new spot is created from the lpp_source NIM resource provided by the -L and -I options. |
-V vio_server | Specifies the LPAR name of a Virtual I/O server that resides on the POWER5 server denoted by the -m flag. |
Item | Description |
---|---|
0 | Successful completion. |
nonzero | An error occurred. |
Only the root user can run this command.
nim_move_up -c client1 -i 192.168.1.100 -s 255.255.255.0 -g 192.168.1.1 -h hmc1.mydomain.com -m \
my-p5 -l /big/dir -I /dev/cd0 -n
nim_move_up -S
nim_move_up -h hmc2.mydomain.com -n -q
nim_move_up -Y -d
nim_move_up -r
All NIM resources previously created by nim_move_up remain
unaffected in the NIM environment and will be used by nim_move_up as
necessary to migrate another client.The nim_move_up command will fail to execute properly if all of the preceding requirements are not met or if the command is executed by a non-root user.
The nim_move_up command takes a phased approach to migrating an existing client onto an equivalent POWER5 LPAR. The following phases make up the process:
In order to successfully migrate a NIM client onto an equivalent POWER5 LPAR, each of these phases (with the exception of phase 10, which is optional) must be executed completely successfully. If all phases completed successfully, a new NIM client object will be present in the NIM environment that represents the migrated LPAR, which will be running the level of AIX supplied through the nim_move_up source of installation resources.
After all prerequisites needed to run nim_move_up have been satisfied, the nim_move_up command runs in two phases: configuration and phase execution.
Configuration
Before the nim_move_up command can begin its phases, input must be provided to the application. The required input includes a list of the NIM clients to be migrated, TCP/IP configuration information of the new migrated LPARs, and the POWER5 server name. For a complete list of required nim_move_up configuration options, refer to the Required Flags (they also are denoted by a * (asterisk) in the nim_move_up_config SMIT menu). Optional input, such as whether a Virtual I/O server is specified, also affects the behavior of nim_move_up and the end result of the migration process (if a Virtual I/O server is specified, virtual I/O resources are used to create the migrated LPAR).
smitty nim_move_up_config
or
smitty nim_move_up
and select the Configure
nim_move_up Input Values option. At the menu, fill in the options with values that reflect the requirements of your environment. For further information about the nim_move_up command's SMIT interface, see the SMIT usage section below.
Phase Execution
After all input is supplied, phase execution begins at phase 1 and continues sequentially. If a phase encounters an error, nim_move_up attempts to execute the failed phase the next time it runs. Optionally, you can specify that nim_move_up start only the next phase or attempt all remaining phases.
smitty nim_move_up_exec
or smitty nim_move_up
and select the Execute
the nim_move_up Phases option. Answer the Execute
All Remaining Phases? option and press Enter. The phases
begin executing. nim_move_up -n
To specify that nim_move_up execute
all remaining phases, type the following command: nim_move_up
In
addition to executing phases, this command can also modify saved configuration
options if the appropriate flag is supplied. smitty nim_move_up
The mig2p5 framework consists of the /var/mig2p5 directory and serves as a means for nim_move_up to remember its state between subsequent invocations. Its existence and its use by nim_move_up is completely transparent to the user: the directory is created by nim_move_up and its values are initialized if it does not exist. It is removed when nim_move_up is unconfigured. The contents of this directory are easily readable and can be very helpful in troubleshooting problems with nim_move_up; the directory contains all of the logs generated in the phases and contains editable files that affect the behavior of nim_move_up in ways that are not allowed by the command line (such as forcing nim_move_up to run a certain phase out of order).
option_name:value
What is the manual configuration file and why is it needed?
How do I write a manual configuration file?
For each client that is migrated to a System p5 environment, the nim_move_up command does all of the hardware configuration-related calculations by default. This file enables you to alter or tune the configuration of the target machine as you choose.
You can change the amount of memory, the size of the volume groups and the Virtual I/O server resources to be used. For example, you can change the VSCSI server adapter to be used for the volume groups created for the target LPARs. You can also change the VLAN IDs to be used for the Ethernet adapters created for the target LPARs.
# manual_cfgfile_dennis file
# MEMORY = min_MB desired_MB max_MB
MEMORY = 256 512 1024
# VIO_VG_INFO = vgname_src, size_in_MB, vhost_to_use
# Where vgname_src is the VG name in source machine, and
# vhost_to_use is the virtual adapter to be used for
# the VG specified in the VIO Server.
VIO_VG_INFO = rootvg,15344,vhost4
# VIO_VLAN_INFO = vlan_id, lpar_name, slot_number
VIO_VLAN_INFO = 1,VIO-server,2
The file can have any blank lines. You can add comments to the file with a # at the beginning of the line.
The values of the VIO_VG_INFO field must be comma separated. The vgname_src value is the Volume Group in the source machine for which the manual data must be given. The size_in_MB value is the size of the Volume Group on the target machine and the vhost_to_use value is the vhost* (virtual SCSI server adapter) to be used for this Volume Group on the target System p5 machine.
Similarly, the values of the VIO_VLAN_INFO field must be comma separated. The vlan_id value is used instead of the one used by the nim_move_up command for the target LPAR’s Ethernet adapter. The lpar_name value is the LPAR name of the Virtual I/O server having the shared Ethernet adapter (SEA), and the slot_number value is the slot number of this SEA on the Virtual I/O server.
It is not necessary to provide all of these values. The nim_move_up command receives the specified values from the manual file and generates the rest based on the client configuration.
Item | Description |
---|---|
/usr/sbin/nim_move_up | Contains the nim_move_up command. |