91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

11204 ASM 在線存儲遷移。

發布時間:2020-08-04 03:43:46 來源:網絡 閱讀:1796 作者:xychong123 欄目:關系型數據庫

2.1停止數據庫

shutdown immediate

2.2 掃描磁盤

echo 1 > /sys/class/fc_host/host3/issue_lip

echo 1 > /sys/class/fc_host/host4/issue_lip

3,更改磁盤屬性

chown oracle:oinstall /dev/mapper/3PART*

4,備份ocr

./ocrconfig -manualbackup 

./ocrconfig -showbackup

5,新建asm磁盤組

create diskgroup SYSDG normal redundancy disk '/dev/mapper/3PAR01VOTE01','/dev/mapper/3PAR01VOTE02','/dev/mapper/3PAR01VOTE03' attribute 'compatible.rdbms'='11.2.0.0', 'compatible.asm'='11.2.0.0';



create diskgroup SYSDG external redundancy disk '/dev/mapper/3PARVOT01','/dev/mapper/3PARVOT02','/dev/mapper/3PARVOT03';

6,遷移votedisk



crsctl query css votedisk

crsctl replace votedisk +SYSDG

crsctl query css votedisk

7,遷移ocr

ocrcheck

ocrconfig -add +SYSDG

ocrconfig -delete +DATA

ocrcheck

8,遷移asmspfile

sqlplus / as sysasm

show parameter spfile

create pfile='/home/oracle/asmpfilebak.ora' from spfile;

create spfile='+SYSDG' from pfile='/home/oracle/asmpfilebak.ora'

9,更換asm磁盤到新存儲

alter diskgroup DATA 

add disk

'/dev/mapper/3PAR01DATA01',

'/dev/mapper/3PAR01DATA02',

'/dev/mapper/3PAR01DATA03',

'/dev/mapper/3PAR01DATA04',

'/dev/mapper/3PAR01DATA05'  

drop disk

DATA_0000,DATA_0001,DATA_0002,DATA_003,DATA_0004 rebalance power 11;


alter diskgroup DATA02 

add disk

'/dev/mapper/3PAR01DATA06',

'/dev/mapper/3PAR01DATA07',

'/dev/mapper/3PAR01DATA08',

'/dev/mapper/3PAR01DATA09',

'/dev/mapper/3PAR01DATA10',

'/dev/mapper/3PAR01DATA11',

'/dev/mapper/3PAR01DATA12'  

drop disk

DATA_0005,DATA_0006,DATA_007,DATA_0008,DATA_0009,DATA_0010,DATA02_0006 rebalance power 11;



10,檢查集群和數據庫狀態

crsctl stat res -t

===============


SQL> create diskgroup SYSDG normal redundancy disk '/dev/mapper/3PAR01VOTE01','/dev/mapper/3PAR01VOTE02','/dev/mapper/3PAR01VOTE03' attribute 'compatible.rdbms'='11.2.0.0', 'compatible.asm'='11.2.0.0';


Diskgroup created.


SQL> create pfile='/home/oracle/asmpfilebak.ora' from spfile;


File created.


SQL> create spfile='+SYSDG' from pfile='/home/oracle/asmpfilebak.ora'

  2  ;


File created.


SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production

With the Real Application Clusters and Automatic Storage Management options

[oracle@PSIYKTDB03 snow]$ ocrcheck

Status of Oracle Cluster Registry is as follows :

Version                  :          3

Total space (kbytes)     :     262120

Used space (kbytes)      :       2928

Available space (kbytes) :     259192

ID                       :  677303095

Device/File Name         :      +DATA

                                    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 bypassed due to non-privileged user


[oracle@PSIYKTDB03 snow]$ ocrconfig -add +SYSDG

PROT-20: Insufficient permission to proceed. Require privileged user

[oracle@PSIYKTDB03 snow]$ which ocrconfig

/oracle/grid/bin/ocrconfig

[oracle@PSIYKTDB03 snow]$ su -

Password: 

[root@PSIYKTDB03 ~]# /oracle/grid/bin/ocrconfig -add +SYSDG

[root@PSIYKTDB03 ~]# /oracle/grid/bin/ocrconfig -add +SYSDG

[root@PSIYKTDB03 ~]# /oracle/grid/bin/ocrconfig -delete +DATA

[root@PSIYKTDB03 ~]# cat /etc/ora

