驗證OS的patch(在兩個節點)
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/> instfix
ik IY
There was no data for IY
in the fix database
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/> instfix
ik IY
All filesets for IY
were found
[m
a]/>
安裝JDK和JRE必需的Patchs
如果使用HTTP SERVER: IY
JRE
如果不使用HTTP SERVER: IY
JDK
或者到ibm網站download專門的JDK
_
bit的包
安裝後會有一個專門的目錄
安裝oracle的時候就指定這個jdk
[m
b]/usr/java
_
> pwd
/usr/java
_
[m
b]/usr/java
_
>
[m
a]/> lslpp
l |grep rsct
rsct
basic
hacmp
APPLIED RSCT Basic Function (HACMP/ES
rsct
basic
rte
APPLIED RSCT Basic Function
rsct
clients
rte
COMMITTED Supersede Entry
Not really
pat
basic
hacmp
APPLIED RSCT Event Management Basic
pat
basic
rte
APPLIED RSCT Event Management Basic
pat
clients
hacmp
pat
clients
rte
APPLIED RSCT Event Management Client
re
auditrm
APPLIED RSCT Audit Log Resource
re
errm
APPLIED RSCT Event Response Resource
re
fsrm
APPLIED RSCT File System Resource
re
gui
APPLIED RSCT Graphical User Interface
re
hostrm
APPLIED RSCT Host Resource Manager
re
rmc
APPLIED RSCT Resource Monitoring and
re
sec
APPLIED RSCT Security
re
sensorrm
APPLIED RSCT Sensor Resource Manager
re
sr
APPLIED RSCT Registry
re
utils
APPLIED RSCT Utilities
re
auditrm
re
errm
COMMITTED RSCT Event Response RM Msgs
re
fsrm
COMMITTED RSCT File System RM Msgs
re
gui
COMMITTED RSCT GUI Msgs
U
S
English
re
hostrm
re
rmc
COMMITTED RSCT RMC Msgs
U
S
English
re
sec
COMMITTED RSCT Security Msgs
U
S
re
sensorrm
re
sr
COMMITTED RSCT Registry Msgs
U
S
re
utils
COMMITTED RSCT Utilities Msgs
U
S
re
auditrm
re
errm
COMMITTED RSCT Event Response RM Msgs
re
fsrm
COMMITTED RSCT File System RM Msgs
re
gui
COMMITTED RSCT GUI Msgs
U
S
English
re
hostrm
re
rmc
COMMITTED RSCT RMC Msgs
U
S
English
re
sec
COMMITTED RSCT Security Msgs
U
S
re
sensorrm
re
sr
COMMITTED RSCT Registry Msgs
U
S
re
utils
COMMITTED RSCT Utilities Msgs
U
S
rsct
basic
rte
APPLIED RSCT Basic Function
pat
basic
rte
COMMITTED RSCT Event Management Basic
re
rmc
APPLIED RSCT Resource Monitoring and
re
sec
APPLIED RSCT Security
re
sr
APPLIED RSCT Registry
re
utils
APPLIED RSCT Utilities
[m
a]/>
[m
a]/> lslpp
l |grep
i hacmp
cl
APPLIED HACMP Web
based HTML
cluster
doc
en_US
pdf
APPLIED HACMP PDF Documentation
U
S
cluster
doc
en_US
ps
COMMITTED HACMP Postscript Documentation
rsct
basic
hacmp
APPLIED RSCT Basic Function (HACMP/ES
pat
basic
hacmp
APPLIED RSCT Event Management Basic
Function (HACMP/ES Support)
pat
clients
hacmp
Function (HACMP/ES Support)
[m
a]/>
===============驗證dba用戶組和hagsuser組==========================
在節點
[m
a]/oracle> tail /etc/group
dba:!:
racle
hagsuser:!:
racle
root
[m
a]/oracle>
在節點
[m
b]/oracle> tail /etc/group
dba:!:
racle
hagsuser:!:
:root
oracle
[m
b]/oracle>
===============驗證oracle用戶==========================
在節點
[m
a]/oracle> cat /etc/passwd| grep oracle
oracle:!:
:
::/oracle:/usr/bin/ksh
[m
a]/oracle>
在節點
[m
b]/oracle> cat /etc/passwd| grep oracle
oracle:!:
:
::/oracle:/usr/bin/ksh
[m
b]/oracle>
=配置網絡=============
[m
a]/> tail /etc/hosts
loopback localhost # loopback (lo
) name/address
m
a m
a
m
a_stb m
a
m
b m
b
m
b_stb m
b
bepone
fepone
feptwo
ibm
[m
a]/>
===================使用root用戶和oracle用戶驗證通信
===================
rlogin
在節點
[m
a]/> su
oracle
[m
a]/oracle> id
uid=
(oracle) gid=
(dba) groups=
(staff)
(hagsuser)
[m
a]/oracle> rlogin m
b
*******************************************************************************
* *
* *
* Welcome to AIX Version
! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System
*
* *
* *
*******************************************************************************
Last unsuccessful login: Fri Dec
:
:
BEIST
on /dev/dtlogin/_
Last login: Fri Dec
:
:
BEIST
on
_
_
_
_
from
:
[m
b]/oracle> exit
Connection closed
[m
a]/oracle>
在節點
[m
b]/> su
oracle
[m
b]/oracle> id
uid=
(oracle) gid=
(dba) groups=
(staff)
(hagsuser)
[m
b]/oracle> rlogin m
a
*******************************************************************************
* *
* *
* Welcome to AIX Version
! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System
*
* *
* *
*******************************************************************************
Last unsuccessful login: Thu Dec
:
:
BEIST
on /dev/dtlogin/_
Last login: Fri Dec
:
:
BEIST
on
_
_
_
_
from
:
[m
a]/oracle> exit
Connection closed
[m
b]/oracle>
rcp和rsh
在節點
[m
a]/oracle> id
uid=
(oracle) gid=
(dba) groups=
(staff)
(hagsuser)
[m
a]/oracle> rcp root
sh m
b:/tmp
[m
a]/oracle> rsh m
b ls
l /tmp/root
sh
rwxr
xr
x
oracle dba
Dec
:
/tmp/root
sh
[m
a]/oracle>
在節點
[m
b]/oracle> id
uid=
(oracle) gid=
(dba) groups=
(staff)
(hagsuser)
[m
b]/oracle> rcp root
sh m
a:/tmp/root
sh
[m
From:http://tw.wingwit.com/Article/program/Oracle/201311/18642.html