From a711e5fa150e40083acca86e60b020cf6cb49bb2 Mon Sep 17 00:00:00 2001
From: Rob
+ Nimbus Administration Tools
+ Nimbus 2.8 Admin Reference
+
+
+ Image Cache Configuration _NAMELINK(imagecache-config)
cachedir is the path to the image cache and cache_size is
the maximum size of the cache. When these values are enabled the cache
will be in effect.
+
+The nimbus administration tools, nimbus-admin and nimbus-nodes, can be +used for a number of useful things by an administrator of a nimbus +service. The nimbus-nodes tool is used for administrating all the VMM +nodes running on the service. With this tool you are able to list, +add, update and remove nodes on the service. +The nimbus-admin tool allows you to administrate all the running +virtual machines running on the service. With this tool you can +list the running VMs in a variety of contexts, as well as manually +shutdown currently running VMs. +
++Both tools also have a host of reporting output options which will +be covered later in the following sections. +
+ + ++To start using the nimbus-admin tool first go to your nimbus home +directory. $NIMBUS_HOME/bin where you will find the script +nimbus-admin. Run ./nimbus-admin --help to see the help file which +lists all available commands. +
+
+List:
+The --list command will display a list of virtual machines with the
+following information:
+id: the VM id number
+node: the physical VMM node the VM is running on
+group_id: the group id number this VM is associated with
+group_name: the group name this VM is associated with
+creator: The users DN name who started this VM
+state: Current state of the VM (Running, propagated, etc)
+start time: Time when the VM was created
+end time: Time when the VM gets destroyed
+memory: Amount of memory being used by this VM
+cpu count: Number of cpu cores being used by this VM
+uri: Image and repo information of this VM
+
+The following commands can be used with list
+--list (-l) List the VMs known to the IaaS service
+ --user (-u) -Option to list VMs by user display name
+ --dn (-d) -Option to list VMs by user DN name
+ --gid (-g) -Option to list VMs by group id
+ --gname (-gn) -Option to list VMs by group name
+ --host (-hn) -Option to list VMs running under particular host
+
+So an example command would look like:
+./nimbus-admin --list --host localhost
+
+
+Shutdown:
+The --shutdown command destroys all the virtual machines specified.
+When shutting down a VM, a soft shutdown is called first, which puts
+the VM in "propagated" mode. Once the VM is propagated, it is then
+fully destroyed. VMs can be shutdown in the following ways:
+--all (-a) -Option to shutdown all running VMs on service
+--id (-i) -Option to shutdown VM by VM id
+--user (-u) -Option to shutdown VM by user display name
+--dn (-d) -Option to shutdown VM by user DN name
+--gid (-g) -Option to shutdown VM by group id
+--gname (-gn) -Option to shutdown VM by group name
+--host (-hn) -Option to shutdown all VMs with specified host
+--seconds (-s) -Amount of time to wait for VMs to shutdown to
+ propagation mode before being trashed. If
+ seconds option not specified, default is a
+ maximum of 30 seconds
+
+Example: ./nimbus-admin --shutdown --all
+The --shutdown command also allows you to shutdown a list of VMs at once
+by using a comma-separated list.
+Example: ./nimbus-admin --shutdown --id 3,4,5,6,10,13
+
+Nodes:
+The --nodes command shows a list of all the VMM nodes running on the
+service with a list of VM ids each one is running.
+Example: ./nimbus-admin --nodes
+node1: 3,4,5
+node2: 1,2,6
+
+To start using the nimbus-nodes tool first go to your nimbus home +directory. $NIMBUS_HOME/bin where you will find the script +nimbus-nodes. Run ./nimbus-nodes --help to see the help file which +lists all available commands. +
+
+List:
+The --list command of nimbus-nodes lists all the VMM nodes running
+on the service. You can also input a comma separated list of VMMs
+to list if you want to specify which VMMs you want to see. The
+list function outputs the following information about each node:
+
+hostname:the VMM node name
+pool:Resource pool name for this node
+memory:total memory available for this node
+memory available:current memory available on the node
+networks:list of networks associated with this node.
+Value of * means all available networks
+in_use:whether or not this node is being used
+active:whether or not this node is currently running
+
+
+Add:
+The --add (-a) HOSTS command adds the specified VMM nodes to the
+pool. Node paramets can be specified as additional arguments and
+if no parameter is specified a default will be read from the
+config file.
+
+Update:
+The --update (-u) HOSTS command updates the configuration values
+of VMM nodes. At least one node parameter must be specified as
+an additional argument.
+
+VMM Node Parameters
+The following node parameters can be used as additional arguments
+for the --add and --update commands.
+
+--active (-A) Allow VMM nodes to take on new virtual machines.
+Default for new nodes.
+--inactive (-i) Prevent VMM nodes from accepting new VMs.
+This will not terminate any already running VMs.
+--memory (-m) Maximum memory available on node for VMs
+--networks (-n) List of networks associated with a node.
+A value of * means all available networks
+--pool (-p) Resource pool name for this VMM node
+
+Remove
+The --remove (-d) command removes VMM nodes from the nimbus resource
+pool. In use nodes cannot be removed.
+
+Network Pool Allocation
+The --allocation (-N) command provides network pool allocation
+information. Outputs the following information for each pool
+entry: hostname, ip, mac address, broadcast, subnet mask, gateway,
+in_use, explicit mac.
+This command also has three optional commands.
+--pool allows you to enter a pool name and only displays
+entries from that pool
+--free displays only entries that are not in_use
+--used displays only entries that are in_use
+
+These options are for general usage of nimbus-nodes and nimbus-admin
+
+--help (-h) Prints help file
+--conf (-c) Use to specify an alternate configuration file.
+--debug Enables debug output for troubleshooting
+
+nimbus-nodes and nimbus-admin also have various reporting outputs
+that can be used. These options work with any of the commands listed
+above.
+
+--report (-r) FIELDS: Only report specified fields. Argument
+is a comma-separated list
+--batch (-b): Report results with one record perline, using
+an optional delimiter.
+--delimiter (-D): Delimiter between fields in batch mode.
+Default is a single space.
+--json (-j): Report results in JSON format.
+--output (-o) FILE:Write results to FILE instead of stdout.