5.2. report

5.2.1. report host osg CE config

rocks report host osg CE config {host} [ConfigCondor=string] [ConfigFile=string] [ConfigGip=string] [ConfigManagedFork=string] [ConfigMisc=string] [ConfigNetwork=string] [ConfigSiteInfo=string] [ConfigStorage=string]

Output the OSG CE Local Configuration Script Uses Rocks Attributes: OSG_CE, OSG_Condor_MasterNetwork, OSG_Condor_ClientNetwork, Kickstart_PrivateDNSDomain

arguments

host

One host name.

parameters

[ConfigCondor=string]

Defaults to: /etc/osg/config.d/20-condor.ini

[ConfigFile=string]

Defaults to: /tmp/Reconfigure_CE_ini_files

[ConfigGip=string]

Defaults to: /etc/osg/config.d/30-gip.ini

[ConfigManagedFork=string]

Defaults to: /etc/osg/config.d/15-managedfork.ini

[ConfigMisc=string]

Defaults to: /etc/osg/config.d/10-misc.ini

[ConfigNetwork=string]

Defaults to: /etc/osg/config.d/40-network.ini

[ConfigSiteInfo=string]

Defaults to: /etc/osg/config.d/40-siteinfo.ini

[ConfigStorage=string]

Defaults to: /etc/osg/config.d/10-storage.ini

examples

$ rocks report host osg CE config ce-0-0 ConfigGip="/etc/osg/config.d/30-gip.ini.test"

Set the OSG Gip Configuration File for ce-0-0 as /etc/osg/config.d/30-gip.ini.test

5.2.2. report host osg condor config

rocks report host osg condor config {host} [ConfigFile=string] [UIDdomain=string] [type=string]

Output the OSG Condor Local Configuration Uses Rocks Attributes: OSG_Condor_Master, OSG_Condor_MasterNetwork, OSG_Condor_ClientNetwork, Kickstart_PrivateDNSDomain

arguments

host

One host name.

parameters

[ConfigFile=string]

Defaults to: /etc/condor/config.d/01_rocks_condor_config.local

[UIDdomain=string]

Override UIDdomain of the Rocks Kickstart_PrivateDNSDomain attribute

[type=string]

How this node will function - [Manager, Worker] - Default: Worker

examples

$ rocks report host osg condor config compute-0-0 type=Worker

Create the OSG Condor Configuration for compute-0-0 as a Worker Node

5.2.3. report host osg condor interface

rocks report host osg condor interface {host} {subnet}

Output the host IP address associated with a named subnet on a particular host.

arguments

host

One host name.

subnet

subnet to match

examples

$ rocks report host osg condor interface compute-0-0 private

Output the the IP Address of the private interface on compute-0-0. Suitable for using in OSG Condor Configuration Files

$ rocks report host osg condor interface vm-container-0-0 private

Output the the IP Address of the private interface on vm-container-0-0. If multiple interfaces are attached to the private interface (e.g. VLAN bridges) pick the interface with a configured address in the named subnet.

5.2.4. report host osg cvmfs config

rocks report host osg cvmfs config {host} [CMSConfigFile=string] [CVMFSServerConfigFile=string] [ConfigFile=string]

Output the OSG cvmfs Configuration Uses Rocks Attributes: OSG_CVMFS_REPOSITORIES, OSG_CVMFS_CACHE_BASE, OSG_CVMFS_QUOTA_LIMIT, OSG_CVMFS_HTTP_PROXY, OSG_CMS_LOCAL_SITE, OSG_CVMFS_SERVER_URL,OSG_CVMFS_NFS_SOURCE,OSG_CVMFS_MEMCACHE_SIZE

arguments

host

One host name.

parameters

[CMSConfigFile=string]

Defaults to: /etc/cvmfs/config.d/cms.cern.ch.local

[CVMFSServerConfigFile=string]

Defaults to: /etc/cvmfs/domain.d/cern.ch.local

[ConfigFile=string]

