IBM Books

Administration Guide

savenodedata1.1 Command

Name

The savenodedata1.1 command is used to dump the CSM Version 1.1 ManagedNode table to a file that can be used later as input to the definenode command. This will ease the transfer of some of the node data to the new release.

Synopsis

savenodedata1.1

Description

The savenodedata1.1 command will print out all the ManagedNode and PreManagedNode objects in a format compatible with the nodedef file format of CSM Version 1.2. Any attributes that have changed names or been deleted between CSM Version 1.1 and 1.2 will be correctly output in the format needed for CSM Version 1.2. Attributes that were not present in CSM Version 1.1 will not be displayed. When the resulting nodedef file is run with the CSM Version 1.2 definenode, these missing attributes will be filled in with defaults from the management server or left blank as needed. See the definenode man page for which attributes will get defaults. Follow these instructions to use savenodedata1.1:

Step 1
Mount the CSM 1.2 CD-ROM and run the savenodedata1.1 command, as follows:
mount /dev/cdrom /mnt/cdrom
/mnt/cdrom/savenodedata1.1 > /tmp/nodedef.migrate

The savenodedata1.1 command generates the definitions for the nodes that are currently in your cluster and redirects them to a file called nodedef.migrate. Later in this procedure, you will use the nodedef.migrate file to provide your current node definitions to the new level of CSM.

Step 2
Remove all CSM 1.1 RPMs from the nodes as follows:
rpm -e csm.client csm.core rsct.core rsct.core.utils src 

Step 3
Uninstall all of the CSM 1.1 and RSCT code as follows:
rpm -e csm.gui.dcem csm.dsh csm.server csm.core rsct.core rsct.core.utils src
Note:
cfengine was used by CSM 1.1, but its function is replaced in CSM 1.2 with rdist. Note that because you might be using cfengine for other things, cfengine was not removed when you uninstalled CSM. However, you can manually remove cfengine if you don't plan on using it.

Step 4
Create a partition called /csminstall. See IBM CSM for Linux: Software Planning and Installation Guide for information on how to do this.

Step 5
Install the new version of the csm.core package from the CSM 1.2 CD-ROM. See IBM CSM for Linux: Software Planning and Installation Guide for information on how to do this.

Step 6
Install the remainder of CSM 1.2 and RSCT by running the installms command. See IBM CSM for Linux: Software Planning and Installation Guide for information on how to do this.

Step 7
Redefine the nodes of your cluster for CSM 1.2, using the definenode command and the nodedef.migrate file, as follows:
definenode -f /tmp/nodedef.migrate

Note that some of the node attributes that are used in CSM 1.2 were not present in CSM 1.1. When you run the definenode command, above, the missing attributes are filled in with defaults from the management server or left blank, as needed.

Step 8
For CSM-only installations, upgrade to the latest level of CSM and RSCT, using the updatenode command, as follows:
updatenode -P

Author

Sean Safron - cluster@us.ibm.com


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]