PACEMAKER(8) System Administration Utilities PACEMAKER(8)NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_verify [modifiers] data_source
DESCRIPTION
crm_verify - Check a (complete) confiuration for syntax and common conceptual errors.
Checks the well-formedness of an XML configuration, its conformance to the configured DTD/schema and for the presence of common misconfigu-
rations.
It reports two classes of problems, errors and warnings. Errors must be fixed before the cluster will work properly. However, it is left up
to the administrator to decide if the warnings should also be fixed.
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
Data sources:
-L, --live-check
Check the configuration used by the running cluster
-x, --xml-file=value
Check the configuration in the named file
-X, --xml-text=value
Check the configuration in the supplied string
-p, --xml-pipe Check the configuration piped in via stdin
Additional Options:
-S, --save-xml=value
Save the verified XML to the named file. Most useful with -L
EXAMPLES
Check the consistency of the configuration in the running cluster:
# crm_verify --live-check
Check the consistency of the configuration in a given file and produce verbose output:
# crm_verify --xml-file file.xml --verbose
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.10-29.el7 June 2014 PACEMAKER(8)
Check Out this Related Man Page
PACEMAKER(8) System Administration Utilities PACEMAKER(8)NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
ptest [-?Vv] -[Xxp] {other options}
DESCRIPTION
ptest - Calculate the cluster's response to the supplied cluster state
Superceeded by crm_simulate and likely to be removed in a future release
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-S, --simulate
Simulate the transition's execution to find invalid graphs
-s, --show-scores
Display resource allocation scores
-U, --show-utilization
Display utilization information
-a, --all-actions
Display all possible actions - even ones not part of the transition graph
-L, --live-check
Connect to the CIB and use the current contents as input
-X, --xml-text=value
Retrieve XML from the supplied string
-x, --xml-file=value
Retrieve XML from the named file
-I, --save-input=value
Save the input to the named file
-G, --save-graph=value
Save the transition graph (XML format) to the named file
-D, --save-dotfile=value
Save the transition graph (DOT format) to the named file
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)
well i have this xml file here: this file is called filereader.xml
<?xml version="1.0" encoding="UTF-8"?>
<file>
<file1>
<filecopy>thefile.txt</filecopy>
<filecopy>thefile2.ppt</filecopy>
</file1>
</file>
hi..i got this problem....hmm how do i write a... (6 Replies)
Hello ,
I have the folowing scenario :
I have a text file as follows : (say name.txt)
ABC
DEF
XYZ
And I have one more xml file as follows : (say somexml.xml)
<Name>ABC</Name>
<Age>12</Age>
<Class>D</Class>
<Name>XYZ</Name>
<Age>12</Age>
<Class>D</Class>
<Name>DEF</Name>... (7 Replies)
In my dir there are files like
a.xml
b.xml
abnc.xml
12.abc.xml
12.anc.sfoioi.xml
I need to remove .xml from all the files
Is there any direct way without using any for/do loop
Right now i am using
for file in *
do
... (7 Replies)
Hi all,
I need a batch script to Check for existence of file say i check for files with extension xml.done in C:\Myfile.(This folder contains .xml file and its corresponding .done files)
If the .done file exists then it should FTP the corresponding .xml file to UNIX.
Is this possible to do... (6 Replies)
Hi
Need a Script. Problem is I want to increase the integer in a xml file
example
the xml file is
<name>
<school> Public School
<label>01
</label>
</school>
</name
so when every time when it gets <label> it will increase the value 01 to 02 and store the total increased valued... (7 Replies)
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Hi Everyone,
I want to convert 1 xml file to text file....
Please help in the xml file i have 4 columns....
Thanks a lot in advance.
Nilesh (6 Replies)
Hi Experts,
I am experiencing problems in running the following attached script which is to check received data from user and process it for return delivery.
I encounter the below errors and I humbly request your assistance.
#FUNCTIONS
InvalidKeyword()
{
#arg1 must be shortcode,... (5 Replies)
Hi,
I have a log file which is having some xml tags. I need to check the value for a particular xml field is null or not and if it is null i have to add current time as the value for that xml field.
I tried below code to check whether the word count is 0. But even if the xml field is null it... (16 Replies)
Hi Collegue,
i have a file say a.xml. it has contents
<bpelFault><faultType>1</faultType><genericSystemFault xmlns=""><part name="payload"><v2:Fault... (10 Replies)
All,
I'm looking for some guidance on how to accomplish automating the addition of exports to an HA Pacemaker NFS cluster. I would like to do it in bash for logistics reasons.
The resource creation command looks like this:
pcs resource create nfs-b2b-hg-media-10.1 exportfs... (6 Replies)