--架構說明
--軟體版本
Oracle Enterprise Linux Release 5 Update 4 x86_64
Oracle Database 11g Release 2 11.2.0.1.0 x86_64
Grid Infrastructure 11.2.0.1.0 x86_64
Microsoft iSCSI Software Target 3.3
--安裝程序如下
01. 安裝Oracle Enterprise Linux Release 5 Update 4(參考文件)
02. 在每個節點安裝Oracle RAC 所需要的Packages(Package如下)
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
elfutils-libelf-devel-static-0.125
gcc-4.1.2
gcc-c++-4.1.2
glibc-2.5-24
glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
glibc-devel-2.5 (32 bit)
glibc-headers-2.5
ksh-20060214
libaio-0.3.106
libaio-0.3.106 (32 bit)
libaio-devel-0.3.106
libaio-devel-0.3.106 (32 bit)
libgcc-4.1.2
libgcc-4.1.2 (32 bit)
libstdc++-4.1.2
libstdc++-4.1.2 (32 bit)
libstdc++-devel 4.1.2
make-3.81
sysstat-7.0.2
unixODBC-2.2.11
unixODBC-2.2.11 (32 bit)
unixODBC-devel-2.2.11
unixODBC-devel-2.2.11 (32 bit)
--在每個節點配置HOSTS文件
03. [root@node1 /]# vi /etc/hosts (將以下參數新增到hosts最下方)
# Public
192.168.200.51 node1.dba.local node1
192.168.200.52 node2.dba.local node2
# Private
192.168.100.151 node1-priv.dba.local node1-priv
192.168.100.152 node2-priv.dba.local node2-priv
# Virtual
192.168.200.151 node1-vip.dba.local node1-vip
192.168.200.152 node2-vip.dba.local node2-vip
# SCAN
192.168.200.50 node-scan.dba.local node-scan
--在每個節點確認防火牆狀態(在安裝作業系統時已將防火牆關閉)
04. [root@node1 ~]# /etc/rc.d/init.d/iptables status
Firewall is stopped.
--在每個節點設定CLUSTER時間同步服務
05. [root@node1 ~]# /sbin/service ntpd stop
06. [root@node1 ~]# chkconfig ntpd off
07. [root@node1 ~]# mv /etc/ntp.conf /etc/ntp.conf.original
08. [root@node1 ~]# rm /var/run/ntpd.pid
--在每個節點設定ISCSI服務
09. 在每個節點安裝iscsi-initiator-utils軟體(Oracle Linux安裝光碟中有安裝程式)10. [root@node1 ~]# service iscsid start
11. [root@node1 ~]# chkconfig iscsid on
12. [root@node1 ~]# chkconfig iscsi on
13. [root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.200.53
--在Storage主機192.168.200.53
14. 依序展開[開始]>[所有程式]>[系統管理工具]後執行[Microsoft iSCSI 軟體目標]
15. 在[iSCSITarget-[Microsoft iSCSI 軟體目標\iSCSI 目標]]視窗中展開[Microsoft iSCSI 軟體目標],在[iSCSI目標]右鍵[建立iSCSI目標]
16. 在[iSCSI 目標建立精靈]視窗中按[下一步]
17. 在[iSCSI 目標識別]視窗中在[iSCSI目標名稱]欄位輸入[CSR]後按[下一步]
18. 在[iSCSI 啟動器識別元]視窗中的[IQN識別元]欄位按下[進階]
19. 在[進階識別元]視窗中按下[新增]
20. 在[新增/編輯識別元]視窗中按下[瀏覽]
21. 在[新增 iSCSI 啟動器]視窗中的[iSCSI 啟動器]方框中應該可以看到有兩筆紀錄(此紀錄為剛剛node1,node2發出的探索),[全選]後按下[確定]
22. 回到在[新增/編輯識別元]視窗中按下[確定]
23. 在[Microsoft iSCSI軟體目標]的警告視窗按[是]
24. 回到[進階識別元]視窗中按下[確定]
25 回到[iSCSI 啟動器識別元]視窗後按[下一步]
26. 在[完成iSCSI目標建立精靈]視窗按下[完成]
27. 在[iSCSITarget-[Microsoft iSCSI 軟體目標\iSCSI 目標]]視窗中展開[Microsoft iSCSI 軟體目標]在[iSCSI目標],在[CSR]右鍵[建立iSCSI目標的虛擬磁碟]
28. 在[虛擬磁碟建立精靈]視窗中按[下一步]
29. 在[檔案]視窗中的[檔案]欄位輸入[D:\CSR\CSR1.vhd]後按[下一步]
30. 在[大小]視窗中的[虛擬磁碟大小(MB)]欄位輸入[2048]後按[下一步]
31. 在[描述]視窗中按[下一步]
32. 在[完成虛擬磁碟建立精靈]視窗中按下[完成]
33. 重複15~32依序建立如下的iSCSI目標及磁碟
iSCSI目標名稱 磁碟目錄 容量
CSR D:\CSR\CSR1.vhd 2048 MB
DATA D:\DATA\DATA1.vhd 40960 MB
FRA D:\FRA\FRA1.vhd 40960 MB
--在每個節點自動掛載ISCSI服務主機上所有共享的儲存裝置
34. [root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.200.53
35. [root@node1 ~]# iscsiadm -m node -p 192.168.200.53 -l
--在node1查詢iSCSI Target 名稱
36. [root@node1 dev]# cd /dev/disk/by-path; ls -l *microsoft* | awk '{FS=" "; print $9 " " $10 " " $11}'
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-csr-target-lun-0 -> ../../sdd
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-data-target-lun-0 -> ../../sdc
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-fra1-target-lun-0 -> ../../sdb
--在每個節點建立55-openiscsi.rules檔案
37. vi /etc/udev/rules.d/55-openiscsi.rules (將以下內容加入檔案中)
KERNEL=="sd*", BUS=="scsi", PROGRAM="/etc/udev/scripts/iscsidev.sh %b",SYMLINK+="iscsi/%c/part%n"
--在每個節點建立scripts資料夾
38. [root@node1 ~]# mkdir -p /etc/udev/scripts
--在每個節點建立iscsidev.sh
39. [root@node1 ~]# vi /etc/udev/scripts/iscsidev.sh (將以下內容加入檔案中)
#!/bin/sh
# FILE: /etc/udev/scripts/iscsidev.sh
BUS=${1}
HOST=${BUS%%:*}
[ -e /sys/class/iscsi_host ] || exit 1
file="/sys/class/iscsi_host/host${HOST}/device/session*/iscsi_session*/targetname"
target_name=$(cat ${file})
# This is not an open-scsi drive
if [ -z "${target_name}" ]; then
exit 1
fi
echo "${target_name##*.}"
--在每個節點執行
40. [root@node1 ~]# chmod 755 /etc/udev/scripts/iscsidev.sh
--在每個節點執行
41. [root@node1 ~]# service iscsi stop
42. [root@node1 ~]# service iscsi start
--在任一節點查看udev建立成果(查到的結果會在步驟44~46中用到)
43. [root@node1 ~]# ls -l /dev/iscsi/*
/dev/iscsi/microsoft:storage-csr-target:
total 0
lrwxrwxrwx 1 root root 9 Aug 19 13:13 part -> ../../sdd
/dev/iscsi/microsoft:storage-data-target:
total 0
lrwxrwxrwx 1 root root 9 Aug 19 13:13 part -> ../../sdc
/dev/iscsi/microsoft:storage-fra1-target:
total 0
lrwxrwxrwx 1 root root 9 Aug 19 13:13 part -> ../../sdb
--在node1建立Partitions在iSCSI Volumes (建立的過程中會詢問六個問題,依序輸入n->p->1->enter->enter->w)
44. [root@node1 ~]# fdisk /dev/iscsi/microsoft:storage-csr-target/part
45. [root@node1 ~]# fdisk /dev/iscsi/microsoft:storage-data-target/part
46. [root@node1 ~]# fdisk /dev/iscsi/microsoft:storage-fra1-target/part
--在node2確認新增的Partitions
47. [root@node2 ~]# partprobe
48. [root@node2 ~]# fdisk -l
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 5221 41833260 8e Linux LVM
Disk /dev/sdb: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 40960 41943024 83 Linux
Disk /dev/sdc: 2147 MB, 2147483648 bytes
67 heads, 62 sectors/track, 1009 cylinders
Units = cylinders of 4154 * 512 = 2126848 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 1009 2095662 83 Linux
Disk /dev/sdd: 42.9 GB, 42949672960 bytes
64 heads, 32 sectors/track, 40960 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 40960 41943024 83 Linux
49. [root@node2 ~]# cd /dev/disk/by-path; ls -l *microsoft:storage* | awk '{FS=" "; print $9 " " $10 " " $11}'
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-csr-target-lun-0 -> ../../sdc
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-csr-target-lun-0-part1 -> ../../sdc1
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-data-target-lun-0 -> ../../sdd
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-data-target-lun-0-part1 -> ../../sdd1
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-fra1-target-lun-0 -> ../../sdb
ip-192.168.200.53:3260-iscsi-iqn.1991-05.com.microsoft:storage-fra1-target-lun-0-part1 -> ../../sdb1
--在每個節點建立Oracle Database及Grid軟體會用到的Groups及User
50. [root@node1 ~]# groupadd -g 1000 oinstall
51. [root@node1 ~]# groupadd -g 1200 asmadmin
52. [root@node1 ~]# groupadd -g 1201 asmdba
53. [root@node1 ~]# groupadd -g 1202 asmoper
54. [root@node1 ~]# groupadd -g 1300 dba
55. [root@node1 ~]# groupadd -g 1301 oper
56. [root@node1 ~]# useradd -u 1100 -g oinstall -G asmadmin,asmdba,asmoper grid
57. [root@node1 ~]# useradd -u 1101 -g oinstall -G dba,oper,asmdba oracle
--在每個節點變更oracle及grid密碼
58. [root@node1 /]# passwd oracle
59. [root@node1 /]# passwd grid
--在node1建立grid帳號的Login Script
60. [root@node1 ~]# su - grid
61. [grid@node1 ~]$ vi .bash_profile (將以下參數新增到.bash_profile最下方)
alias ls="ls -FA"
ORACLE_SID=+ASM1; export ORACLE_SID
ORACLE_BASE=/u01/app/grid; export ORACLE_BASE
ORACLE_HOME=/u01/app/11.2.0/grid; export ORACLE_HOME
GRID_HOME=/u01/app/11.2.0/grid; export GRID_HOME
ORACLE_PATH=/u01/app/oracle/common/oracle/sql; export ORACLE_PATH
ORACLE_TERM=xterm; export ORACLE_TERM
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin
PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
PATH=${PATH}:/u01/app/common/oracle/bin
PATH=$PATH:$ORACLE_HOME/oracm/bin:$ORACLE_HOME/OPatch
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE__HOME/ctx/lib
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export CLASSPATH
export TEMP=/tmp
export TMPDIR=/tmp
export NLS_LANG=AMERICAN_AMERICA.UTF8
export SQLPATH=~/admin/sql:/$ORACLE_HOME/sqlplus/admin
export NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"
umask 022
--在node2建立grid帳號的Login Script
62. [root@node2 ~]# su - grid
63. [grid@node2 ~]$ vi .bash_profile (將以下參數新增到.bash_profile最下方)
alias ls="ls -FA"
ORACLE_SID=+ASM2; export ORACLE_SID
ORACLE_BASE=/u01/app/grid; export ORACLE_BASE
ORACLE_HOME=/u01/app/11.2.0/grid; export ORACLE_HOME
GRID_HOME=/u01/app/11.2.0/grid; export GRID_HOME
ORACLE_PATH=/u01/app/oracle/common/oracle/sql; export ORACLE_PATH
ORACLE_TERM=xterm; export ORACLE_TERM
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin
PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
PATH=${PATH}:/u01/app/common/oracle/bin
PATH=$PATH:$ORACLE_HOME/oracm/bin:$ORACLE_HOME/OPatch
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE__HOME/ctx/lib
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export CLASSPATH
export TEMP=/tmp
export TMPDIR=/tmp
export NLS_LANG=AMERICAN_AMERICA.UTF8
export SQLPATH=~/admin/sql:/$ORACLE_HOME/sqlplus/admin
export NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"
umask 022
--在node1建立oracle帳號的Login Script
64. [grid@node1 ~]$ su - oracle
65. [oracle@node1 ~]$ vi .bash_profile (將以下參數新增到.bash_profile最下方)
alias ls="ls -FA"
ORACLE_SID=node1; export ORACLE_SID
ORACLE_UNQNAME=node; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_PATH=/u01/app/common/oracle/sql; export ORACLE_PATH
ORACLE_TERM=xterm; export ORACLE_TERM
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin
PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
PATH=${PATH}:/u01/app/common/oracle/bin
PATH=$PATH:$ORACLE_HOME/oracm/bin:$ORACLE_HOME/OPatch
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE__HOME/ctx/lib
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export CLASSPATH
export TEMP=/tmp
export TMPDIR=/tmp
export NLS_LANG=AMERICAN_AMERICA.UTF8
alias sql="sqlplus / as sysdba"
alias al='vi $ORACLE_HOME/admin/$ORACLE_SID/bdump/alert_$ORACLE_SID.log'
alias alt='tail -f'
$ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_$ORACLE_SID.log
export SQLPATH=~/admin/sql:$ORACLE_HOME/sqlplus/admin
export NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"
umask 022
--在node2建立oracle帳號的Login Script
66. [grid@node2 ~]$ su - oracle
67. [oracle@node2 ~]$ vi .bash_profile (將以下參數新增到.bash_profile最下方)
alias ls="ls -FA"
ORACLE_SID=node2; export ORACLE_SID
ORACLE_UNQNAME=node; export ORACLE_UNQNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_PATH=/u01/app/common/oracle/sql; export ORACLE_PATH
ORACLE_TERM=xterm; export ORACLE_TERM
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
PATH=.:${JAVA_HOME}/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin
PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
PATH=${PATH}:/u01/app/common/oracle/bin
PATH=$PATH:$ORACLE_HOME/oracm/bin:$ORACLE_HOME/OPatch
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE__HOME/ctx/lib
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export CLASSPATH
export TEMP=/tmp
export TMPDIR=/tmp
export NLS_LANG=AMERICAN_AMERICA.UTF8
alias sql="sqlplus / as sysdba"
alias al='vi $ORACLE_HOME/admin/$ORACLE_SID/bdump/alert_$ORACLE_SID.log'
alias alt='tail -f'
$ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_$ORACLE_SID.log
export SQLPATH=~/admin/sql:$ORACLE_HOME/sqlplus/admin
export NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"
umask 022
--在每個節點建立Oracle Base所需目錄
68. [root@node1 /]# mkdir -p /u01/app/11.2.0/grid
69. [root@node1 /]# chown -R grid:oinstall /u01
70. [root@node1 /]# mkdir -p /u01/app/oracle
71. [root@node1 /]# chown -R oracle:oinstall /u01/app/oracle
72. [root@node1 /]# chmod -R 775 /u01/
--在每個節點調整資源限制參數
73. [root@node1 ~]# vi /etc/security/limits.conf (將以下參數新增到limits.conf最下方)
oracle soft nofile 2047
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
grid soft nofile 2047
grid hard nofile 65536
grid soft nproc 2047
grid hard nproc 16384
grid soft stack 10240
grid hard stack 32768
--在每個節點修改網路參數
74. [root@node1 ~]# vi /etc/sysctl.conf (將以下參數新增到sysctl.conf)
# oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmax is 4398046511104 on x86_64
# oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmax is 4294967295 on i386
kernel.shmmax = 4398046511104
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
fs.file-max = 6815744
--在每個節點使網路參數生效
75. [root@node1 ~]# sysctl -p
--在每個節點調整登錄參數
76. [root@node1 /]# vi /etc/pam.d/login (將以下參數新增到login最下方)
session required /lib64/security/pam_limits.so
--在每個節點編輯/etc/profile檔案
77. [root@node1 /]# vi /etc/profile (將以下參數新增到profile最下方)
if [ \$USER = "oracle" ] || [ \$USER = "grid" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
--安裝設定ASMLib 2.0
78. 在每個節點安裝oracleasm-support-2.1.3-1.el5.x86_64.rpm (ORACLE LINUX安裝光碟中有此檔案)
79. 在每個節點安裝oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm (ORACLE LINUX安裝光碟中有此檔案)
80. 在每個節點安裝oracleasmlib-2.0.4-1.el5.x86_64.rpm (到網址下載 http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html#oracleasm_rhel5_amd64)
--在每個節點初始化oracleasm
81. [root@node1 ~]# /usr/sbin/oracleasm configure -i 會詢問四個問題,在詢問[Default user to own the driver interface]請輸入[grid],在詢問[Default group to own the driver interface]請輸入[asmadmin],其他都輸入[y]
82. [root@node1 ~]# /usr/sbin/oracleasm init
--在node1上Create ASM Disks
83. [root@node1 ~]# /usr/sbin/oracleasm createdisk CRSVOL1 /dev/iscsi/microsoft:storage-csr-target/part1
84. [root@node1 ~]# /usr/sbin/oracleasm createdisk DATAVOL1 /dev/iscsi/microsoft:storage-data-target/part1
85. [root@node1 ~]# /usr/sbin/oracleasm createdisk FRAVOL1 /dev/iscsi/microsoft:storage-fra1-target/part1
--在每個節點執行
86. [root@node1 ~]# /usr/sbin/oracleasm scandisks
87. [root@node1 ~]# /usr/sbin/oracleasm listdisks (應該要看到步驟83~85的DISK如下)
CRSVOL1
DATAVOL1
FRAVOL1
88. [root@node2 ~]# /usr/sbin/oracleasm scandisks
89. [root@node2 ~]# /usr/sbin/oracleasm listdisks (應該要看到步驟83~85的DISK如下)
CRSVOL1
DATAVOL1
FRAVOL1
安裝Oracle RAC 11g R2 Cluster on Oracle Linux 5.4 and iSCSI + udev (二)
安裝Oracle RAC 11g R2 Cluster on Oracle Linux 5.4 and iSCSI + udev (三)
沒有留言:
張貼留言