rocks report bug
Report info about the system to help debug issues.
examples
Report system info.
rocks report dbhost
rocks report distro
Output the path prefix for the location of the Rocks distribution.
examples
Output the current path prefix to the distribution.
rocks report host
Report the host to IP address mapping in the form suitable for /etc/hosts.
examples
Outputs data for /etc/hosts.
rocks report host attr [host] [attr=string] [pydict=bool]
Report the set of attributes for hosts.
arguments
Host name of machine
parameters
Output just the value of a particular attribute
Output as a python-formatted dictionary. Defaults to false. Only valid if attr parameter is not specified.
examples
Report the attributes for compute-0-0.
Report the attributes for compute-0-0 as a python dictionary suitable for input to rocks report script.
Output value of the attribute called Kickstart_Lang for node compute-0-0.
related commands
rocks report host bootflags [host...]
Output the kernel boot flags for a specific host
arguments
Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.
examples
Output the kernel boot flags for compute-0-0.
rocks report host config411
rocks report host dhcpd {host}
Output the DHCP server configuration file for a specific host.
arguments
Create a DHCP server configuration for the machine named 'host'. If no host name is supplied, then generate a DHCP configuration file for this host.
examples
Output the DHCP server configuration file for frontend-0-0.
rocks report host firewall {host}
Create a report that outputs the firewall rules for a host.
arguments
Host name of machine
examples
Create a report of the firewall rules for compute-0-0.
rocks report host interface {host} [iface=string]
Output the network configuration file for a host's interface.
arguments
One host name.
parameters
Output a configuration file for this host's interface (e.g. 'eth0'). If no 'iface' parameter is supplied, then configuration files for every interface defined for the host will be output (and each file will be delineated by <file> and </file> tags).
examples
Output a network configuration file for compute-0-0's eth0 interface.
rocks report host network {host}
Outputs the network configuration file for a host (on RHEL-based machines, this is the contents of the file /etc/sysconfig/network).
arguments
One host name.
examples
Output the network configuration for compute-0-0.
rocks report host roll [host]
Create a report in XML format for a set of rolls that should be applied to a frontend's configuration.
arguments
Host name of machine
examples
Report the rolls assigned to frontend-0-0-0.
rocks report host route {host}
Create a report that contains the static routes for a host.
arguments
Host name of machine
examples
Create a report of the static routes assigned to compute-0-0.
rocks report named
Prints the nameserver daemon configuration file for the system.
examples
Outputs /etc/named.conf
rocks report resolv
Report for /etc/resolv.conf for public side nodes.
examples
Outputs data for /etc/resolv.conf for the frontend.
rocks report resolv private
Report for /etc/resolv.conf for private side nodes.
examples
Outputs data for /etc/resolv.conf for compute nodes.
rocks report script [arch=string] [attrs=string] [os=string]
Take STDIN XML input and create a shell script that can be executed on a host.
parameters
The architecture type.
Attributes to be used while building the output shell script.
The OS type.
examples
Take the network interface XML output from 'rocks report host interface' and create a shell script.
rocks report tentakel
Create a report that can be used to configure tentakel.
examples
Create a tentakel configuration file.
rocks report version
Output the version of Rocks.
examples
Output the current Rocks version.
rocks report zones
Prints out all the named zone.conf and reverse-zone.conf files in XML. To actually create these files, run the output of the command through "rocks report script"
examples
Prints contents of all the zone config files
Creates zone config files in /var/named
related commands