Oracle 11gR2構(gòu)建RAC之(3)--安裝grid前環(huán)境檢測
在城關(guān)等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站建設(shè)、成都網(wǎng)站制作 網(wǎng)站設(shè)計制作按需搭建網(wǎng)站,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站設(shè)計,網(wǎng)絡(luò)營銷推廣,成都外貿(mào)網(wǎng)站建設(shè)公司,城關(guān)網(wǎng)站建設(shè)費用合理。系統(tǒng)環(huán)境:
操作系統(tǒng):RedHat EL5
Cluster: Oracle GI(Grid Infrastructure)
Oracle: Oracle 11.2.0.1.0
如圖所示:RAC 系統(tǒng)架構(gòu)
三、安裝GI之前,可以以grid用戶的身份對環(huán)境進行檢測。
以grid 用戶的身份校驗安裝環(huán)境(在grid的安裝軟件包目錄下)
[grid@node1 grid]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -fixup -verbose ---在檢測中會提示,“failed”的位置,需要fixup. 1、需要安裝的軟件包(all nodes) 配置yum安裝環(huán)境: [root@node1 yum.repos.d]# cp rhel-debuginfo.repo yum.repo [root@node1 yum.repos.d]# ls rhel-debuginfo.repo yum.repo [root@node1 yum.repos.d]# cat yum.repo [Base] name=Red Hat Enterprise Linux baseurl=file:///media/Server enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 掛載linux ISO 光盤: [root@node1 yum.repos.d]#mount /dev/hdc /media 安裝軟件: libaio-devel.i386 0:0.3.106-5 sysstat.i386 0:7.0.2-3.el5 unixODBC-2.2.11-7.1 unixODBC-devel-2.2.11-7.1 unixODBC-kde-2.2.11-7.1 2、配置用戶之間的信任關(guān)系(oracle和grid) 建立節(jié)點之間oracle 、grid 用戶之間的信任(通過ssh 建立公鑰和私鑰) =====Oracle========== 1)生成密鑰對(all nodes) [oracle@node1 ~]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/oracle/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/oracle/.ssh/id_rsa. Your public key has been saved in /home/oracle/.ssh/id_rsa.pub. The key fingerprint is: 64:a6:4a:77:db:33:a4:aa:6e:ca:8f:5f:2f:77:0f:40 oracle@node1 [oracle@node1 ~]$ ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/oracle/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/oracle/.ssh/id_dsa. Your public key has been saved in /home/oracle/.ssh/id_dsa.pub. The key fingerprint is: 7c:41:b5:0f:81:06:ad:30:07:4f:8b:1a:9b:94:68:14 oracle@node1 2)配置信任關(guān)系 [oracle@node1 ~]$ ls .ssh id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts [oracle@node1 ~]$ cat .ssh/id_rsa.pub >>.ssh/authorized_keys [oracle@node1 ~]$ cat .ssh/id_dsa.pub >>.ssh/authorized_keys [oracle@node1 ~]$ ssh node2 cat .ssh/id_rsa.pub >>.ssh/authorized_keys oracle@node2's password: [oracle@node1 ~]$ ssh node2 cat .ssh/id_dsa.pub >>.ssh/authorized_keys oracle@node2's password: [oracle@node1 ~]$ scp .ssh/authorized_keys node2:~/.ssh oracle@node2's password: authorized_keys 100% 1992 2.0KB/s 00:00 3)驗證信任關(guān)系 (all nodes) [oracle@node1 ~]$ ssh node2 date Thu May 2 14:46:30 CST 2013 [oracle@node1 ~]$ ssh node2-priv date The authenticity of host 'node2-priv (10.10.10.2)' can't be established. RSA key fingerprint is 16:28:88:50:27:30:92:cb:49:be:55:61:f6:c2:a1:3f. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'node2-priv,10.10.10.2' (RSA) to the list of known hosts. Thu May 2 14:47:03 CST 2013 [oracle@node1 ~]$ ssh node1 date Thu May 2 14:48:19 CST 2013 [oracle@node1 ~]$ ssh node1-priv date The authenticity of host 'node1-priv (10.10.10.1)' can't be established. RSA key fingerprint is 39:04:88:3b:54:34:3c:34:d2:df:74:37:fe:5f:92:2d. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'node1-priv,10.10.10.1' (RSA) to the list of known hosts. Thu May 2 14:48:35 CST 2013 =========grid=========== 步驟同oracle 一樣 @至此,GI安裝之前的準備工作基本完成。另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
分享文章:Oracle11gR2構(gòu)建RAC之(3)--安裝grid前環(huán)境檢測-創(chuàng)新互聯(lián)
文章URL:http://jinyejixie.com/article18/dhoogp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站改版、網(wǎng)頁設(shè)計公司、商城網(wǎng)站、網(wǎng)站設(shè)計公司、動態(tài)網(wǎng)站、用戶體驗
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容