熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Oracle >> 正文

AIX 5L上安裝RAC的遭遇

2022-06-13   來源: Oracle 

  驗證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
From:http://tw.wingwit.com/Article/program/Oracle/201311/18642.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.