|
|
$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 10.12.32.191 netmask ffffff00 broadcast 10.12.32.255
groupname sc_ipmp0
e1000g2: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
e1000g3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
$ hostname
tst-rac01-ud-us-eqx
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER> mtu 1500 index 2
inet 10.12.32.191 netmask ffffff00 broadcast 10.12.32.255
groupname sc_ipmp0
ether 0:14:4f:7e:8e:ea
e1000g2: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
ether 0:14:4f:7e:8e:ec
e1000g3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 3
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
ether 0:14:4f:7e:8e:ed
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 5
inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:1
$ more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
10.12.32.191 tst-rac01-ud-us-eqx tst-rac01 loghost
#
# for cluster:
10.12.32.192 tst-rac02-ud-us-eqx tst-rac02
# vips for each node
10.12.32.203 racdev2vip tst-rac02-ud-us-eqx-vip
10.12.32.204 racdev1vip tst-rac01-ud-us-eqx-vip
#10.12.32.203 tst-rac02-ud-us-eqx-vip
#10.12.32.204 tst-rac01-ud-us-eqx-vip
#
# Private ip for interconnects
172.16.0.129 tst-rac01-ud-us-eqx-priv tst-rac01-priv clusternode1-priv
172.16.0.130 tst-rac02-ud-us-eqx-priv tst-rac02-priv clusternode2-priv
$ more .profile
ORACLE_BASE=/opt/app/oracle
ORA_CRS_HOME=/opt/app/oracle/product/10.2.0/crs_1
ORACLE_HOME=/opt/app/oracle/product/10.2.0/db_1
export ORACLE_BASE ORA_CRS_HOME ORACLE_HOME
#
PATH=/usr/ccs/bin:$PATH:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin:$ORACLE_HOME/OPatch
#PATH=/usr/ccs/bin:$PATH
#
umask 022
set -o vi
ulimit -s unlimited
ulimit -n 8192
# su - root
# more .profile
CRS_HOME=/opt/app/oracle/product/10.2.0/crs_1
export CRS_HOME
PATH=$PATH:$CRS_HOME/bin
#more /etc/system
*oracle
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
*oracle
$ ./rda.sh -T hcve (on two nodes)
Processing HCVE tests ...
Available Pre-Installation Rule Sets:
1. Oracle Database 10g R1 (10.1.0) PreInstall (solaris)
2. Oracle Database 10g R2 (10.2.0) PreInstall (solaris)
3. Oracle Application Server 10g (9.0.4) PreInstall (solaris)
4. Oracle Application Server 10g R2 (10.1.2) PreInstall (solaris)
5. Oracle Portal PreInstall (generic)
Available Post-Installation Rule Sets:
6. Oracle Portal PostInstall (generic)
7. Data Guard PostInstall (generic)
Enter the HCVE rule set number
Hit 'Return' to accept the default (1)
> 2
Enter value for < Planned ORACLE_HOME location or if set >
Hit 'Return' to accept the default ($ORACLE_HOME)
> /opt/app/oracle/product/10.2.0/db_1
Test "Oracle Database 10g R2 (10.2.0) PreInstall (solaris)" executed at Sun Jun 3 20:54:59 2007
Test Results
~~~~~~~~~~~~
ID NAME RESULT VALUE
===== ==================== ====== ========================================
10 OS certified? PASSED Certified with 10gR2 RDBMS
20 User in /etc/passwd? PASSED userOK
30 Group in /etc/group? PASSED GroupOK
40 Input ORACLE_HOME RECORD /opt/app/oracle/product/10.2.0/db_1
50 ORACLE_HOME valid? PASSED OHexists
60 O_H perms OK? PASSED CorrectPerms
70 Umask set to 022? PASSED UmaskOK
80 LDLIBRARYPATH unset? PASSED UnSet
90 LDLIBRARYPATH64 unse PASSED UnSet
100 Other O_Hs in PATH? PASSED NoneFound
110 oraInventory perms PASSED oraInventoryNotFound
120 /tmp adequate? PASSED TempSpaceOK
130 Swap (in Mb) RECORD 7785
140 RAM (in Mb) PASSED 8184
150 SwapToRAM OK? FAILED SwapLessThanRAM
160 Disk Space OK? PASSED DiskSpaceOK
170 Kernel params OK? PASSED Obsoleted
180 Got ld,nm,ar,make? PASSED ld_nm_ar_make_Found
190 ulimits OK? PASSED ulimitOK
200 Got OS packages? PASSED All required OS packages are installed
210 Got OS patches? PASSED adequate
215 Kernel level OK? PASSED adequate
220 Other OUI up? PAS
SED NoOtherOUI
230 Cluster info PASSED TestCompleted
Result file: /export/home/oracle/rda/output/RDA_HCVE_A201DB10R2_sol_res.htm
$./runcluvfy.sh stage -pre crsinst -n tst-rac01-ud-us-eqx,tst-rac02-ud-us-eqx -r 10gR2 -verbose -orainv dba
Check: Free disk space in "/tmp" dir
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
tst-rac01-ud-us-eqx 372.66MB (381600KB) 400MB (409600KB) failed
tst-rac02-ud-us-eqx 482.62MB (494208KB) 400MB (409600KB) passed
Result: Free disk space check passed.
*****************************
set up ssh trust on all nodes:
$ /usr/bin/ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/export/home/oracle/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /export/home/oracle/.ssh/id_rsa.
Your public key has been saved in /export/home/oracle/.ssh/id_rsa.pub.
The key fingerprint is:
19:87:e7:7d:9e:3f:f4:ad:48:72:21:d2:ac:83:22:bb oracle@tst-rac02-ud-us-eqx
$ /usr/bin/ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/export/home/oracle/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /export/home/oracle/.ssh/id_dsa.
Your public key has been saved in /export/home/oracle/.ssh/id_dsa.pub.
The key fingerprint is:
00:a2:71:58:59:5d:0a:70:04:7f:6c:06:b9:b1:dc:04 oracle@tst-rac02-ud-us-eqx
On node 1:
$ hostname
tst-rac01-ud-us-eqx
$ ssh tst-rac01-ud-us-eqx cat /export/home/oracle/.ssh/id_rsa.pub >>authorized_keys
The authenticity of host 'tst-rac01-ud-us-eqx (10.12.32.191)' can't be established.
RSA key fingerprint is 1b:ce:1b:26:41:32:7c:86:df:ac:16:7f:a4:e1:d6:31.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'tst-rac01-ud-us-eqx,10.12.32.191' (RSA) to the list of known hosts.
WARNING: This is a restricted access server. If you do not have explicit
permission to access this server, please disconnect immediately.
Unauthorized access to this system is considered gross misconduct and
may result in disciplinary action, including revocation of SWAN access
privileges, immediate termination of employment, and/or prosecution to
the fullest extent of the law. |
|