oracle/      oraInst.loc  oratab       

[root@PSIYKTDB03 ~]# cat /etc/oracle/o

ocr.loc       ocr.loc.orig  olr.loc       olr.loc.orig  oprocd/       

[root@PSIYKTDB03 ~]# cat /etc/oracle/ocr.loc

#Device/file +DATA getting replaced by device +SYSDG 

ocrconfig_loc=+SYSDG

[root@PSIYKTDB03 ~]# /oracle/grid/bin/crsctl query css       

Parse error:

  Missing additional arguments


Usage:

  crsctl query css ipmiconfig

     Checks whether Oracle Clusterware has been configured for IPMI


  crsctl query css ipmidevice

     Checks whether the IPMI device/driver is present


  crsctl query css votedisk

     Lists the voting files used by Cluster Synchronization Services

[root@PSIYKTDB03 ~]# /oracle/grid/bin/crsctl query css votedisk

##  STATE    File Universal Id                File Name Disk group

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

 1. ONLINE   7f6b3c9b6f6b4fb7bff0d6e03f993474 (/dev/mapper/DATA1) [DATA]

Located 1 voting disk(s).

[root@PSIYKTDB03 ~]# /oracle/grid/bin/crsctl replace votedisk +SYSDG

Successful addition of voting disk 4e76af5f1ce24fa9bf5df9efb6f660e8.

Successful addition of voting disk 7129487e16954fb0bf796e3d8b005d0c.

Successful addition of voting disk 1133f01ca9ec4f23bf056fb90fa883fc.

Successful deletion of voting disk 7f6b3c9b6f6b4fb7bff0d6e03f993474.

Successfully replaced voting disk group with +SYSDG.

CRS-4266: Voting file(s) successfully replaced

[root@PSIYKTDB03 ~]# /oracle/grid/bin/crsctl query css votedisk

##  STATE    File Universal Id                File Name Disk group

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

 1. ONLINE   4e76af5f1ce24fa9bf5df9efb6f660e8 (/dev/mapper/3PAR01VOTE01) [SYSDG]

 2. ONLINE   7129487e16954fb0bf796e3d8b005d0c (/dev/mapper/3PAR01VOTE02) [SYSDG]

 3. ONLINE   1133f01ca9ec4f23bf056fb90fa883fc (/dev/mapper/3PAR01VOTE03) [SYSDG]

Located 3 voting disk(s).

[root@PSIYKTDB03 ~]# 

[root@PSIYKTDB03 ~]# exit

logout

[


SQL> alter diskgroup DATA 

add disk

'/dev/mapper/3PAR01DATA01',

'/dev/mapper/3PAR01DATA02',

'/dev/mapper/3PAR01DATA03',

'/dev/mapper/3PAR01DATA04',

'/dev/mapper/3PAR01DATA05'  

drop disk

DATA_0000,

DATA_0001,

DATA_0002,

DATA_0003,

DATA_0004 rebalance power 11;

  2    3    4    5    6    7    8    9   10   11   12   13  


Diskgroup altered.


SQL> SQL> ^Hexit

SP2-0042: unknown command exit" - rest of line ignored.

SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production

With the Real Application Clusters and Automatic Storage Management options

[oracle@PSIYKTDB03 snow]$ ssh PSIYKTDB0 

[oracle@PSIYKTDB03 snow]$ asmcmd

ASMCMD> lsop

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> lsop

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> lsop

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> lsop

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> exit

[oracle@PSIYKTDB03 snow]$ 

[oracle@PSIYKTDB03 snow]$ asmcmd

ASMCMD> lsop -help

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> lsop

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> lsop

Group_Name  Dsk_Num  State  Power  

DATA02      REBAL    WAIT   11     

DATA        REBAL    RUN    11     

ASMCMD> exit


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

紫金县| 商都县| 湘潭市| 子洲县| 密云县| 额尔古纳市| 体育| 临武县| 大冶市| 邮箱| 景德镇市| 额尔古纳市| 罗城| 永修县| 蒲江县| 磐石市| 沅江市| 麻江县| 从江县| 石泉县| 青河县| 深州市| 德清县| 灌云县| 喀喇沁旗| 赤城县| 奉贤区| 庐江县| 泽州县| 甘泉县| 沂南县| 通辽市| 江达县| 常德市| 焉耆| 晋城| 井研县| 瑞金市| 尖扎县| 大连市| 鄄城县|