solaris安裝RAC的儲存配置
對3臺solaris機器iscsi,連線到Netapps儲存,首先檢查安裝包
# pkginfo SUNWiscsiu SUNWiscsir
system SUNWiscsir Sun iSCSI Device Driver (root)
system SUNWiscsiu Sun iSCSI Management Utilities (usr)
# iscsiadm add discovery-address *.*.*.*:3260—配置連線到儲存IP
# iscsiadm modify discovery --sendtargets enable
--對於其中一臺機器 上面的enable並不能將服務真正開啟, 需要額外執行# /lib/svc/method/iscsi-initiator
# devfsadm -i iscsi
登入儲存頁面
LUNs->Initiator Groups->add
Type選擇iscsi 為每個連線的server一個新增initiator group
新增完成後
LUNS->Manage 為每個lun新增maping,需要map所有的server
進入一臺server,format對映的disk,如果檢視不到,則重啟iscsi服務
# iscsiadm modify discovery --sendtargets disable
# iscsiadm modify discovery --sendtargets enable
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0
1. c4t28d0
2. c4t268d0
3. c4t269d0
4. c4t270d0
5. c4t271d0
6. c4t272d0
7. c4t273d0
Specify disk (enter its number): 1
selecting c4t28d0
[disk formatted]
format> fdisk
--執行fdisk對該LUN進行分割槽
然後 使用partition 命令
順序執行以下:
2(2片區)
Root (片區型別)
Wm (可否MOUNT)
(大小直接回車就好了)
Label (這個是給硬碟打標籤 不打用不了)
依次對7個LUN執行上述步驟,然後LUN分割槽完成
然後在三臺機器上,採用oracle使用者,執行
# mkdir /export/home/ln
# ln -s -f /dev/rdsk/c4t9d0s2 /export/home/ln/ocr1
# ln -s -f /dev/rdsk/c4t10d0s2 /export/home/ln/ocr2
# ln -s -f /dev/rdsk/c4t11d0s2 /export/home/ln/vote1
# ln -s -f /dev/rdsk/c4t12d0s2 /export/home/ln/vote2
# ln -s -f /dev/rdsk/c4t13d0s2 /export/home/ln/vote3
# ln -s -f /dev/rdsk/c4t14d0s2 /export/home/ln/+data
# ln -s -f /dev/rdsk/c4t15d0s2 /export/home/ln/+arch
接著配置好各種安裝RAC前的必備環境
進行安裝cluserware的預先檢查,一開始,總報錯
# ./runcluvfy.sh stage -pre crsinst -n sodb1,sorac2 –verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "sodb1"
Destination Node Reachable?
------------------------------------ ------------------------
sodb1 yes
sorac2 yes
Result: Node reachability check passed from node "sodb1".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
sorac2 failed
sodb1 failed
Result: User equivalence check failed for user "oracle".
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
這是由於缺少兩個目錄,建立link
執行
$ ls -altr /usr/bin/ssh
-r-xr-xr-x 1 root bin 243580 Aug 7 2010 /usr/bin/ssh
$ ls -altr /usr/local/bin/ssh
/usr/local/bin/ssh: No such file or directory
$ ln -s -f /usr/bin/ssh /usr/local/bin/ssh
ln: cannot create /usr/local/bin/ssh: Permission denied
$ su
Password:
# ln -s -f /usr/bin/ssh /usr/local/bin/ssh
# ln -s -f /usr/bin/scp /usr/local/bin/scp
# ./runcluvfy.sh stage -pre crsinst -n sodb1,sorac2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "sodb1"
Destination Node Reachable?
------------------------------------ ------------------------
sodb1 yes
sorac2 yes
Result: Node reachability check passed from node "sodb1".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
sorac2 passed
sodb1 passed
Result: User equivalence check passed for user "oracle".
Pre-check for cluster services setup was unsuccessful on all the nodes.
接下來就是慣例的安裝程式了
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15480802/viewspace-692975/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- openfiler配置rac共享儲存
- solaris 10 mysql 安裝 配置MySql
- oracle 10g rac on solaris 10 x86_配置共享儲存_利用vmware server 1.0.6Oracle 10gServer
- 【Solaris】Virtualbox 安裝 Oracle Solaris 10(三) 安裝完成後初始配置Oracle
- Solaris下Oracle RAC 11.2.0.4 安裝方法Oracle
- 預安裝RAC的ServiceGuard配置
- RAC歸檔配置方案:使用NFS共享儲存儲存歸檔檔案NFS
- 手把手教你用VMware安裝oracle10g RAC(10)-外傳之共享儲存的配置Oracle
- Oracle RAC 10g for Solaris環境解除安裝(二)Oracle
- Oracle RAC 10g for Solaris環境解除安裝(一)Oracle
- vmware server 1.0.6----vmware-diskmanager配置rac共享儲存Server
- solaris mysql 安裝 解除安裝MySql
- Oracle 11g RAC安裝--基於openfiler儲存+多路徑+udev方式Oracledev
- Solaris裸裝置安裝三節點RAC102(六)
- Solaris裸裝置安裝三節點RAC102(五)
- Solaris裸裝置安裝三節點RAC102(四)
- Solaris裸裝置安裝三節點RAC102(三)
- Solaris裸裝置安裝三節點RAC102(二)
- Solaris裸裝置安裝三節點RAC102(一)
- openssh for solaris 安裝
- solaris下的gcc安裝GC
- vnc在solaris的安裝VNC
- Android儲存(3)– 裝置配置Android
- 在RAC下安裝配置OGG
- linux配置multipath 並安裝racLinux
- oracle rac安裝配置注意事項Oracle
- Oracle11g RAC+ASM安裝前儲存規劃注意事項OracleASM
- 日立儲存安裝11gRAC
- 安裝Oracle11.2 RAC for Solaris10 sparc64(五)Oracle
- 安裝Oracle11.2 RAC for Solaris10 sparc64(四)Oracle
- 安裝Oracle11.2 RAC for Solaris10 sparc64(三)Oracle
- 安裝Oracle11.2 RAC for Solaris10 sparc64(二)Oracle
- 安裝Oracle11.2 RAC for Solaris10 sparc64(一)Oracle
- Windows 11.2.0.4 RAC安裝配置以及RAC新增節點Windows
- solaris下安裝oracleOracle
- Solaris下安裝VNCVNC
- solaris 9 下ipf的配置安裝過程 版本4.1.29.doc
- Oracle10g在Solaris10上的安裝配置(轉)Oracle