Verifying the installation, Removing the software, Verifying the installation removing the software – HP XC System 3.x Software User Manual
Page 30
4.
Copy the package files to the shared directory /hptc_cluster as follows:
# cp package_file package_file ... /hptc_cluster
5.
Verify that HPCPI and Xtools are not running on the client, and that no time-sensitive tasks
are running.
Run RPM on each remote client. You can do this using cexec, or you can use the job
scheduler to submit one job for each node, where the job runs rpm on the target client. For
example:
# cexec -x `nodename` -a 'cd /hptc_cluster ;\
rpm -i package_name package_name ...'
6.
After you have installed the packages on all cluster clients, remove the package files from
the /hptc_cluster directory as follows:
# cd /hptc_cluster
# rm package_name package_name ...
7.
Create a new golden image but do not set the clients for network reboot as follows:
# updateimage --gc `nodename` --no-netboot
Where head_node_name is the name of the head node (the image server).
For example:
# rpm -ivh hpcpi-0.6.6-rh4.ia64.rpm \
xtools-common-0.6.6-rh4.ia64.rpm \
xtools-clients-0.6.6-rh4.ia64.rpm \
xtools-xc_clients-0.6.6-rh4.ia64.rpm
# cp hpcpi-0.6.6-rh4.ia64.rpm \
xtools-common-0.6.6-rh4.ia64.rpm \
xtools-clients-0.6.6-rh4.ia64.rpm \
xtools-xc_clients-0.6.6-rh4.ia64.rpm \
/hptc_cluster
# cexec -x `nodename` -a 'cd /hptc_cluster ;\
rpm -i hpcpi-0.6.6-rh4.ia64.rpm \
xtools-common-0.6.6-rh4.ia64.rpm \
xtools-clients-0.6.6-rh4.ia64.rpm \
xtools-xc_clients-0.6.6-rh4.ia64.rpm
# cd /hptc_cluster
# rm hpcpi-0.6.6-rh4.ia64.rpm \
xtools-common-0.6.6-rh4.ia64 \
xtools-clients-0.6.6-rh4.ia64.rpm \
xtools-xc_clients-0.6.6-rh4.ia64.rpm
# updateimage --gc `nodename --no-netboot`
Verifying the Installation
To verify the installation, query RPM as follows:
# rpm -q package_name
If the package is properly installed, RPM displays a message with the package version string.
For example:
# rpm -q hpcpi
hpcpi-0.6.6-200712101436
Removing the Software
To remove the HPCPI and Xtools software, verify that no one is using HPCPI or Xtools, as
described in
“Before Installing the Software” (page 26)
. Remove the software using the rpm -e
command as follows:
# rpm -e package_file package_file...
30
Installing HPCPI and Xtools