Showing posts with label Legato. Show all posts
Showing posts with label Legato. Show all posts

October 02, 2008

Legato Certification questions


1. Describe the functionality of an AAM Sensor?
A Sensor returns the value of the data point to a trigger.

2. When is it appropriate to configure node-specific isolation detection IP addresses instead of domain-specific isolation detection IP
addresses?
when isolation detection IP addresses are not common to all nodes


3. Which statement is true when creating a new service resource?
AAM discovers all services on all nodes when selecting the service to run.


4. What are three elements of a Resource Group? (Choose three.)
delays
Utility Processes
event messages


5. A three-node domain is configured with each of the nodes connected to two networks. A network cable attached to node A's
Network Interface Card (NIC) is accidentally detached. Later that evening, the maintenance crew unplugs power to the hub on node
A's remaining working network.
Is this statement true?
The node is considered isolated.

True


6. Which is a valid IP address for private non-routed network use?
A. 37.16.256.4
B. 117.24.103.40
C. 127.0.0.1
D. 192.168.7.69
Answer: D


7. Which two networking statements are correct? (Choose two.)
A. Routing is the same on all operating systems.
B. Routing is the same on UNIX operating systems.
C. Not all switches will route multicast traffic by default.
D. To observe the routing table on a UNIX or Windows server, you should use the netstat -nr command.
Answer: CD


8. Which three options should you consider when performing a failover in a WAN environment? (Choose three.)
isolation detection
location of DNS servers
transfer of IP addresses


9. Which two are clustering topologies? (Choose two.)
A. ring
B. star
C. one to one
D. one to none
E. many to one
Answer: CE


10. Which two statements are true about the AAM isolation detection feature? (Choose two.)
A. All agents are responsible for isolation detection.
B. Only primary agents are responsible for isolation detection.
C. If, within half of the minimum detection time, no heartbeats are received, a ping is sent to each isolation address.
D. If, within half of the minimum detection time, no heartbeats are received, a ping is sent across the verification line.

Answer: AC


11. An administrator creates five Resource Groups in AAM. What is the number of ftPerl processes running by default?
3


12. Which two tasks can occur on a secondary agent?

host a Resource Group
monitor the AAM domain


13. Which statement about AAM's Network Interface Card (NIC)-to-NIC feature is true?
A. If one NIC fails, another will be configured to take its place.
B. Communications can be routed from one NIC to another NIC.
C. If one NIC is overloaded, another NIC will be configured to assist with traffic.
D. Two NICs are paired together as a single logical NIC with twice the capacity and function.
Answer: A


14. When considering the use of a dedicated Mirroring Network, which two statements are true? (Choose two.)
A. You must set the duplex mode for the adapter to AutoSelect.
B. The NetBEUI protocol must be enabled for the mirroring network.
C. You must ensure that TCP/IP is the only network protocol on that link and all other protocols are disabled.
D. The Network Interface Card (NIC) used for mirroring must appear before the NICs used for the public network.
E. You must assign a static IP address for the dedicated link that is on a separate subnet from any domain network or public network.
Answer: CE


15. Which statement is true about AAM secondary nodes?
A. Secondary nodes provide backbone fault tolerance.
B. Secondary nodes can be the last running node in an AAM domain.
C. Secondary nodes can be the preferred node to run a Resource Group.
D. Secondary Rule Interpreters can run rules for any node on the domain.
Answer: C


16. Node alias names must _____. (Choose two.)
A. be unique
B. be listed in DNS
C. be fewer than 16 characters
D. disable NetBIOS over TCP/IP
E. be assigned to a Resource Group
Answer: AC


17. What does the mirroring for Windows 2000 Data Source require?
A. a dynamic disk
B. a private network
C. a shared disk array
D. a hardware RAID controller
Answer: B


18. Which three resource objects can be contained within a Resource Group? (Choose three.)
A. rule
B. process
C. IP address
D. Utility process
E. Network Interface Card (NIC)
Answer: BCD


19. Which three options can only be defined in a Resource Group? (Choose three.)
A. delays
B. scripts
C. event messages
D. environment variables
E. Network Interface Cards (NICs)
Answer: ABC


20. Which statement describes an AAM Utility Process?
A. A Utility Process runs using the account of the user that started it.
B. A Utility Process can transition to the failed state if its existence monitor is incorrectly written.
C. A Utility Process is an unmanaged process that can be started from the Management Console, from a Resource Group, or from a
rule.
D. When contained within a Resource Group, a Utility Process will typically run while the group is brought online, and be stopped
when the resource group is taken offline.
Answer: C

Legato - Install

Reference: http://www.oracle-base.com/articles/10g/LegatoRman10gTru64.php - by Tim

Legato Single Server Version (LSSV) 7.1 and RMAN on Tru64 5.1bLegato Single Server Version (LSSV) 7.1 is shipped on the Oracle Database 10g Companion CD, allowing RMAN to write to tape as well as disk.
OUI Install
Manual Install
Manual Uninstall
Networker
RMAN Tape Backups
OUI InstallAs the Oracle software owner move to the "Oracle Database 10g Companion CD" staging area, export the DISPLAY variable if necessary and start the installer.

cd /ccd/Disk1
export DISPLAY=clientpc:0.0
./runInstaller

Install the companion products into an existing database ORACLE_HOME. When prompted run the $ORACLE_HOME/root.sh script as root which installs the LSSV software.Add "/usr/opt/networker/bin" to the PATH variable in the root .profile file.
Manual InstallAs the root user move to the "Oracle Database 10g Companion CD" staging area, find the appropriate lsminst script and run it as follows.

