Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ptest(8) [debian 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)

Check Out this Related Man Page

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)
Man Page

11 More Discussions You Might Find Interesting

1. IP Networking

Simulate 'try again' case

Hi, I was searching thro the topic and could not find a thread which zeroes in on the case i'm trying to simulate. Basically I have a need to simulate DNS Try again cases, without bringing the dns_sever down (by manipulating the entries in /etc/resolv.conf under 'nameserver' tag). I am so... (5 Replies)
Discussion started by: srinivasan_85
5 Replies

2. Linux

swapspace utilization.....

i just want to know that is the swapspace utilization is starts, after full utilization of memory space(ie., 100% utilization of memory)???? because i am facing the problem that swapspace utilization is 0% even the memory utilization is above 99%. please anyone suggest me...im very new to... (1 Reply)
Discussion started by: rrlog
1 Replies

3. UNIX for Advanced & Expert Users

How to save as image from a web page

I used flot to create a graph and I would like to be able to save/export the graph as an image. In firefox on windows you can just ctl rt-click and you have a save as image feature (which I can automate with js) but...I need this to work on a linux browser. On linux in firefox I can print preview... (11 Replies)
Discussion started by: vincaStar
11 Replies

4. Shell Programming and Scripting

Save abbrevations in vi

Hi, ¿how i can to save abbrevations in vi? (4 Replies)
Discussion started by: Leo Gutierrez
4 Replies

5. Shell Programming and Scripting

Need help to get the nth field of the variable

Below is the format of my file which consist of 1)BSB 2)BSB/ADS 3)CIB 4)CIB/CRH 5)CIB/DCC 6)CIB/EMD 7)CIB/GDSPresentation 8)CIB/HCH 9)CIB/HSM 10)CIB/MCH 11)CIB/RCH 12)COB 13)DCI 14)DIB 15)DIB/H2H 16)DIB/HotelSync 17)DIB/UADBA (11 Replies)
Discussion started by: rohit22hamirpur
11 Replies

6. HP-UX

memory utilization

command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies

7. UNIX for Dummies Questions & Answers

Save and Exit Gvim

Hi, Dummy here! I have a file in my directory named "jest". I wonder why I couldn't save change by using Shift + z + z which I used to do. But it work fine with :wq! command. The second thing is, after several time of accessing the file, I notice my directory appears many files named jest~,... (1 Reply)
Discussion started by: Xierian
1 Replies

8. Programming

Save output in text C++

Hi , i want to save the output of my c ++ code to a text file which is in a particular path : this is part of my code and I dunno where I am doing it wrong do { for( int i = 0; i < l; ++i ) { std::cout << 1 + k * i + index << ' '; } ... (2 Replies)
Discussion started by: siya@
2 Replies

9. Emergency UNIX and Linux Support

Load spike

Hi, I would try to find out the load spike of memory utilization in the Servers before 2-3 hours ago., As the alerts are being triggering out by the altering system. I try to find out the utilization via the sar command, but how come I know which user and command is consuming more of memory... (6 Replies)
Discussion started by: gsiva
6 Replies

10. Shell Programming and Scripting

Bash script to add multiple resources to NFS pacemaker cluster

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)
Discussion started by: hburnswell
6 Replies

11. UNIX for Beginners Questions & Answers

Save line from text in variable

Hi, I wrote a csh script where I want to save in a loop each time a different line from a text file (att_file) in the $name variable. But it seems not to work. att_file looks like: 123123123 345345345 345345345 set name = `head -n $count $att_file | tail -n 1 | awk '{print $1}'` Do... (3 Replies)
Discussion started by: MLImag
3 Replies