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


首先是建立ASM磁碟組。

1、開啟虛擬機器新增SCSI控制器


2、增加磁碟,選擇建立新的虛擬盤


3、選擇磁碟檔案型別,我這裡選擇預設第一個即可


4、選擇固定大小磁碟


5、建立一塊2G的磁碟


6、重複2-5上面建立磁碟的步驟分別建立asmdisk1-asmdisk8的8塊磁碟,最終如下所示


9、啟動虛擬機器,使用root登入,首選需要安裝oracleasm-support 外掛,使用yum安裝。

yum install kmod-oracleasm


10、使用fdisk 建立分割槽,fdisk /dev/sbd 到i按照如下 建立8個磁碟主分割槽

[[email protected] ~]# fdisk /dev/sdi
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x311a383f.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-261, default 1): 
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-261, default 261): 
Using default value 261

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

11、分割槽完畢後初始化相關oracleasm引數,使用root使用者執行oracleasm init

oracleasm init
12、配置oracleasm 的使用者為oracle 和組為oinstall
[[email protected] ~]# oracleasm configure -i
Configuring the Oracle ASM library driver.


This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets ('[]').  Hitting <ENTER> without typing an
answer will keep that current value.  Ctrl-C will abort.


Default user to own the driver interface [oracle]: 
Default group to own the driver interface [oinstall]: 
Start Oracle ASM library driver on boot (y/n) [y]:  
Scan for Oracle ASM disks on boot (y/n) [y]: 
Writing Oracle ASM library driver configuration: done

完畢後
[[email protected] ~]# oracleasm createdisk ASMDISK1 /dev/sdb1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK2 /dev/sdc1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK3 /dev/sdd1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK4 /dev/sde1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK5 /dev/sdf1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK6 /dev/sdg1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK7 /dev/sdh1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm createdisk ASMDISK8 /dev/sdi1
Writing disk header: done
Instantiating disk: done
[[email protected] ~]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[[email protected] ~]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
ASMDISK4
ASMDISK5
ASMDISK6
ASMDISK7
ASMDISK8

至此ASM建立完畢,GI的安裝待續。

相關推薦

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

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

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

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

VMware workstation批量建立虛擬機器和自動化安裝作業系統

一. 簡述 作為從事IT行業運維工作的Linuxer,大多情況下需要在測試環境中部署業務系統並進行測試,在沒有足夠的計算儲存網路條件下,使用虛擬機器進行虛擬叢集的建立和使用,是一種不錯的學習和實踐方式。 本篇部落格主要介紹如何使用VMware workstation進行虛擬

史上最詳細的Vmware安裝教程-建立Linux虛擬機器

