rocks remove appliance {name}
Remove an appliance definition from the system. This can be called with just the appliance or it can be further qualified by supplying the root XML node name and/or the graph XML file name.
arguments
The name of the appliance.
examples
Removes the compute appliance from the database.
rocks remove distribution {distribution}
Remove a distribution specification from the database.
arguments
Distribution name.
examples
Removes the distribution named "rocks-optiputer" from the database.
rocks remove host {host...}
Remove a host from the database. This command will remove all related database rows for each specified host.
arguments
List of hosts to remove from the databavse.
examples
Remove the compute-0-0 from the database.
rocks remove host alias {host} {name} [name=string]
Remove an alias for a host.
arguments
One hosts.
The alias name that should be removed.
parameters
Can be used in place of the name argument.
examples
Removes the alias c-0-0 for host compute-0-0.
Same as above.
rocks remove host bootflags {host...}
Remove the kernel boot flags for a list of hosts.
arguments
List of hosts to remove kernel boot flag definitions. If no hosts are listed, then the global definition is removed.
examples
Remove the kernel boot flags definition for compute-0-0.
rocks remove host interface {host} {iface} [iface=string]
Remove a network interface definition for a host.
arguments
One or more named hosts.
Interface that should be removed. This may be a logical interface or the mac address of the interface.
parameters
Can be used in place of the iface argument.
examples
Removes the interface eth1 on host compute-0-0.
Removes the interface eth1 on hosts compute-0-0 and compute-0-1.
rocks remove host partition {host...} [partition=string]
Remove a partition definitions from a host.
arguments
A list of one or more host names.
parameters
A single partition to remove from this host. If no partition is specified, then all partitions from the host are removed.
examples
Remove all partitions from compute-0-0.
Remove only the /export partition from compute-0-0.
rocks remove host pxeaction {host...} [action=string]
Remove a pxeaction specification for a list of hosts.
arguments
List of hosts to remove pxeaction definitions. If no hosts are listed, then the global definition that matches the 'action=name' is removed.
parameters
The label name for the pxeaction. You can see the pxeaction label names by executing: 'rocks list host pxeaction'.
examples
Remove the 'os' pxeaction for compute-0-0.
rocks remove host pxeboot {host...}
Removes the PXE boot configuration for a host
arguments
One or more named hosts.
examples
Removes the PXE boot configuration for host compute-0-0.
Removes the PXE boot configuration for hosts compute-0-0 and compute-0-1.
rocks remove network {network...}
Remove network definition from the system. If there are still nodes defined in the database that are assigned to the network name you are trying to remove, the command will not remove the network definition and print a message saying it cannot remove the network.
arguments
One or more network names.
examples
Remove network info for the network named 'private'.
rocks remove roll {roll...} [arch=string] [version=string]
Remove a roll from both the database and filesystem.
arguments
List of rolls. This should be the roll base name (e.g., base, hpc, kernel).
parameters
The architecture of the roll to be removed. If no architecture is supplied, then all architectures will be removed.
The version number of the roll to be removed. If no version number is supplied, then all versions of a roll will be removed.
examples
Remove all versions and architectures of the kernel roll
Remove version 5.0 of the Ganglia roll for i386 nodes
related commands
rocks remove var {service} {component} [appliance=string] [component=string] [service=string]
Removes variables in the Rocks key/value database. Variables are defined as a quad of (Appliance, Service, Component, Value). Within a node XML file, values can be retrieved as <var name="Service_Component"/>.
arguments
The 'service' of the variable to remove.
The 'component' of the variable to remove.
parameters
If supplied, remove the Service_Component variable that is associated with this appliance.
Can be used in place of component argument.
Can be used in place of service argument.
examples
Remove the variable Condor_Master from the database.
Remove the variable Condor_Master that is associated with the compute appliance.