Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 22 July 2009 (fedora - 01/12/10)

Section: 1 (Commandes utilisateur)


com-queryclusterconf - Queries a default or given Clusterconfiguration


com-queryclusterconf [-f|--filename value] [-v|--version] [-n|--validate] [-d|--debug] [-q|--query] [-h|--help] query [param] *


com-queryclusterconf queries a given or default clusterconfiguration. You can use the predefined queries and also query for any valid XQL-Query-String. Validation could be used if wanted.


The available options are equal to these of the old ccs_xml_query script.
Specify the path to clusterconfiguration, if not specified use /etc/cluster/cluster.conf
Outputs version
Adds debugging messages when perform a query
See query parameters for details, only for to be downwardly compatible
Validates clusterconfiguration before performing a query
Shows a short help


An overview about which queries could be used. To proceed a query call the tool with the needed parameters and append the wanted query. Usage of parameter -q/--query is optional and will have no bearing on the output.
query_xml xql
Query file with given XQL, returns first suitable xml-objekt
query_value xql
Query file with given XQL, return all suitable values separated by a space.
netdevs nodename [sep]
Lists network device names for given host separated by sep, if sep is not spezified separate by space
nodename mac
Shows nodename which belongs to given mac-address
nodeid mac
Shows nodeid which belongs to given mac-address
ip nodename dev
Shows ip-address for given hostname and network device name
master nodename dev
Shows master-device for given hostname and network device name
slave nodename dev
Shows slave-status for given hostname and network device name
mask nodename dev
Shows netmask for given hostname and network device name
gateway nodename dev
Shows gateway for given hostname and network device name
Shows hosts in hosts file type
ifconfig mac
Shows ifconfig parameter for mac
rootvolume nodename
Shows device name for the root device of given node
rootfs nodename
Shows filesystem name for root device of given node
mountopts nodename
Shows mount options for root device of given node
syslog nodename
Shows syslog server of given node
failoverdomainnodes failoverdomain [sep]
Shows all defined nodes in the given failoverdomain. Seperated by sep (default: blank)
failoverdomainprefnode failoverdomain
Shows preferred node defined in the given failoverdomain.
nodeids [sep]
Shows all nodes which are definde in clusterconfiguration. Seperated by sep (default: blank)
scsifailover nodename
Shows scsifailovertype for the given node


 $ com-queryclusterconf -d -q netdevs gfs-node1 -

Shows network device names for host gfs-node1 and associated debugging messages. Uses blank to separate entries, because no special parameter is passed.

 $ com-queryclusterconf hosts

Shows the hosts in hosts file type (e.g. gfs-node1). Uses a new line for every host.

 $ com-queryclusterconf -f /my_conf.xml query_value /cluster/clusternodes/clusternode/@name

Shows name of nodes which are defined in clusterconfiguration at /my_conf.xml. Items are seperated by a blank.



The above files are distributed and installed by the com-cluster-py package.


This manual page was written by Andrea Offermann <>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
Dieu est impitoyable. A partir d'un certain âge, il vous prend les poils
de la tête pour vous les mettre dans les oreilles.
-+- Bruce Willis -+-