电脑故障

位置:IT落伍者 >> 电脑故障 >> 浏览文章

AIX 5L上安装RAC的遭遇


发布日期:2023/7/15
 

验证OS的patch(在两个节点)

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/> instfix ik IY

There was no data for IY in the fix database

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/> instfix ik IY

All filesets for IY were found

[ma]/>

安装JDK和JRE必需的Patchs

如果使用HTTP SERVER: IY JRE

如果不使用HTTP SERVER: IY JDK

或者到ibm网站download专门的JDK_bit的包

安装后会有一个专门的目录安装oracle的时候就指定这个jdk

[mb]/usr/java_> pwd

/usr/java_

[mb]/usr/java_>

[ma]/> lslpp l |grep rsct

rsctbasichacmp APPLIED RSCT Basic Function (HACMP/ES

rsctbasicrte APPLIED RSCT Basic Function

rsctclientsrte COMMITTED Supersede Entry Not really

patbasichacmp APPLIED RSCT Event Management Basic

patbasicrte APPLIED RSCT Event Management Basic

patclientshacmp

patclientsrte APPLIED RSCT Event Management Client

reauditrm APPLIED RSCT Audit Log Resource

reerrm APPLIED RSCT Event Response Resource

refsrm APPLIED RSCT File System Resource

regui APPLIED RSCT Graphical User Interface

rehostrm APPLIED RSCT Host Resource Manager

rermc APPLIED RSCT Resource Monitoring and

resec APPLIED RSCT Security

resensorrm APPLIED RSCT Sensor Resource Manager

resr APPLIED RSCT Registry

reutils APPLIED RSCT Utilities

reauditrm

reerrm COMMITTED RSCT Event Response RM Msgs

refsrm COMMITTED RSCT File System RM Msgs

regui COMMITTED RSCT GUI Msgs US English

rehostrm

rermc COMMITTED RSCT RMC Msgs US English

resec COMMITTED RSCT Security Msgs US

resensorrm

resr COMMITTED RSCT Registry Msgs US

reutils COMMITTED RSCT Utilities Msgs US

reauditrm

reerrm COMMITTED RSCT Event Response RM Msgs

refsrm COMMITTED RSCT File System RM Msgs

regui COMMITTED RSCT GUI Msgs US English

rehostrm

rermc COMMITTED RSCT RMC Msgs US English

resec COMMITTED RSCT Security Msgs US

resensorrm

resr COMMITTED RSCT Registry Msgs US

reutils COMMITTED RSCT Utilities Msgs US

rsctbasicrte APPLIED RSCT Basic Function

patbasicrte COMMITTED RSCT Event Management Basic

rermc APPLIED RSCT Resource Monitoring and

resec APPLIED RSCT Security

resr APPLIED RSCT Registry

reutils APPLIED RSCT Utilities

[ma]/>

[ma]/> lslpp l |grep i hacmp

cl APPLIED HACMP Webbased HTML

clusterdocen_USpdf APPLIED HACMP PDF Documentation US

clusterdocen_USps COMMITTED HACMP Postscript Documentation

rsctbasichacmp APPLIED RSCT Basic Function (HACMP/ES

patbasichacmp APPLIED RSCT Event Management Basic

Function (HACMP/ES Support)

patclientshacmp

Function (HACMP/ES Support)

[ma]/>

===============验证dba用户组和hagsuser组==========================

在节点

[ma]/oracle> tail /etc/group

dba:!:racle

hagsuser:!:racleroot

[ma]/oracle>

在节点

[mb]/oracle> tail /etc/group

dba:!:racle

hagsuser:!::rootoracle

[mb]/oracle>

===============验证oracle用户==========================

在节点

[ma]/oracle> cat /etc/passwd| grep oracle

oracle:!::::/oracle:/usr/bin/ksh

[ma]/oracle>

在节点

[mb]/oracle> cat /etc/passwd| grep oracle

oracle:!::::/oracle:/usr/bin/ksh

[mb]/oracle>

=配置网络=============

[ma]/> tail /etc/hosts

loopback localhost # loopback (lo) name/address

ma ma

ma_stb ma

mb mb

mb_stb mb

bepone

fepone

feptwo

ibm

[ma]/>

===================使用root用户和oracle用户验证通信===================

rlogin

在节点

[ma]/> su oracle

[ma]/oracle> id

uid=(oracle) gid=(dba) groups=(staff)(hagsuser)

[ma]/oracle> rlogin mb

*******************************************************************************

* *

* *

* 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 :

[mb]/oracle> exit

Connection closed

[ma]/oracle>

在节点

[mb]/> su oracle

[mb]/oracle> id

uid=(oracle) gid=(dba) groups=(staff)(hagsuser)

[mb]/oracle> rlogin ma

*******************************************************************************

* *

* *

* 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 :

[ma]/oracle> exit

Connection closed

[mb]/oracle>

rcp和rsh

在节点

[ma]/oracle> id

uid=(oracle) gid=(dba) groups=(staff)(hagsuser)

[ma]/oracle> rcp rootsh mb:/tmp

[ma]/oracle> rsh mb ls l /tmp/rootsh

rwxrxrx oracle dba Dec : /tmp/rootsh

[ma]/oracle>

在节点

[mb]/oracle> id

uid=(oracle) gid=(dba) groups=(staff)(hagsuser)

[mb]/oracle> rcp rootsh ma:/tmp/rootsh

[m

上一篇:用发行版光盘引导修复lilo

下一篇:Statspack的安装使用说明