02-24-2010
HACMP pop quiz
Hi all,
A pop quiz is being organized in my project and I've been appointed as one of the quiz-masters. This is a sample of what we are bringing forth.
Feedback is welcome.
1)Name 2 commands used to display cluster state, but doesn't use the clinfoES daemon:
a) b)
2)List the 4 commands which would - a)list RGs; b)show the RG configuration; c)shows short RG information; d)locate RGs and display status:
a) b)
c) d)
3)Write functions of the following commands:
a)clgetactivenodes:
b)get_local_nodename:
c)cllsnode:
d)clshowsrv:
e)clstat:
5)State true/false:
a)The command to list the cluster manager internal state : lssrc -ls clstrmgrES
b)The command that shows the detailed heartbeat information: lssrc -ls topsvcs
c)The command that runs VG discovery to discover all VG info: clharvest_vg -w
d)The command that runs network discovery to discover all IP based interfaces: clver -Nv
e)The command that performs certain cluster operations, from configuration to manipulation without relying on using smit: clvt
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear guys ,
I have Sun mail server ( unix 5.7 ) , I configured the sendmail on it , and it is working fine .
i was checking ( smtp and pop ) on it .
for smtp , i telnet IP address of server on port 25 and i got a reply .
for pop , i telnet IP of server on port 110 and i got the follwoing... (3 Replies)
Discussion started by: tamemi
3 Replies
2. UNIX for Dummies Questions & Answers
I have these questions for my unix class that I can't figure out because I missed a couple of days. They are for a quiz we took last week so by answering the questions you are not bettering my grade or doing my homework. I just want to understand was the answers. My teacher is really bad at... (1 Reply)
Discussion started by: djeung
1 Replies
3. Programming
Hey check this out..it's only a 10 question quiz..but it's brain storming.
http://mulogic.phpnet.us/drupal
I scored 7/10 (3 Replies)
Discussion started by: luv2beuniq
3 Replies
4. Shell Programming and Scripting
How come every post in this forum is a request for help?
How about some fun?
What does the following command do?
nawk -F'+' '
{i=NF;for(;i;i--)if($i)w++}
END{
for(k in w){c=w;x=xk",";if(c>m)m=c}
for(;m;m--)if(m in x)print m,x
}
' <(man nawk) (2 Replies)
Discussion started by: colemar
2 Replies
5. AIX
hi,
when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies
6. UNIX for Beginners Questions & Answers
Hello, I'm new to Unix and need help answering these questions if possible, thanks.
---------------------------------------------------------------------------------------
In a shell script, which command could be place at the end of a command line to combine stderr and stdout into the stdout... (1 Reply)
Discussion started by: julianpeters
1 Replies
QUIZ(6) BSD Games Manual QUIZ(6)
NAME
quiz -- random knowledge tests
SYNOPSIS
quiz [-t] [-i file] [question answer]
DESCRIPTION
The quiz utility tests your knowledge of random facts. It has a database of subjects from which you can choose. With no arguments, quiz
displays the list of available subjects.
The options are as follows:
-t Use tutorial mode, in which questions are repeated later if you didn't get them right the first time, and new questions are presented
less frequently to help you learn the older ones.
-i Specify an alternative index file.
Subjects are divided into categories. You can pick any two categories from the same subject. quiz will ask questions from the first cate-
gory and it expects answers from the second category. For example, the command ``quiz victim killer'' asks questions which are the names of
victims, and expects you to answer with the cause of their untimely demise, whereas the command ``quiz killer victim'' works the other way
around.
If you get the answer wrong, quiz lets you try again. To see the right answer, enter a blank line.
Index and Data File Syntax
The index and data files have a similar syntax. Lines in them consist of several categories separated by colons. The categories are regular
expressions formed using the following meta-characters:
pat|pat alternative patterns
{pat} optional pattern
[pat] delimiters, as in pat[pat|pat]pat
In an index file, each line represents a subject. The first category in each subject is the pathname of the data file for the subject. The
remaining categories are regular expressions for the titles of each category in the subject.
In data files, each line represents a question/answer set. Each category is the information for the question/answer for that category.
The backslash character (``'') is used to quote syntactically significant characters, or at the end of a line to signify that a continuation
line follows.
If either a question or its answer is empty, quiz will refrain from asking it.
FILES
/usr/share/games/quiz.db The default index and data files.
BUGS
quiz is pretty cynical about certain subjects.
BSD
May 31, 1993 BSD