HP XC System Software Installation Guide Version 3.0
Task 7: Configure the System and Propagate the Golden Image
Follow this procedure to configure your upgraded system and propagate the new golden image to all client
nodes:
1. Run the following utility to back up the existing database and migrate existing data to the new release
format:
# upgradesys
Command output looks similar to the following:
The upgradesys utility performs all the necessary steps
to upgrade your cluster. This script should be run immediately
after you have upgraded the head node with the latest XC software
and any third party vendor rpms.
Do you wish to continue? [y/n] y
Backing up database to
/opt/hptc/etc/sysconfig/upgrade/upgradesys.dbbackup-20060103145027.sql ...
Executing C02database gupdate
Starting MySQL: [ OK ]
Executing C20server_type gupdate
Executing C30device_names gupdate
Executing C33etc_hosts gupdate
Executing C35region gupdate
Executing C40role_migration gupdate
Executing C90systemimager gupdate
Removing XC MLIB RPMs
upgradesys output logged to /var/log/upgradesys/upgradesys.log
2. Run the cluster_config utility to configure your system. Table 7-7 describes two options to the
cluster_config utility that you can use to reconfigure a system after a software upgrade. Decide
which option you want depending upon how you want the upgrade to proceed.
Table 7-7 Upgrade Options for the cluster_config Utility
--init Option--migrate Option
Initializes (resets) your existing node role assignments and
configures your system with the default node role assignments
introduced in XC Version 3.0.
The default roles and assignments have been optimized for
performance in XC Version 3.0, and you may decide that this
configuration is better suited for your environment.
See Chapter 8 (page 91) for a description of roles and the
services provided by them, as well as the default node role
assignments.
Performs a series of known migration steps to bring existing,
recognized roles in the database into alignment with the new roles
introduced in this release.
Using this option does not guarantee the correct migration steps
for unrecognized (user-created) roles and services in the database.
Before you decide to use this option, view the
/opt/hptc/etc/sysconfig/upgrade/role_migration.ini
file to see how your previous role assignments compare to the
roles provided in XC Version 3.0.
Enter one of the following cluster_config options:
• To migrate your existing system configuration:
# /opt/hptc/config/sbin/cluster_config --migrate
Proceed to step 3.
• To apply new default role assignments to your existing system configuration:
# /opt/hptc/config/sbin/cluster_config --init
If you specify the --init option, in the next step you must remember to reassign any role
assignments you previously customized. For example, if your system configuration had login roles
on one or more nodes, you must assign a login role on any node on which you want users to be
able to log in. In the default configuration, a login role is not assigned to any node.
Proceed to step 3.
Task 7: Configure the System and Propagate the Golden Image 83