su - root
cd /ccd
find . -name lsminst
-print
./Disk1/lgto/lsminst
./Disk1/stage/Components/oracle.rdbms.lsm/6.1.0.0.0/1/DataFiles/Expanded/lsm/lsminst
./Disk1/stage/Components/oracle.rdbms.lsm/6.1.0.0.0/1/DataFiles/Expanded/lsminst
./Disk1/stage/Components/oracle.rdbms.lsm/6.1.0.0.0/1/DataFiles/Expanded/lsminst/rdbms/install/lgto/lsminst
cd
./Disk1/stage/Components/oracle.rdbms.lsm/6.1.0.0.0/1/DataFiles/Expanded/lsm/
./lsminst ./stage_tmp/lsm

During the installation you will be asked several questions, most of which can be answered with the defaults with the exception of the following:

Select option 2 (Install LSSV Software)
Select option 5 (Install all
subsets)
Enter the server name to backup.

Only move on to the next stage if the installation was completed successfully.As the Oracle software owner find the liblsm.so library in the staging area, copy it to the appropriate location and create a symbolic link to it.

su - oracle
cd /ora/install/db/10.1.0/ccd
find . -name liblsm.so
-print
./Disk1/stage/Components/oracle.rdbms.lsm/6.1.0.0.0/1/DataFiles/Expanded/lsminst/lib/liblsm.so
cd
./Disk1/stage/Components/oracle.rdbms.lsm/6.1.0.0.0/1/DataFiles/Expanded/lsminst/lib/
cp
liblsm.so $ORACLE_HOME/lib/liblsm.so
ln -s $ORACLE_HOME/lib/liblsm.so
$ORACLE_HOME/lib/libobk.so

Add "/usr/opt/networker/bin" to the PATH variable in the root .profile file.
Manual Uninstall

To manually uninstall the Legato software do the following.

su - oracle
cd $ORACLE_HOME/lib
rm liblsm.so
rm libobk.so
su -
root
nsr_shutdown
# Select the appropriate line depending on the
version.
#setld -d ORCLSERV610 ORCLNODE610 ORCLCLNT610 ORCLMAN610
#setld
-d LGTOCLNT611 LGTOMAN611 LGTONODE611 LGTOSERV611
setld -d LGTOSERV710
LGTONODE710 LGTOCLNT710 LGTOMAN710

Networker

The Networker software can be accessed by issuing the following command as the root user.

export DISPLAY=clientpc:0.0
networker

Once the GUI has run you can use it to define devices, label and mount tapes etc. The scripts used later assume that the necessary tape devices have been defined and the tape being mounted is already labelled.
RMAN Tape Backups

Once the LSSV software is installed RMAN backups to tape can be done by defining the default device type as follows.

su - oracle
rman target=/
Recovery Manager: Release 10.1.0.2.0 -
Production
Copyright (c) 1995, 2004, Oracle. All rights
reserved.
connected to target database: DEV (DBID=3608529853)
RMAN>
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
old RMAN configuration
parameters:
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
new RMAN configuration
parameters:
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
new RMAN
configuration parameters are successfully stored

Once this parameter is defined RMAN uses the libobk.so library as the media manager by default. In this way RMAN is able to work with any supported third party media manager by simply creating a symbolic link called libobk.so which points to the vendors media management library, in this case liblsm.so.A tape backup can be done using a script like the following which is run from root.

#!/bin/ksh
PATH=$PATH:/usr/bin:/usr/sbin/:/sbin:/bin:/usr/opt/networker/bin;
export PATH
ORACLE_BASE=/u01/app/oracle; export
ORACLE_BASE
LOGPATH=$ORACLE_BASE/dba/logs; export
LOGPATH
LOGFILE=$LOGPATH/daily_backup.0.log; export LOGFILE
# Rotate
logs.
rm $LOGPATH/daily_backup.9.log
mv $LOGPATH/daily_backup.8.log
$LOGPATH/daily_backup.9.log
mv $LOGPATH/daily_backup.7.log
$LOGPATH/daily_backup.8.log
mv $LOGPATH/daily_backup.6.log
$LOGPATH/daily_backup.7.log
mv $LOGPATH/daily_backup.5.log
$LOGPATH/daily_backup.6.log
mv $LOGPATH/daily_backup.4.log
$LOGPATH/daily_backup.5.log
mv $LOGPATH/daily_backup.3.log
$LOGPATH/daily_backup.4.log
mv $LOGPATH/daily_backup.2.log
$LOGPATH/daily_backup.3.log
mv $LOGPATH/daily_backup.1.log
$LOGPATH/daily_backup.2.log
mv $LOGPATH/daily_backup.0.log
$LOGPATH/daily_backup.1.log
echo "Log rotate complete" >> $LOGFILE
2>&1
echo Start: `date +"%d/%m/%y %H:%M"` >> $LOGFILE
2>&1
chmod 777 $LOGFILE
# Mount the tape
nsrmm -m -f
/dev/ntape/tape0_d1 >> $LOGFILE 2>&1
sleep 240
su - oracle
<ORACLE_SID=DEV1; export ORACLE_SID
rman target=/
cmdfile='$ORACLE_BASE/dba/cmdfile' log='$LOGFILE' append
EOF
# Unmount the
tape
nsrmm -u >> $LOGFILE 2>&1
echo End: `date +"%d/%m/%y
%H:%M"` >> $LOGFILE 2>&1

The "cmdfile" referenced by this script constains the following RMAN script.

run {
backup database plus archivelog;
delete force noprompt
obsolete;
}
exit;

Obviosuly you will need to adjust any path and device names appropriately.For further information see:
Legato Single Server Version Release 7.1