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 appliance attr {appliance} {attr} [attr=string]
Remove an attribute for an appliance.
arguments
One or more appliances
The attribute name that should be removed.
parameters
Can be used in place of the attr argument.
examples
Removes the attribute sge for compute appliances
Same as above.
rocks remove appliance route {appliance} {address} [address=string]
Remove a static route for an appliance type.
arguments
Appliance name. This argument is required.
The address of the static route to remove. This argument is required.
parameters
Can be used in place of the 'address' argument.
examples
Remove the static route for the 'compute' appliance that has the network address '1.2.3.4'.
rocks remove attr {attr} [attr=string]
Remove a global attribute.
arguments
The attribute name that should be removed.
parameters
Can be used in place of the attr argument.
examples
Removes the global attribute named 'cpus'.
Same as above.
rocks remove bootaction [action=string]
Remove a boot action specification from the system.
parameters
The label name for the boot action. You can see the boot action label names by executing: 'rocks list bootaction'.
examples
Remove the 'os' boot action from the system.
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 firewall [category=index] {rulename}
Remove a named firewall rule
arguments
[global,os,appliance,host]=index. Specify which version of rulename to remove os=linux, appliance=login, or host=compute-0-0. global, global=, and global=global all refer to the global category. cannot be wildcarded. Specifying just a rulename defaults to the global category
The particular rule to remove. Cannot be wildcarded
examples
Remove the rule named ZZDRACONIAN from the global category
Remove the rule named MYRULE from compute appliances
related commands
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 database.
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 attr {host} {attr} [attr=string]
Remove an attribute for a host.
arguments
One or more hosts
The attribute name that should be removed.
parameters
Can be used in place of the attr argument.
examples
Removes the attribute cpus for host compute-0-0.
Same as above.
rocks remove host boot {host...}
Removes the boot configuration for a host
arguments
One or more named hosts.
examples
Removes the boot configuration for host compute-0-0.
Removes the boot configuration for hosts compute-0-0 and compute-0-1.
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 key {host} [id=string]
Remove a public key for a host.
arguments
A host name.
parameters
The ID of the key you wish to remove. To get the key id, execute: "rocks list host key"
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 roll {host} {name} {version} {arch} [arch=string] [name=string] [os=string] [version=string]
Removes a roll assignment to a frontend appliance.
arguments
Host name of a frontend machine.
Name of the roll (e.g., 'base').
Version of the roll (e.g., '5.2').
Architecture of the roll (e.g., 'x86_64').
parameters
Same as 'arch' argument.
Same as 'name' argument.
The OS version. The default is 'linux'.
Same as 'version' argument.
examples
Removes the assignment of the roll with name/version/arch of 'base/5.2/x86_64' to frontend-0-0-0.
related commands
rocks remove host route {host} {address} [address=string]
Remove a static route for a host.
arguments
Name of a host machine. This argument is required.
The address of the static route to remove. This argument is required.
parameters
Can be used in place of the 'address' argument.
examples
Remove the static route for the host 'compute-0-0' that has the network address '1.2.3.4'.
rocks remove host sec_attr {host} {attr}
Delete an host specific named attribute from secure attributes table
arguments
Host name
The attribute you want to remove
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 os {os}
Remove an OS definition from the system.
arguments
The OS type (e.g., "linux", "sunos").
examples
Removes the OS type "sunos" from the database.
rocks remove os attr {os} {attr} [attr=string]
Remove an attribute for an OS.
arguments
One or more OS specifications (e.g., 'linux').
The attribute name that should be removed.
parameters
Can be used in place of the attr argument.
examples
Removes the attribute sge for linux OS machines.
Same as above.
rocks remove os route {os} [address=string] [address=string]
Remove a static route for an OS type.
arguments
The OS type (e.g., 'linux', 'sunos', etc.). This argument is required.
parameters
Can be used in place of the 'address' argument.
The address of the static route to remove. This argument is required.
examples
Remove the static route for the OS 'linux' that has the network address '1.2.3.4'.
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 route {address} [address=string]
Remove a global static route.
arguments
The address of the static route to remove. This argument is required.
parameters
Can be used in place of the 'address' argument.
examples
Remove the global static route that has the network address '1.2.3.4'.
rocks remove sec_attr {attr}
Delete the named attribute from the global secure attributes table
arguments
The attribute you want to remove
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.