1. 程式人生 > >ASM磁碟組建立Grid Infrastructure 12安裝圖解(二)

ASM磁碟組建立Grid Infrastructure 12安裝圖解(二)

裝ASM和grid Infrastructure 12C

相關軟體的資訊如下

名稱

版本號

RedHat 

rhel-server-6.7-x86_64-dvd

Oracle VM VirtualBox

5.0.2

Grid Infrastructure

12.1.0.2


使用oracle使用者安裝grid Infrastructure 網格基礎設施

建立;三個組asmadmin 和asmoper並將oracle使用者加入這三個組,加完以後需要登出下主機

[[email protected] ~]# groupadd asmoper
[
[email protected]
~]# groupadd asmadmin
[[email protected] ~]# groupadd asmdba
[[email protected] ~]# usermod -a -G asmoper oracle
[[email protected] ~]# usermod -a -G asmadmin oracle
[[email protected] ~]# usermod -a -G asmdba oracle
登出下,看下是否新增成功,切換主組為oinstall組否則在檢查時會報錯,組ID錯誤
[
[email protected]
桌面]$ groups dba oinstall oper asmadmin asmoper asmdba
[[email protected] 桌面]$ newgrp oinstall

安裝開始,首先選擇僅安裝GI軟體


選擇語言,選擇您需要的語言


這裡會預設剛剛建立的三個組即可,如果沒有建立一般會有警告,可以根據需要自己決定是否需要建立


定義一下安裝目錄


先決條件檢查會有一些失敗和警告,點選修復並再次檢查


使用sudo或者root 執行修復指令碼

[[email protected] 桌面]$ sudo /tmp/CVU_12.1.0.2.0_oracle/runfixup.sh 
[sudo] password for oracle: 
All Fix-up operations were completed successfully.
[
[email protected]
桌面]$

實體記憶體警告可以忽略,網路時間NTP我沒有配置這裡也可以忽略


然後就是安裝


執行root指令碼


[[email protected] 桌面]$ sudo /u01/app/12.1.0/grid/root.sh 
[sudo] password for oracle: 
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.

To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u01/app/12.1.0/grid/perl/bin/perl -I/u01/app/12.1.0/grid/perl/lib -I/u01/app/12.1.0/grid/crs/install /u01/app/12.1.0/grid/crs/install/roothas.pl


To configure Grid Infrastructure for a Cluster execute the following command as oracle user:
/u01/app/12.1.0/grid/crs/config/config.sh
This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.


安裝完畢!

相關推薦

ASM磁碟建立Grid Infrastructure 12安裝圖解()

裝ASM和grid Infrastructure 12C 相關軟體的資訊如下 名稱 版本號 RedHat  rhel-server-6.7-x86_64-dvd Oracle VM VirtualBox 5.0.2 Grid

ASM磁碟建立Grid Infrastructure 12安裝圖解(一)

裝ASM和grid Infrastructure 12C 相關的資訊如下 名稱 版本號 RedHat  rhel-server-6.7-x86_64-dvd Oracle VM VirtualBox 5.0.2 Grid Infrastructur

Liunx安裝並配置multipath多路徑,併為oracle asm磁碟配置許可權和規則

        在生產環境中,Oracle RAC的搭建需要有共享儲存的支援,而共享儲存上的每個LUN掛載到伺服器上通常是多條路徑的,這樣就需要在伺服器上安裝多路徑軟體來整合一個LUN的多條鏈路。有的儲存廠商會有自己的多路徑軟體,但有的卻沒有,這就需要我們自己來安裝多路徑軟體

如何解除安裝並刪除ASM磁碟

1、以oracle使用者登入RAC資料庫節點1: [email protected]:~> export ORACLE_SID=+ASM1 [email protected]:~> sqlplus sys/xxxxx as sysdba S

oracle 11g 單節點安裝 ASM,找不到ASM磁碟

原因: Could notconnect to ASM due to following error ORA-01031:insufficientprivileges [[email protected] bin]# id oracle uid=54321(ora

Oracle RAC環境下ASM磁碟擴容

生產環境注意調整以下引數: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1.節點間滾

oracle RAC如何正確地刪除ASM磁碟

