Under Construction

Installing the RPM File (Linux)

The compressed RPM file must first be decompressed with gunzip and can then be installed with the rpm command. This requires administration rights
(root):

# gunzip pwrcmps-lpar-rte-1.7.0-1.x86_64.rpm.gz
#
# rpm -iv pwrcmps-lpar-rte-1.7.0-1.x86_64.rpm
Preparing packages...
pwrcmps-lpar-rte-1.7.0-1.x86_64
#

The 4 commands of the LPAR-Tool (hmc, ms, lpar and vios) are installed under /opt/pwrcmps/bin:

# ls -l /opt/pwrcmps/bin
total 104256
-rwxr-xr-x 1 root system 14065602 Sep 2 16:30 hmc
-rwxr-xr-x 1 root system 15241792 Sep 2 16:30 lpar
-rwxr-xr-x 1 root system 14832670 Sep 2 16:30 ms
-rwxr-xr-x 1 root system 9230400 Sep 2 16:30 vios
#

In addition, the files Copyright, LicenseAgreement and sample.lpar.cfg (sample configuration file)
are installed under /opt/pwrcmps/etc:

# ls -l /opt/pwrcmps/etc
total 24
-rw-r--r-- 1 root system 108 Aug 30 13:27 Copyright
-rw-r--r-- 1 root system 273 Aug 30 13:27 LicenseAgreement
-rw-r--r-- 1 root system 542 Aug 30 13:27 sample.lpar.cfg
#

The shell search path (PATH variable) should be expanded to include /opt/pwrcmps/bin. Alternatively, on systems that have /usr/local/bin in the search path, symbolic links can be created under /usr/local/bin to the commands in /opt/pwrcmps/bin:

# ln -s /opt/pwrcmps/bin/hmc /usr/local/bin/hmc
# ln -s /opt/pwrcmps/bin/ms /usr/local/bin/ms
# ln -s /opt/pwrcmps/bin/lpar /usr/local/bin/lpar
# ln -s /opt/pwrcmps/bin/vios /usr/local/bin/vios