本文將演示如何使用Vwmare workstation軟體建立Linux虛擬機器,通過學習,我們將可以按照自己下需求,來建立一個安裝Linux作業系統(Centos)的虛擬機器,虛擬機器的CPU、硬碟、網絡卡、記憶體等硬體都可以根據需要進行定製。 1. 準備Host機器(

CUPS學習四:建立安裝CUPS

    本章說明了建立及安裝CUPS(“通用UNIX列印系統”)的方法。如果你正在安裝網站中的二進位制版本的話,請閱讀下一節“安裝二進位制發行包”。1.1 安裝源版本    本部分說明了使用原始碼在系統內編譯及安裝CUPS的方法。1.1.1 獲取CUPS原始碼    你可線上

MySQL最新版5.7.12安裝教程windows

一、從官網下載ZIP Archive檔案 網址:http://dev.mysql.com/downloads/mysql/ 二、解壓 把下載好的壓縮包解壓到你想要安裝的地方 三、配置ini檔案 開啟

Centos 7.0 編譯安裝LAMPLinxu+apache+mysql+php之源碼安裝Apache

mysql apache mysql編譯安裝 apache編譯安裝 lamp編譯安裝 Apache 簡介: Apache是世界使用排名第一的Web服務器軟件。它可以運行在幾乎所有廣泛使用的計算機平臺上,由於其跨平臺和安全性被廣泛使用,是最流行的Web服務器端軟件之一。它快速、可靠

UI Recorder 安裝教程

dal html cmd width 第一個 alt -s windows http 前言: UI Recorder 是一款零成本UI自動化錄制工具,類似於Selenium IDE. UI Recorder 要比Selenium IDE更加強大! UI Recorder

MyEclipse WebSphere開發教程:WebSphere 7安裝指南

develop 技術分享 thum server file enter 操作系統 更多 launchpad 【周年慶】MyEclipse個人授權 折扣低至冰點!立即開搶>> 【MyEclipse最新版下載】 一、先決條件和系統信息 想要使用WebSphere

zabbix系列之服務端的安裝部署

zabbix zabbix_server zabbix1、zabbix的定義zabbix是一個基於WEB界面的提供分布式系統監視以及網絡監視功能的企業級的開源解決方案。zabbix能監視各種網絡參數,保證服務器系統的安全運營;並提供靈活的通知機制以讓系統管理員快速定位/解決存在的各種問題。zabbix

Zabbix3.4之安裝

entos agent roo zabb com serve arc centos 7 mysql- 實驗環境:Centos 71.下載zabbix yum 文件 [root@xiaopeng /]# cd /etc/yum.repos.d/ [root@xiaop

Zabbix 3.4之 安裝

systemctl 防火墻 sql數據庫 x86_64 mage system 啟動 輸入密碼 shang 實驗環境:Centos 7```1.下載zabbix yum 文件[root@xiaopeng /]# cd /etc/yum.repos.d/[root@x

Git安裝教程

因此 自己的 ... 不同的 zed ruby ron diff log 1.安裝下載 在Windows上使用Git,可以從Git官網直接下載安裝程序,(網速慢的同學請移步國內鏡像),然後按默認選項安裝即可。 安裝完成後,在開始菜單裏找到“Git”->“Git Bas

zabbix安裝部署

for cti spa soc x86 cor ges symlink web 一、zabbix安裝 1.系統環境 [root@zabbix ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)

Docker系列之CentOS7安裝Docker

add 程序 發布 更新 介紹 entos star alt ice 0、前言 整體架構目錄:ASP.NET Core分布式項目實戰-目錄 一、瞎扯淡(只講有用的) 感興趣的同學可以上網搜索一下docker具體的介紹。我這邊主要介紹偏實戰的內容,不喜勿噴,有問題也請

MySQL下載、安裝圖解教程

一、 下載圖解(教程) http://dev.mysql.com/downloads/ 1、點選“Downloads”—>“Community”—>“MYSQL on Windows”—>“MySQL Installer” 2、翻到網頁底部,點選“Do

MySQL下載、安裝圖解教程 圖形化安裝方式

一、 下載圖解(教程) http://dev.mysql.com/downloads/ 1、點選“Downloads”—>“Community”—>“MYSQL on Windows”—>“MySQL Installer” 2、翻到網頁底部,點選“Do

Win10子系統 linuxUbuntu18.04 安裝Docker

1.現在win10支援子系統linux,具體的安裝搭建過程可參照下面網址,不再冗餘 https://jingyan.baidu.com/article/624e74596633a034e8ba5a2b.html //切換映象源 1)原檔案備份 sudo cp /etc/apt/sources

ubuntu 18.04下greenplum安裝筆記Linux下基礎環境的搭建

背景 需要構建一個用於資料倉庫的分散式資料庫叢集。 每一個節點暫時不需要進行備份,同時也不考慮壞掉的情況。 每一個數據節點最好都不用進行過多的配置,安裝起來方便。 Greenplum的Shared-Nothing的設計思路很適合我目前的業務場景。 物理環境 4檯安裝了Linux的主機,安裝的作業系統的版本均為

【caffe】在windows平臺中安裝caffe:基礎安裝及簡單測試

基礎配置 本文中的配置:win10 + vs2015 + python2.5 + cmake3.12 + git2.15 + CUDA8.0 + cuDNN-8.0-5 在進行windows下的caffe安裝前,一定要把以上的這些軟體安裝好,並加入系統路徑中。