07-29-2019
@Chubler_XL - Thank you very much for the guidance, this appears to work as needed.
This will allow me to move forward with the rest of the needs, I will mark this as solved..
Thanks again,
HB
8 More Discussions You Might Find Interesting
1. High Performance Computing
hello,
During the cluster installation, we are required to enter a cluster name. When this name is used?
I have a shared disk between those 2 nodes. To test NFS failover, what should I do?
PS: I am using VCS 5
thanks (5 Replies)
Discussion started by: melanie_pfefer
5 Replies
2. Shell Programming and Scripting
Hello
I have a directory structure with year in format 4 digits, e.g 2009, below which is month format 1 or 2 digits, e.g 1 or 12, blow which is day format 1 or 2 digits, e.g 1 or 31.
I want to change the names of lots of directories to the be
Year - 4 digits , e.g 2009 - No change here... (4 Replies)
Discussion started by: garethsays
4 Replies
3. Shell Programming and Scripting
Hello, I am new to the whole "scripting" thing. Below is the script that I have so far and where i need the Variables to go (VAR#)
#!/bin/bash
#Sample Script
VAR1=
echo "Choose an option: 1) Create a file. 2) Delete a file. 3) Move a file."
read VAR1
case $VAR1 in
1)
echo "Pick... (4 Replies)
Discussion started by: eclerget
4 Replies
4. Shell Programming and Scripting
Hi, I have a bunch of media files in a directory that have been converted (from MTS to MOV format), so my directory contains something like this:
clip1.mts
clip1.mov
clip2.mts
clip2.mov
The problem is that the .mov files that have been created have the timestamps of the conversion task,... (2 Replies)
Discussion started by: Krakus
2 Replies
5. Homework & Coursework Questions
Hi All,
Need your help to resolve below error in cluter.
Sep 9 05:37:30 node2 rgmanager: Starting disabled service service:Prod_Service
Sep 9 05:37:30 node2 rgmanager: HA LVM: Improper setup detected
Sep 9 05:37:30 node2 rgmanager: * initrd image needs to be newer than lvm.conf... (3 Replies)
Discussion started by: nitinredekar
3 Replies
6. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
7. Shell Programming and Scripting
Hi Everybody,
I'm a newbie to shell scripting, and I'd appreciate some help. I have a bunch of .txt files that have some unwanted content. I want to remove lines 1-3 and 1028-1098.
#!/bin/bash
for '*.txt' in <path to folder>
do
sed '1,3 d' "$f";
sed '1028,1098 d' "$f";
done
I... (2 Replies)
Discussion started by: BabyNuke
2 Replies
8. Red Hat
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
LEARN ABOUT DEBIAN
crm_ticket
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_ticket (query|command) [options]
DESCRIPTION
crm_ticket - Perform tasks related to cluster tickets. Allows ticket attributes to be queried, modified and deleted.
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-Q, --quiet
Print only the value on stdout
-t, --ticket=value
Ticket ID
Queries:
-l, --info
Display the information of ticket(s)
-L, --details
Display the details of ticket(s)
-w, --raw
Display the IDs of ticket(s)
-q, --query-xml
Query the XML of ticket(s)
-c, --constraints
Display the rsc_ticket constraints that apply to ticket(s)
Commands:
-g, --grant
Grant a ticket to this cluster site
-r, --revoke
Revoke a ticket from this cluster site
-s, --standby
Tell this cluster site this ticket is standby
-a, --activate
Tell this cluster site this ticket is active
Advanced Commands:
-G, --get-attr=value
Display the named attribute for a ticket
-S, --set-attr=value
Set the named attribtue for a ticket
-D, --delete-attr=value
Delete the named attribute for a ticket
-C, --cleanup
Delete all state of a ticket at this cluster site
Additional Options:
-v, --attr-value=value
Attribute value to use with -S
-d, --default=value
(Advanced) The default attribute value to display if none is found. For use with -G
-f, --force
(Advanced) Force the action to be performed
-n, --set-name=value
(Advanced) ID of the instance_attributes object to change
-i, --nvpair=value
(Advanced) ID of the nvpair object to change/delete
EXAMPLES
Display the info of tickets:
# crm_ticket --info
Display the detailed info of tickets:
# crm_ticket --details
Display the XML of 'ticketA':
# crm_ticket --ticket ticketA --query-xml
Display the rsc_ticket constraints that apply to 'ticketA':
# crm_ticket --ticket ticketA --constraints
Grant 'ticketA' to this cluster site:
# crm_ticket --ticket ticketA --grant
Revoke 'ticketA' from this cluster site:
# crm_ticket --ticket ticketA --revoke
Make 'ticketA' standby:
The cluster site will treat a granted 'ticketA' as 'standby'. The dependent resources will be stopped or demoted gracefully without trig-
gering loss-policies
# crm_ticket --ticket ticketA --standby
Activate 'ticketA' from being standby:
# crm_ticket --ticket ticketA --activate
Get the value of the 'granted' attribute for 'ticketA':
# crm_ticket --ticket ticketA --get-attr granted
Set the value of the 'standby' attribute for 'ticketA':
# crm_ticket --ticket ticketA --set-attr standby --attr-value true
Delete the 'granted' attribute for 'ticketA':
# crm_ticket --ticket ticketA --delete-attr granted
Erase the operation history of 'ticketA' at this cluster site:
The cluster site will 'forget' the existing ticket state.
# crm_ticket --ticket ticketA --cleanup
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)