Reference Architecture: Consolidating Oracle Databases with Secure Resource Partitions in a Serviceguard Cluster Whitepaper
15
# srp -start MKTPRD
***********************************************
Compartment MKTPRD startup in progress
Mon Nov 9 16:16:58 PST 2009
***********************************************
Configure LAN interfaces.................................... [ OK ]
Starting file systems in /var/hpsrp/MKTPRD/etc/fstab...... [ OK ]
Starting HP-UX Secure Shell................................. [ OK ]
# bdf | grep MKTPRD
/dev/vgMKTPRD/MKTPRD
10485760 20243 9811546 0% /var/hpsrp/MKTPRD
/dev/vgMKTPRD/MKTPRD_DB
10485760 20062 9811599 0% /var/hpsrp/MKTPRD/u02
/dev/vgMKTPRD/MKTPRD_SW
10485760 20062 9811599 0% /var/hpsrp/MKTPRD/u01
Task 5: Logging in to the SRP
# ssh ora_mkt@ 192.1.1.11
The authenticity of host ' 192.1.1.11 (192.1.1.11)' can't be established.
RSA key fingerprint is f7:e8:cf:ef:5a:b0:78:f9:4d:c7:af:8b:ea:1b:41:bc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ' 192.1.1.11' (RSA) to the list of known hosts.
Password:
$ id
uid=200(ora_mkt) gid=200(mkt_dba)
$ pwd
/var/hpsrp/MKTPRD/home/ora_mkt
$ getprocxsec -c
cmpt= MKTPRD
$ ps -ef
UID PID PPID C STIME TTY TIME COMMAND
root 28397 28291 0 14:30:16 ? 0:00 sshd: ora_mkt [priv]
ora_mkt 28465 28401 1 14:33:18 pts/0 0:00 ps -ef
root 28291 1 0 14:24:17 ? 0:00 /opt/ssh/sbin/sshd -f
/var/hpsrp/MKTPRD/opt/ssh/sshd_config
ora_mkt 28401 28399 4 14:30:22 pts/0 0:00 -sh
For Serviceguard integration, you must manually configure the SRP LAN interface and
mount the file systems for the SRP before executing srp –start. You only need to
perform these additional steps during the initial configuration/setup process. These steps
are not required after the Serviceguard package is created and used to start or stop SRP.
1. Enable the SRP IP address, and create a host route to the default gateway:
# ifconfig lan0:10 192.1.1.11 netmask 255.255.255.0
# /usr/sbin/route add default 192.1.1.1 1 source 192.1.1.11
2. Add net default: gateway: 192.1.1.1
3. Mount SRP specific file systems:
# mount /dev/vgMKTPRD/MKTPRD /var/hpsrp/MKTPRD
# mount /dev/vgMKTPRD/MKTPRD_DB /var/hpsrp/MKTPRD/u02
# mount /dev/vgMKTPRD/MKTPRD_SW /var/hpsrp/MKTPRD/u01