Fence status - beginners problems!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Fence status - beginners problems!!
# 1  
Old 07-04-2008
Fence status - beginners problems!!

Hi,

I'd like to try and capture a fence status from Maestro and move it to another file, but each time I try it fails.

For example, when using Maestro (conman) I enter:

status

I then get the fence status showing as 0

I then create a .dat file:

touch statustest.dat

If I then try to show this fence status in statustest.dat, it doesn't work...the file remains blank

echo 'conman status' > statustest.dat

I'm pretty new to this....any ideas?

Thanks! Tim
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

IBM Power Linux Cluster Fence device on Power8 Platform

wasn't quite sure which forum to post in. What typical fence device to configure for a Power Linux PaceMaker Cluster running on the Power8 Platform (S822 Model of hardware), or what should be ordered with the S822 for use as a Fence Device? (5 Replies)
Discussion started by: mrmurdock
5 Replies

2. Red Hat

RHEL 7 PaceMaker Fence Agent Options

my options are getting very limited very fast on what agent to use with my 2 Node RHEL 7 VM Cluster. fence_vmware_soap "plug id"? I have a ESX resource cluster of 7 blades being managed by a Vsphere 6.0 server. I found the blade that the Cluster VM(s) is housed on. WTF is the plug id... (3 Replies)
Discussion started by: mrmurdock
3 Replies

3. Red Hat

PaceMaker Cluster Fence Device

I have 2 VM's setup with a shared VMware disk running RHEL 7.1 (just updated to 7.2 with yum update), and would like to know what is the easiest Fence device to implement for testing purposes. Apparently, I need a fence device before my IP resources will come online. I have the cluster... (1 Reply)
Discussion started by: mrmurdock
1 Replies

4. UNIX for Dummies Questions & Answers

UNIX for beginners

i'm just a beginner in unix environment- please help which book to read and which os to use!!! :confused: seriously i've no idea what is unix or how much capable it is!! (1 Reply)
Discussion started by: gaurav singh
1 Replies

5. Shell Programming and Scripting

awk beginners question

hi, i start using awk and have a very basic problem. here's my code: #! /usr/bin/awk -f # 2010, scz # { $1 == "test" { print $2 } } this works on the command line but not as "program" - what is the difference between awk programs on the command line and executing awk... (3 Replies)
Discussion started by: svencz
3 Replies

6. UNIX Desktop Questions & Answers

UNIX for beginners

I am new to non Windows operating systems. Does anyone have advice on which UNIX OS vendor would be good for learning purposes. I was looking for a version of UNIX that runs on the Intel platform. Do you have any recommendations on where to purchase the software? Thank you. (14 Replies)
Discussion started by: jmy113437
14 Replies

7. UNIX for Dummies Questions & Answers

electric fence

hi, i have downloaded electric fence from website,but i dnt know to install it in my system,plz tel me the procedure to install new packages into my system. (2 Replies)
Discussion started by: m.mujahid
2 Replies

8. UNIX Desktop Questions & Answers

unix course for beginners

does anyone know of a course for unix beginners (1 Reply)
Discussion started by: moose
1 Replies

9. Programming

X-programming for beginners

Good morning. Thanks for the very valuable hard-to-find information I get from you guys. Can anybody give any suggested websites or references for anyone who wants to begin learning on programming applications in X? Thanks to anyone in advance... (1 Reply)
Discussion started by: jfsuminist
1 Replies
Login or Register to Ask a Question
PACEMAKER(8)						  System Administration Utilities					      PACEMAKER(8)

NAME
Pacemaker - Part of the Pacemaker cluster resource manager SYNOPSIS
stonith_admin mode [options] DESCRIPTION
stonith_admin - Provides access to the stonith-ng API. Allows the administrator to add/remove/list devices, check device and host status and fence hosts OPTIONS
-?, --help This text -$, --version Version information -V, --verbose Increase debug output -q, --quiet Print only essential output Commands: -l, --list=value List devices that can terminate the specified host -L, --list-registered List all registered devices -I, --list-installed List all installed devices -M, --metadata Check the device's metadata -Q, --query=value Check the device's status -F, --fence=value Fence the named host -U, --unfence=value Unfence the named host -B, --reboot=value Reboot the named host -C, --confirm=value Confirm the named host is now safely down -H, --history=value Retrieve last fencing operation -R, --register=value Register the named stonith device. Requires: --agent, optional: --option -D, --deregister=value De-register the named stonith device -r, --register-level=value Register a stonith level for the named host. Requires: --index, one or more --device entries -d, --deregister-level=value De-register a stonith level for the named host. Requires: --index Options and modifiers: -a, --agent=value The agent (eg. fence_xvm) to instantiate when calling with --register -e, --env-option=value -o, --option=value -v, --device=value A device to associate with a given host and stonith level -i, --index=value The stonith level (1-9) -t, --timeout=value Operation timeout in seconds -L, --list-all legacy alias for --list-registered AUTHOR
Written by Andrew Beekhof REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org Pacemaker 1.1.7 April 2012 PACEMAKER(8)