udev 裸裝置 安裝rac
點選( 此處 )摺疊或開啟
-
[ root@rac1 ~ ] # fdisk - l
-
-
Disk /dev/sda : 8589 MB , 8589934592 bytes
-
255 heads , 63 sectors/track , 1044 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 274 2096482 + 82 Linux swap / Solaris
-
/dev/sda3 275 1044 6185025 83 Linux
-
-
Disk /dev/sdb : 34 . 3 GB , 34359738368 bytes
-
255 heads , 63 sectors/track , 4177 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Device Boot Start End Blocks Id System
-
/dev/sdb1 1 4177 33551721 83 Linux
-
-
Disk /dev/sdc : 1073 MB , 1073741824 bytes
-
255 heads , 63 sectors/track , 130 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Disk /dev/sdc doesn 't contain a valid partition table
-
-
Disk /dev/sdd : 1073 MB, 1073741824 bytes
-
255 heads, 63 sectors/track, 130 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Disk /dev/sdd doesn't contain a valid partition table
-
-
Disk /dev/sde : 1073 MB , 1073741824 bytes
-
255 heads , 63 sectors/track , 130 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Disk /dev/sde doesn 't contain a valid partition table
-
-
Disk /dev/sdf : 8589 MB, 8589934592 bytes
-
255 heads, 63 sectors/track, 1044 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Disk /dev/sdf doesn't contain a valid partition table
-
-
Disk /dev/sdg : 8589 MB , 8589934592 bytes
-
255 heads , 63 sectors/track , 1044 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Disk /dev/sdg doesn 't contain a valid partition table
-
-
Disk /dev/sdh : 8589 MB, 8589934592 bytes
-
255 heads, 63 sectors/track, 1044 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Disk /dev/sdh doesn't contain a valid partition table
點選( 此處 )摺疊或開啟
-
[ root@rac1 ~ ] # cat /etc/udev/rules . d/60 - raw . rules
-
# Enter raw device bindings here .
-
#
-
# An example would be :
-
# ACTION = = "add" , KERNEL = = "sda" , RUN + = "/bin/raw /dev/raw/raw1 %N"
-
# to bind /dev/raw/raw1 to /dev/sda , or
-
# ACTION = = "add" , ENV{MAJOR} = = "8" , ENV{MINOR} = = "1" , RUN + = "/bin/raw /dev/raw/raw2 %M %m"
-
# to bind /dev/raw/raw2 to the device with major 8 , minor 1 .
-
-
ACTION = = "add" , KERNEL = = "sdc1" , RUN + = "/bin/raw /dev/raw/raw1 %N"
-
ACTION = = "add" , KERNEL = = "sdd1" , RUN + = "/bin/raw /dev/raw/raw2 %N"
-
ACTION = = "add" , KERNEL = = "sde1" , RUN + = "/bin/raw /dev/raw/raw3 %N"
-
ACTION = = "add" , KERNEL = = "sdf1" , RUN + = "/bin/raw /dev/raw/raw4 %N"
-
ACTION = = "add" , KERNEL = = "sdg1" , RUN + = "/bin/raw /dev/raw/raw5 %N"
-
ACTION = = "add" , KERNEL = = "sdh1" , RUN + = "/bin/raw /dev/raw/raw6 %N"
-
-
KERNEL = = "raw[1-6]" , OWNER = "grid" , GROUP = "oinstall" , MODE = "0660"
點選( 此處 )摺疊或開啟
-
[ root@rac1 raw ] # start_udev
-
Starting udev : [ OK ]
-
[ root@rac1 raw ] # ls - l
-
total 0
-
crw - rw - - - - 1 oracle oinstall 162 , 1 Apr 8 13 : 47 raw1
-
crw - rw - - - - 1 oracle oinstall 162 , 2 Apr 8 13 : 47 raw2
-
crw - rw - - - - 1 oracle oinstall 162 , 3 Apr 8 13 : 47 raw3
-
crw - rw - - - - 1 oracle oinstall 162 , 4 Apr 8 13 : 47 raw4
-
crw - rw - - - - 1 oracle oinstall 162 , 5 Apr 8 13 : 47 raw5
二節點同樣的操作,但是期初我的而節點 raw -qa 識別不出來,關機重啟後識別了,我也不知道怎麼回事。。。 。。。抽什麼瘋... ...
點選( 此處 )摺疊或開啟
-
[ grid@rac1 sshsetup ] $ sshUserSetup . sh
-
- bash : sshUserSetup . sh : command not found
-
[ grid@rac1 sshsetup ] $ . / sshUserSetup . sh - user grid - hosts "rac1 rac2" - advanced PromptPassphrase
-
The output of this script is also logged into /tmp/sshUserSetup_2015 - 04 - 08 - 16 - 31 - 36 . log
-
Hosts are rac1 rac2
./sshUserSetup.sh -user grid -hosts "rac1 rac2" -advanced -noPromptPassphrase
./sshUserSetup.sh -user oracle -hosts "rac1 rac2 " -advanced -noPromptPassphrase
oracle grid使用者都執行。
u01的盤給少了,我只給了8g,不夠 哎 重新加吧
/u01/app/oraInventory這個目錄必須是grid:oinstall的,必須和當前使用者一樣,即便是同一個組的也不行。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29990276/viewspace-1549250/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- linux udev裸裝置繫結Linuxdev
- rhel 7.x 使用 udev scsi rules 配置裸裝置dev
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- raw 裸裝置資料檔案更改其他raw裸裝置位置
- Linux裸裝置總結Linux
- AIX中的裸裝置AI
- 記錄一則AIX使用裸裝置安裝OracleRAC的問題AIOracle
- Oracle 11g RAC安裝--基於openfiler儲存+多路徑+udev方式Oracledev
- DM7使用裸裝置搭建DMRAC
- DM8 使用裸裝置搭建DMRAC
- rac靜默安裝
- 使用 udev 高效、動態地管理 Linux 裝置檔案devLinux
- 使用udev高效、動態的管理Linux裝置檔案devLinux
- 2節點RAC安裝
- 安裝RAC 19C
- CentOS 7.6 安裝11.2.0.4 RACCentOS
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- 基於裸裝置的ASM磁碟組擴容方案ASM
- Windows 11.2.0.4 RAC安裝配置以及RAC新增節點Windows
- Pulsar本地單機(偽)叢集 (裸機安裝與docker方式安裝) 2.2.0Docker
- oracle rac資料庫的安裝Oracle資料庫
- vgant 安裝oracle資料庫racOracle資料庫
- centos7 安裝ORACLE 11.2.0.4.0 RACCentOSOracle
- Solaris下Oracle RAC 11.2.0.4 安裝方法Oracle
- Linux裝置掛載和解除安裝Linux
- Oracle 11G RAC叢集安裝(2)——安裝gridOracle
- Oracle 11G RAC叢集安裝(3)——安裝OracleOracle
- 在Linux中,什麼是裝置驅動程式?如何安裝和解除安裝裝置驅動程式?Linux
- emc cx500上的基於linux的3節點rac上的裸裝置的使用和效能測試Linux
- 使用adb如何批量給裝置安裝apkAPK
- rhel7 安裝11g rac
- Oracle RAC叢集解除安裝步驟Oracle
- Linux下Oracle 11.2.0.1 RAC安裝筆記LinuxOracle筆記
- RAC之資料庫軟體安裝資料庫
- Linux下基於裸裝置建立10g資料庫Linux資料庫
- 安裝rac時需要注意的問題
- redhat7.6安裝Oracle11G RACRedhatOracle
- Oracle 11G RAC叢集安裝(1)——安裝前的準備Oracle
- CentOS7使用Docker安裝STF安卓裝置管理平臺CentOSDocker安卓