1.檢查確認要刪除的磁碟組是否在用 select * from dba_data_files; select * from dba_temp_files; select * from v$logfile;2.先在各節點上dismount磁碟組 alter diskgroup

udev繫結ASM磁碟

[[email protected] rules.d]# fdisk -l Disk /dev/sda: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units =

ASM 無法發現候選磁碟----丟失的ASM磁碟 ASM磁碟無法掛載

近日遇到一個問題,ASM的磁碟組無法掛載,之前是正常的,由於一些其他的操作,資料庫啟動失敗,當問題排除時候,發現在資料庫整體啟動時,掛載磁碟組的環節出現問題。 環境介紹 #######################################

記 一次asm磁碟資料遷移案例

前     言資料庫在新增資料檔案時報錯:ORA-01119,ORA-17520,ORA-00600錯誤,根據報錯無法判斷故障點,而且生產庫無法進行其他測試,比較穩妥的辦法是新建一個磁碟組,將現有的資料遷移到新的磁碟組上。環境介紹作業系統:solaris 11資料庫版本:11

ASM磁碟由哪些物理磁碟組成?

asm createdisk VOL1 /dev/sdc1 Marking disk "/dev/sdc1" as an ASM disk:                   [  OK  ] # /etc/init.d/oracleasm createdisk VOL2 /dev/sdd1 Marking

無法複製和rename ASM磁碟上的資料檔案處理方法

由於SYSTEM 資料檔案丟失,啟動資料庫時會報如下無法標識或找不到資料檔案1的錯誤: 03:47:02 [email protected]*SQL> startup; ORACLE instance started. Total System Global

oracle RAC 更換儲存遷移資料(線上遷移ASM磁碟)測試

oracle RAC 更換儲存遷移資料 我們利用ASM rebalance特性實現更換儲存遷移資料的需求 基本零宕機時間(操作步驟總結) 1)保證新儲存和RAC當前節點間的可用性; 2)新儲存劃分LUN,可以重新規劃儲存方案; 3)遷移OCR和表決盤 4)給現有ASM磁碟組

ASM磁碟異機遷移

環境: Source: OS:redhat 6.3 DB:Oralce RAC 11.2.4.0 destination: OS:redhat 6.3 DB:Oralce RAC 11.2.4.0 背景:客戶的PC機上面有兩個例項,壓力太大,需要遷移出一個例項。資料量TB級

oracle 12c GI安裝詳細步驟(oracle 12C + Grid Infrastructure(GI) + UDEV + ASM +centos6.4)

1、前面準備階段部落格: http://blog.csdn.net/kadwf123/article/details/78235488 2、scan初體驗: [[email protected] ~]# nslookup rac4 Server:  &nbs

python django建立資料庫表並連線mysql資料庫(附mysql 8.0.12安裝)

先寫下mysql zip安裝方式,在環境變數中加入mysql/bin路徑,把zip解壓到C:\program files下,在最外層資料夾建立my-default.ini 寫入內容: [mysqld]  basedir=C:\Program Files\MySQL data

oracle grid ocr磁碟丟失恢復

版本:11.2.0.4.0 Reference : OCR / Vote disk Maintenance Operations: (ADD/REMOVE/REPLACE/MOVE) (Doc ID 428681.1) CRS-4256 CRS-4602 While Replacing Voting

archlinux2018.12安裝過程,解決磁碟分割槽問題

我安裝的是2018.12版本的。 安裝過程參考:https://blog.csdn.net/r8l8q8/article/details/76516523 下文中,我將參考博文稱之為手冊。 手冊,開始的時候,要新建分割槽,用的是fdisk。我在分割槽之前,是sda1-8,沒有9-10的,

Linux-12-安裝vmware並建立虛擬機器系統(L003-26)

一、安裝VMware 傻瓜式,下一步,完成了。 二、用VMware建立虛擬機器系統 1.雙擊開啟VMware軟體,右鍵“我的計算機”,選擇新建資料夾: 建好之後如下圖: 2.點檔案-

ASM之ARCH磁碟掛了學習筆記

alter diskgroup arch mount * ERROR at line 1: ORA-15032: not all alterations performed ORA-15130: diskgroup "ARCH" is being dismounted ORA-15066: of