Download Administrator Manual - Support

Transcript
62
Cluster Management With Bright Cluster Manager
[bright60->network]% device status bright60; list
bright60 ............ [
UP
]
Name (key) Type
Netmask bits Base address Domain name
----------- -------- ------------ ------------ ------------------externalnet External 16
192.168.1.0 brightcomputing.com
globalnet
Global
0
0.0.0.0
cm.cluster
internalnet Internal 16
10.141.0.0
eth.cluster
[bright60->network]%
In the preceding example, while in network mode, the status command is executed in device mode on the host name of the head node,
making it display the status of the head node. The list command on the
same line after the semi-colon still runs in network mode, as expected,
and displays a list of networks.
3.5.3 Working With Objects
Modes in cmsh work with associated groupings of data called objects. For
instance, device mode works with device objects, and network mode
works with network objects. The commands used to deal with objects
are the same in all modes, although generally not all of them function
with an object:
Command
Description
use
Use the specified object. I.e.: Make the specified object the current object
add
Create the object and use it
assign
Assign a new object
unassign
Unassign an object
clone
Clone the object and use it
remove
Remove the object
commit
Commit local changes done to an object to the cluster management infrastructure
refresh
Undo local changes done to the object
list
List all objects at current level
format
Set formatting preferences for list output
foreach
Execute a set of commands on several objects
show
Display all properties of the object
get
Display specified property of the object
set
Set a specified property of the object
clear
Set default value for a specified property of the object.
append
Append a value to a property of the object, for a
multi-valued property
...continues
© Bright Computing, Inc.