成功安裝Oracle 11gR2 for Linux RAC,使用NFS作為共享儲存
文章來源:
1.The /etc/hosts file must contain the following information.
127.0.0.1 localhost.localdomain localhost
# Public
192.168.2.101 rac1.localdomain rac1
192.168.2.102 rac2.localdomain rac2
#Private
192.168.0.101 rac1-priv.localdomain rac1-priv
192.168.0.102 rac2-priv.localdomain rac2-priv
#Virtual
192.168.2.111 rac1-vip.localdomain rac1-vip
192.168.2.112 rac2-vip.localdomain rac2-vip
# SCAN
192.168.2.201 rac-scan.localdomain rac-scan
#NAS
192.168.2.101 nas1.localdomain nas1
2.create shared disks
First we need to set up some NFS shares. In this case we will do this on the RAC1 node, but you can do the on a NAS or a third server if you have one available. On the RAC1 node create the following directories.
mkdir /shared_config mkdir /shared_grid mkdir /shared_home mkdir /shared_data
Add the following lines to the /etc/exports file.
/shared_config *(rw,sync,no_wdelay,insecure_locks,no_root_squash) /shared_grid *(rw,sync,no_wdelay,insecure_locks,no_root_squash) /shared_home *(rw,sync,no_wdelay,insecure_locks,no_root_squash) /shared_data *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
Run the following command to export the NFS shares.
chkconfig nfs on service nfs restart
On both RAC1 and RAC2 create the directories in which the Oracle software will be installed.
mkdir -p /u01/app/11.2.0/grid mkdir -p /u01/app/oracle/product/11.2.0/db_1 mkdir -p /u01/oradata mkdir -p /u01/shared_config chown -R oracle:oinstall /u01/app /u01/app/oracle /u01/oradata /u01/shared_config chmod -R 775 /u01/app /u01/app/oracle /u01/oradata /u01/shared_config
Add the following lines to the "/etc/fstab" file.
nas1:/shared_config /u01/shared_config nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0,nolock 0 0 nas1:/shared_grid /u01/app/11.2.0/grid nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0,nolock 0 0 nas1:/shared_home /u01/app/oracle/product/11.2.0/db_1 nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0,nolock 0 0 nas1:/shared_data /u01/oradata nfs rw,bg,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768,actimeo=0,nolock 0 0
Mount the NFS shares on both servers.
mount /u01/shared_config mount /u01/app/11.2.0/grid mount /u01/app/oracle/product/11.2.0/db_1 mount /u01/oradata
Make sure the permissions on the shared directories are correct.
chown -R oracle:oinstall /u01/shared_config chown -R oracle:oinstall /u01/app/11.2.0/grid chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1 chown -R oracle:oinstall /u01/oradata
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90618/viewspace-1061865/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC歸檔配置方案:使用NFS共享儲存儲存歸檔檔案NFS
- 使用NFS作為Glance儲存後端NFS後端
- NFS共享儲存NFS
- NFS共享儲存服務NFS
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- oracle 11gr2 rac 安裝Oracle
- linux nfs共享儲存服務詳細解釋。LinuxNFS
- Oracle 11gR2 for Linux RAC 初次安裝體驗OracleLinux
- ORACLE 10g RAC 遷移共享儲存Oracle 10g
- UDEV管理RAC共享儲存dev
- openfiler配置rac共享儲存
- 【BUILD_ORACLE】Oracle 19c RAC搭建(三)使用UDEV配置共享儲存UIOracledev
- Linux CentOS 檔案共享NFS的安裝配置LinuxCentOSNFS
- solaris安裝RAC的儲存配置
- Linux平臺使用裸裝置作為檔案儲存方式Linux
- vmware設定共享儲存(RAC)
- centos7配置nfs共享儲存服務CentOSNFS
- 虛擬共享儲存:選iSCSI還是NFS?NFS
- DRBD + Heratbeat + NFS 高可用檔案共享儲存NFS
- 使用VMware ESXi Server 5.0在OEL6.1上安裝 Oracle RAC 11gR1(8)-新增共享儲存硬碟ServerOracle硬碟
- Helm3安裝Redis、RabbitMQ、ElasticSearch等並使用阿里雲CNFS作為網路儲存並共享NASRedisMQElasticsearch阿里NFS
- 將Oracle作為NoSQL文件儲存OracleSQL
- oracle 11gR2 RAC安裝與oracle 10gR2 rac 安裝時的不同點Oracle 10g
- 安裝11gr2 RAC
- oracle 11gr2 rac 虛擬安裝問題Oracle
- oracle 11gR2 rac 安裝問題總結Oracle
- oracle 11gR2 rac for aix 5310 安裝OracleAI
- AIX作業系統掛載iSCSI磁碟裝置,並建立為共享儲存AI作業系統
- 11G RAC NFS安裝文件NFS
- Oracle 共享儲存掛載Oracle
- 手把手教你用VMware安裝oracle10g RAC(10)-外傳之共享儲存的配置Oracle
- Oracle /RAC linux 安裝大全OracleLinux
- RAC 設定NFS作為歸檔目錄NFS
- linux7 靜默安裝 11GR2 RACLinux
- star帶你玩轉Oracle-零基礎openfiler共享儲存安裝Oracle 11G RAC-(1/8)-orastarOracleAST
- star帶你玩轉Oracle-零基礎openfiler共享儲存安裝Oracle 11G RAC-(2/8)-orastarOracleAST
- star帶你玩轉Oracle-零基礎openfiler共享儲存安裝Oracle 11G RAC-(3/8)-orastarOracleAST
- star帶你玩轉Oracle-零基礎openfiler共享儲存安裝Oracle 11G RAC-(4/8)-orastaOracleAST