中文字幕日韩精品一区二区免费_精品一区二区三区国产精品无卡在_国精品无码专区一区二区三区_国产αv三级中文在线

怎么更換ocr和votingdisk磁盤組

這篇文章主要講解了“怎么更換ocr和votingdisk磁盤組”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“怎么更換ocr和votingdisk磁盤組”吧!

我們提供的服務(wù)有:成都做網(wǎng)站、網(wǎng)站制作、微信公眾號(hào)開發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、甘孜州ssl等。為超過千家企事業(yè)單位解決了網(wǎng)站和推廣的問題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的甘孜州網(wǎng)站制作公司

#更換OCR

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/ocrcheck

Status of Oracle Cluster Registry is as follows :

         Version                  :          3

         Total space (kbytes)     :     262120

         Used space (kbytes)      :       2948

         Available space (kbytes) :     259172

         ID                       :  717216655

         Device/File Name         :       +OCR

                                    Device/File integrity check succeeded

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

         Cluster registry integrity check succeeded

         Logical corruption check succeeded

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/ocrconfig -add +OCR02

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/ocrcheck

Status of Oracle Cluster Registry is as follows :

         Version                  :          3

         Total space (kbytes)     :     262120

         Used space (kbytes)      :       2964

         Available space (kbytes) :     259156

         ID                       :  717216655

         Device/File Name         :       +OCR

                                    Device/File integrity check succeeded

         Device/File Name         :     +OCR02

                                    Device/File integrity check succeeded

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

         Cluster registry integrity check succeeded

         Logical corruption check succeeded

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/ocrconfig -delete +OCR

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/ocrcheck

Status of Oracle Cluster Registry is as follows :

         Version                  :          3

         Total space (kbytes)     :     262120

         Used space (kbytes)      :       2964

         Available space (kbytes) :     259156

         ID                       :  717216655

         Device/File Name         :     +OCR02

                                    Device/File integrity check succeeded

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

                                    Device/File not configured

         Cluster registry integrity check succeeded

         Logical corruption check succeeded

#更換votingdisk

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/crsctl query css votedisk

##  STATE    File Universal Id                File Name Disk group

--  -----    -----------------                --------- ---------

1. ONLINE   062be79c0d644f2ebf102c21b47b3f3b (/dev/sdb) [OCR]

Located 1 voting disk(s).

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/crsctl replace votedisk +OCR02

Successful addition of voting disk 082d31c3fd1e4f5ebf0310f8cef501d8.

Successful deletion of voting disk 062be79c0d644f2ebf102c21b47b3f3b.

Successfully replaced voting disk group with +OCR02.

CRS-4266: Voting file(s) successfully replaced

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/crsctl query css votedisk     

##  STATE    File Universal Id                File Name Disk group

--  -----    -----------------                --------- ---------

1. ONLINE   082d31c3fd1e4f5ebf0310f8cef501d8 (/dev/sde) [OCR02]

Located 1 voting disk(s).

#遷移asm實(shí)例的spfile文件

SQL> conn / as sysdba

Connected.

SQL> show parameter pfile;

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

spfile                               string      +OCR/raccluster/asmparameterfi

                                                 le/registry.253.1019126787

SQL> create pfile='/home/grid/initASM.ora' from spfile;

File created.

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/srvctl stop instance -d racdb -n ray32

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/srvctl stop instance -d racdb -n ray31

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/srvctl stop asm -o abort -f

SQL> startup pfile='/home/grid/initASM.ora';

ASM instance started

Total System Global Area 1135747072 bytes

Fixed Size                  2260728 bytes

Variable Size            1108320520 bytes

ASM Cache                  25165824 bytes

ASM diskgroups mounted

SQL> show parameter spfile

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

spfile                               string

SQL> create spfile='+OCR02' from pfile='/home/grid/initASM.ora';

File created.

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/srvctl stop asm -o abort -f

[grid@ray31 ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.4.0 Production on Mon Nov 18 15:57:40 2019

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

SQL> conn / as sysasm

Connected to an idle instance.

SQL> startup

ASM instance started

Total System Global Area 1135747072 bytes

Fixed Size                  2260728 bytes

Variable Size            1108320520 bytes

ASM Cache                  25165824 bytes

ASM diskgroups mounted

SQL> show parameter spfile

NAME                                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

spfile                               string      +OCR02/raccluster/asmparameter

                                                 file/registry.253.1024674953

SQL>

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/crsctl stop cluster -all   

[root@ray31 ~]# /u01/app/gridhome/product/11.2.0/grid_1/bin/crsctl start cluster -all   

#刪除磁盤組

#在其他節(jié)點(diǎn)執(zhí)行

SQL> alter diskgroup ocr dismount;    

Diskgroup altered.

#其中一個(gè)節(jié)點(diǎn)執(zhí)行刪除磁盤組

SQL> drop diskgroup OCR including contents;

Diskgroup dropped. 

感謝各位的閱讀,以上就是“怎么更換ocr和votingdisk磁盤組”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對(duì)怎么更換ocr和votingdisk磁盤組這一問題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!

標(biāo)題名稱:怎么更換ocr和votingdisk磁盤組
當(dāng)前網(wǎng)址:http://www.rwnh.cn/article14/jdjpge.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供做網(wǎng)站、關(guān)鍵詞優(yōu)化搜索引擎優(yōu)化、響應(yīng)式網(wǎng)站虛擬主機(jī)、App設(shè)計(jì)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站托管運(yùn)營
宽城| 博罗县| 张家川| 富裕县| 南汇区| 河北省| 陈巴尔虎旗| 伊吾县| 大姚县| 老河口市| 嘉荫县| 胶州市| 东方市| 股票| 修文县| 黑山县| 青铜峡市| 团风县| 云安县| 康平县| 大城县| 喜德县| 昆明市| 大荔县| 筠连县| 磴口县| 镇原县| 冕宁县| 安岳县| 荆门市| 拉孜县| 凤山市| 清丰县| 平塘县| 大连市| 黑水县| 定兴县| 池州市| 百色市| 桐庐县| 瑞昌市|