Cmu_clone(8), Name, Synopsis – HP Insight Cluster Management Utility User Manual

Page 197: Description, Options, Examples, Return codes

Advertising
background image

cmu_clone(8)

NAME

cmu_clone -- Clone nodes in a logical group.

SYNOPSIS

# /opt/cmu/bin/cmu_clone

<-n | -f nodelistfile> <-i imagename> [-s summarylog]

[-b] [-p] [-r]

DESCRIPTION

Clone the specified node or nodelist in the specified logical group.

OPTIONS

-n =

<node>

host name of the node

-f =

<textfile>

filename of a text file containing the list of nodes to clone

-i =

<imagename>

name of the logical group to clone

-s =

<filename>

filename to write summary cloning report in

-b

do not wait for user input (for script)

-p

do not print progress/feedback while cloning (for scripts)

-r

raw report, do not fold the result, do not condense nodes, print all node categories even if
empty

EXAMPLES

Clone all nodes listed in /tmp/nodelist in logical group sles11sp1_x86_64:

# /opt/cmu/bin/cmu_clone -f /tmp/nodelist -i sles11sp1_x86_64

Perform the previous operation, but do not print the progress report and do not wait for user input:

# opt/cmu/bin/cmu_clone -f /tmp/nodelist -i sles11sp1_x86_64 -p -b

Produce a short summary report:

# opt/cmu/bin/cmu_clone -f /tmp/nodelist -i sles11sp1_x86_64 -p -b -s

/tmp/clone.log

Clone a single node:

# /opt/cmu/bin/cmu_clone -n node1 -i rh6u2_x86_64

RETURN CODES

0: cloning process was successful
1: syntax error
2: resource reservation failed
3: partition number check failed
4: ssh setup failed
5: resource freeing failed
7: image invalid
8: image conversion (from legacy tgz to bz2) failed
255: bug

197

Advertising