Defaults to: /etc/cvmfs/default.local

examples

$ rocks report host osg cvmfs config compute-0-0

Create/Modify the OSG cvmfs Configuration for compute-0-0

$ rocks report host osg cvmfs config compute-0-0 ConfigFile=/etc/cvmfs/test.local

Create the OSG cvmfs Configuration for compute-0-0 on files /etc/cvmfs/test.local, /etc/cvmfs/config.d/cms.cern.ch.local and /etc/cvmfs/domain.d/cern.ch.local

$ rocks report host osg cvmfs config compute-0-0 ConfigFile=/etc/cvmfs/test.local CVMFSServerConfigFile=/etc/cvmfs/CvmfsServerTest.local

Create the OSG cvmfs Configuration for compute-0-0 on files /etc/cvmfs/test.local, /etc/cvmfs/config.d/cms.cern.ch.local and /etc/cvmfs/CvmfsServerTest.local

5.2.5. report host osg cvmfs install

rocks report host osg cvmfs install {host}

Output the OSG cvmfs wrapper install script

arguments

host

One host name.

examples

$ rocks report host osg cvmfs install compute-0-0

Create wrapper script to install OSG cvmfs for compute-0-0

5.2.6. report host osg hadoop config

rocks report host osg hadoop config {host} [ConfigFile=string]

Output the OSG Hadoop Local Configuration Uses Rocks Attributes: OSG_HadoopNameNode, OSG_HadoopDataDir, OSG_HadoopData, OSG_HadoopSecondaryNode, OSG_HadoopCheckPointDirs, OSG_HadoopCheckPointPeriod, OSG_HadoopReplicationDefault, OSG_HadoopUpdateFstab, ganglia_address, Kickstart_PrivateDNSDomain

arguments

host

One host name.

parameters

[ConfigFile=string]

Defaults to: /etc/sysconfig/hadoop

examples

$ rocks report host osg hadoop config compute-0-0

Create the OSG Hadoop Configuration for compute-0-0

$ rocks report host osg hadoop config compute-0-0 ConfigFile=/etc/sysconfig/hadooptest

Create the OSG Hadoop Configuration for compute-0-0 on file /etc/sysconfig/hadooptest

5.2.7. report host osg installaction

rocks report host osg installaction [host...]

Report the current boot installaction for hosts. For each host supplied on the command line, this command prints the hostname, boot action and installaction for that host. The boot action describes what the host will do the next time it is booted. The installaction describes with installaction will be used.

arguments

[host]

Zero, one or more host names. If no host names are supplied, info about all the known hosts is listed.

examples

$ rocks report host osg installaction compute-0-0

List the current boot action and installaction for compute-0-0.

$ rocks report host osg installaction

List the current boot action and installaction for all known hosts.

5.2.8. report host osg squid config

rocks report host osg squid config {host} [ConfigFile=string]

Output the OSG frontier squid Local Configuration Uses Rocks Attributes: Kickstart_PublicNetmaskCIDR, Kickstart_PublicNetwork, Kickstart_PrivateNetmaskCIDR, Kickstart_PrivateNetwork, OSG_SquidCacheMem, OSG_SquidCacheDir, OSG_SquidCacheDirSize

arguments

host

One host name.

parameters

[ConfigFile=string]

Defaults to: /etc/squid/customize.sh

examples

$ rocks report host osg squid config squid-0-0

Create/Modify the OSG frontier squid Configuration for squid-0-0

$ rocks report host osg squid config squid-0-0 ConfigFile=/etc/squid/test.sh

Create the OSG frontier squid Configuration for squid-0-0 on file /etc/squid/test.sh

5.2.9. report host osg vm config

rocks report host osg vm config {host...}

Reports the XML Configuration for VM that will be handed to libvirt for startup.

arguments

host

One or more VM host names.

examples

$ rocks report host vm config compute-0-0-0

list the XML configuration of Report XML Config of VM compute-0-0-0.