HP-UX High Availability (HP0-093) Free Practice Test
Question 1
What are valid EMS HA monitors? (Choose two).
Correct Answer: A,E
Question 2
Exhibit:
**MISSING**
Which cluster ascii file excerpt is correct for the cluster diagram graphic shown?
**MISSING**
Which cluster ascii file excerpt is correct for the cluster diagram graphic shown?
Correct Answer: B
Question 3
DRAG DROP
Click the 'Configure a Serviceguard Task' button and use drag and drop to place the appropriate options into the excerpts from the file.
#/etc/cmcluster/TOYS/andy_room
HOST=$(hostname)
monitor_interval=10
case $1 in
start)
echo "Starting the application toy story on ${HOST} at $(date)
/opt/bin/toystory/start_toy_apps
echo "The application toy story started on ${HOST} at $(date)
;;
stop)
echo "Starting the application toy story on ${HOST} at $(date)
/opt/bin/toystory/put_toys_away
echo "The application toy story stopped on ${HOST} at $(date)
;;
monitor)
echo "Starting the application monitoring of toy story on ${HOST} at $(date) while true do if ps -ef | grep -v grep | grep -q toys then echo "the toy processes are there" else echo "Hide! Andy is coming!" echo "Monitoring of toy story FAILED on ${HOST} at $(date) exit 99 fi sleep ${monitor_interval} done
;;
The package has the following characteristics:
The package will be called 'toystory' and will have an IP address of 15.31.54.64 on the
15.31.54.0 network. A failure of this network will NOT affect the package running on the node. The package will run on WOODY as the primary node and fail back from BUZZ manually.
The package will mount the following veritas logical volumes with the delaylog option:
/opt/vgtoys/lvo11 /opt/bin/toystory
/opt/vgtoys/lvo12 /opt/bin/toystory/logs
/opt/vg06/datavo1 /toydata
A service process called 'andy_room_mon' will be used to monitor the health of the package. The service process will have no restarts. The starting, stopping, and monitoring is run by using the script /etc/cmcluster/TOYS/andy_room.

Click the 'Configure a Serviceguard Task' button and use drag and drop to place the appropriate options into the excerpts from the file.
#/etc/cmcluster/TOYS/andy_room
HOST=$(hostname)
monitor_interval=10
case $1 in
start)
echo "Starting the application toy story on ${HOST} at $(date)
/opt/bin/toystory/start_toy_apps
echo "The application toy story started on ${HOST} at $(date)
;;
stop)
echo "Starting the application toy story on ${HOST} at $(date)
/opt/bin/toystory/put_toys_away
echo "The application toy story stopped on ${HOST} at $(date)
;;
monitor)
echo "Starting the application monitoring of toy story on ${HOST} at $(date) while true do if ps -ef | grep -v grep | grep -q toys then echo "the toy processes are there" else echo "Hide! Andy is coming!" echo "Monitoring of toy story FAILED on ${HOST} at $(date) exit 99 fi sleep ${monitor_interval} done
;;
The package has the following characteristics:
The package will be called 'toystory' and will have an IP address of 15.31.54.64 on the
15.31.54.0 network. A failure of this network will NOT affect the package running on the node. The package will run on WOODY as the primary node and fail back from BUZZ manually.
The package will mount the following veritas logical volumes with the delaylog option:
/opt/vgtoys/lvo11 /opt/bin/toystory
/opt/vgtoys/lvo12 /opt/bin/toystory/logs
/opt/vg06/datavo1 /toydata
A service process called 'andy_room_mon' will be used to monitor the health of the package. The service process will have no restarts. The starting, stopping, and monitoring is run by using the script /etc/cmcluster/TOYS/andy_room.

Correct Answer:

Question 4
Based on the following situation, you have created a Serviceguard package that performs disk resource monitoring using EMS. When all paths to the package's shared disk are disabled, a package failover is triggered.
Situation:
- There are two nodes in the cluster:
- The shared volume group is vg01 with the following disks:
/dev/dsk/c0t6d0 with alternate path /dev/dsk/c1t2d0
/dev/dsk/c0t5d0 with alternate path /dev/dsk/c1t1d0
- The vg01 disk device names are identical on both systems.
- vg01 is already cluster-aware.
Which lines should be added to the package configuration file to allow the package to monitor the disk resource?
Situation:
- There are two nodes in the cluster:
- The shared volume group is vg01 with the following disks:
/dev/dsk/c0t6d0 with alternate path /dev/dsk/c1t2d0
/dev/dsk/c0t5d0 with alternate path /dev/dsk/c1t1d0
- The vg01 disk device names are identical on both systems.
- vg01 is already cluster-aware.
Which lines should be added to the package configuration file to allow the package to monitor the disk resource?
Correct Answer: C
Question 5
What is the correct way to shutdown node_a when it is part of a two node cluster?
Current snapshot of the cluster:
node_a - pkg1 running
node_b - pkg2 running
Current snapshot of the cluster:
node_a - pkg1 running
node_b - pkg2 running
Correct Answer: C
Question 6
In a two node cluster, two identical servers (same CPU, memory, and I/O card configurations) are designed to host the application and database servers of a 3-tier application. Under normal operations the database is hosted on server A and the application server is hosted on server B.
Which system middleware tool is helpful for rebalancing loads in the event of a single server failure, after both applications have migrated to the surviving node?
Which system middleware tool is helpful for rebalancing loads in the event of a single server failure, after both applications have migrated to the surviving node?
Correct Answer: B
Question 7
Following is an excerpt from a package control script:
SERVICE_NAME[0]="APPS_MON"
SERVICE_CMD[0]="/etc/cmcluster/APPS/APPS_MON.sh monitor"
SERVICE_RESTART[0]="-r 5"
What does the "-r 5" mean?
SERVICE_NAME[0]="APPS_MON"
SERVICE_CMD[0]="/etc/cmcluster/APPS/APPS_MON.sh monitor"
SERVICE_RESTART[0]="-r 5"
What does the "-r 5" mean?
Correct Answer: A
Question 8
DRAG DROP
Using drag and drop, arrange the steps in the correct order to build a two node packageless cluster. There is more than one correct answer.

Using drag and drop, arrange the steps in the correct order to build a two node packageless cluster. There is more than one correct answer.

Correct Answer:

Question 9
DRAG DROP
Using drag and drop, order the steps to add a package to a running two-node cluster. There is more than one correct answer.

Using drag and drop, order the steps to add a package to a running two-node cluster. There is more than one correct answer.

Correct Answer:

Question 10
Which phrases are true of a quorum server? (Choose three).
Correct Answer: B,C,D