HACMP pop quiz


 
Thread Tools Search this Thread
Operating Systems AIX HACMP pop quiz
# 1  
Old 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
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Quiz help!

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

2. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

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

3. Shell Programming and Scripting

AWK quiz

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

4. Programming

C Programming Quiz

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

5. UNIX for Dummies Questions & Answers

Question for school quiz

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

6. UNIX for Dummies Questions & Answers

pop

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
Login or Register to Ask a Question
PGAEvaluate(1)							      PGAPack							    PGAEvaluate(1)

NAME
PGAEvaluate - Calls a user-specified function to return an evaluation of each string in the population. DESCRIPTION
The user-specified function is only called if the string has been changed (e.g., by crossover or mutation) or the user has explicitly sig- naled the string's evaluation is out-of-date by a call to PGASetEvaluationUpToDateFlag(). INPUT PARAMETERS
ctx - context variable pop - symbolic constant of the population to be evaluated f - a pointer to a function to evaluate a string. This function will be called once for each string in population pop that requires evaluation. This function must return a double (the evaluation function value) and must fit the prototype double f(PGAContext *c, int p, int pop); comm - an MPI communicator OUTPUT PARAMETERS
none SYNOPSIS
#include "pgapack.h" void PGAEvaluate(ctx, pop, , comm) PGAContext *ctx int pop double (*f)(PGAContext *, int, int) MPI_Comm comm LOCATION
parallel.c EXAMPLE
Example: Evaluate all strings in population PGA_NEWPOP using the user-defined evaluation function Energy. double Energy(PGAContext *ctx, int p, int pop) { : }; PGAContext *ctx; : PGAEvaluate(ctx, PGA_NEWPOP, Energy, MPI_COMM_WORLD); 05/01/95 PGAEvaluate(1)