[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1

copycsmpkgs Command

Purpose

Copies CSM packages and prerequisites to the /csminstall directory.

Syntax

copycsmpkgs [-h] [-v | -V] -p pkg_path:pkg_path [Attr=value [Attr=value...]]

Description

The copycsmpkgs command is used when the attributes of the nodes to be installed do not match the attributes of the management server. For example, the command should be used if the CSM version to be installed on the nodes is different than the CSM version on the management server. The copycsmpkgs command is also used when the management server is an AIX machine, and one or more nodes are Linux machines.

The copycsmpkgs command copies install packages from the directories specified with the -p flag. The following install packages are copied:

CSM Packages
CSM product packages are installed on the management server or the nodes.
Open Source Packages
Packages that are not part of the operating system, but are shipped with CSM and must be installed on the management server or the nodes.
Operating System Packages
Packages that are part of the base operating system and must be installed on the management server or the nodes.

The copycsmpkgs command also copies CSM commands and data files that are appropriate to the CSM version to /csminstall. These commands and data files are extracted from the appropriate CSM packages and copied to /csminstall/csm/InstallCSMVersion. These commands and data files are used during the installation of CSM on the nodes.

Flags

-h
Writes usage information to standard output.
-p pkg_path
Specifies one or more directories containing CSM and RPM packages.
-v | -V
Writes verbose messages to standard output.

Parameters

The following parameters can be specified on the command line. Any omitted parameters default to the value for the management server.

[Attr=value [Attr=value...]]
Specifies one or more Attr=value pairs, separated by spaces.
InstallCSMVersion
The CSM version installed.
InstallOSName
The operating system installed.
InstallDistributionName
The operating system distribution installed.
InstallDistributionVersion
The operating system version installed.
InstallPkgArchitecture
The operating system package architecture installed.

Security

You must have root privilege to run this command.

Exit Status

0
The command has run successfully.
1
An error has occurred.

Examples

To install CSM 1.3.0 on Linux nodes in a cluster with an AIX management server, enter:

copycsmpkgs -p /images/csm:/images/rh72disk1:/images/rh72disk2 InstallCSMVersion=1.3.0 \
InstallOSName=Linux

Files

Output files similar to the Examples section.

Prerequisite Information

/cfmroot
The directory on the management server that contains the cluster's configuration files.
/tmp/cfm_distfile
Location of the file created by the cfmupdatenode -d flag containing instructions on transferring files.
/var/log/csm/cfmerror.log
Location of CFM error logs.
/var/log/csm/cfmchange.log
Location of the log, on the management server, that contains updates to files.

Related Information

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]