![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 2375820.1 : How To Expand griddisks for 10TB(Exadata X7-2 Storage Cells)
In this Document
Applies to:Zero Data Loss Recovery Appliance X7 Hardware - Version All Versions to All Versions [Release All Releases]Information in this document applies to any platform. GoalThe goal of this document is to provide instructions on how to correctly expand undersized X7(10TB) Storage cells to their appropriate size to allow for optimal utilization of space on the drives. *Solution Applies to ZDLRA X7 Hardware Solution1. Check if your ZDLRA X7 is affected by this issuesqlplus / as sysdba
SQL> select max(os_mb) from v$asm_disk; MAX(OS_MB) ---------- 7474176
Note: If the MAX(OS_MB) = 8875008, your system is not affected. You do NOT need to follow this note. If you find that MAX(OS_MB) is any other number than 7474176 or 8875008, Contact Oracle Support.
2. Create a file with the list of 10TB cellsNote:
The file /root/cell_group contains the list of ALL cells in the environment. [zdlraadm01 ~]# cat /root/cell_group
zdlraceladm06 zdlraceladm07 zdlraceladm08 zdlraceladm09 [root@zdlraadm01 ~]# 3. Setup SSH keys for the cells[root@zdlraadm01 os_patch]# ssh-keygen -t rsa
[root@zdlraadm01 ~]# dcli -g /root/cell_group -k -l root 4. Expand the Griddisks to the new 10TB sizeNote: This step needs to be performed for each cell in the environment. [root@zdlraadm01 ~]# dcli -c zdlraceladm06 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm06 \ [root@zdlraadm01 ~]# dcli -c zdlraceladm07 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm07 \ [root@zdlraadm01 ~]# dcli -c zdlraceladm09 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm09 \ 5. Verify the new Griddisk sizes for the 10TB cellsNote: The new Griddisk size should be 8.4638671875T [root@zdlraadm01 ~]# dcli -g cell_group -l root "cellcli -e list griddisk attributes name,size \
> where name like \'DELTA.*\' " 6. Resize the ASM Diskgroup to include the new Griddisk sizes (On First Compute Node - as oracle user)[oracle@ zdlraadm01 ~]$ . oraenv Login as sysasm 7. Confirm that rebalance of the Diskgroup is completesqlplus / as sysasm SQL> set lines 250 pages 1000 SQL> SELECT * FROM GV$ASM_OPERATION WHERE STATE = 'RUN';
Note:
Until output says "no rows selected", do NOT begin the next step. 8. Confirm that the MAX(os_mb) value is now 8875008.sqlplus / as sysdba SQL> select max(os_mb) from v$asm_disk;
9. Update the Storage LocationIn this step, you will use either 9.1 or 9.2 depending on the version of ZDLRA Software you are running.
9.1 Update Storage Location (Use ONLY for ZDLRA 12.1 Systems)sqlplus / as sysdba BEGIN DBMS_RA_ADM.UPDATE_FRA; END;
SELECT TO_CHAR( '+' FROM rasys.sl_sizing WHERE disk_group = 'DELTA'; Query output SLSIZE
Use output from select statement in the following API sqlplus / as sysdba BEGIN RASYS.DBMS_RA.UPDATE_STORAGE_LOCATION('DELTA', END;
9.2 Update the Storage Location (Use ONLY for ZDLRA 12.2 Systems)[root@zdlraadm01 bin]# /opt/oracle/RecoveryAppliance/bin/racli update storage_location --cells=zdlraceladm06,zdlraceladm07,zdlraceladm08,zdlraceladm09
10. Verify the total space of the Storage LocationSQL> select name, total_space from ra_storage_location;
Appendix: Actual Run Output1. Check if your ZDLRA X7 is affected by this issue sqlplus / as sysdba SQL> select max(os_mb) from v$asm_disk;
MAX(OS_MB) ---------- 7474176
Note:
If the MAX(OS_MB) = 7474176, follow the steps in this note. If the MAX(OS_MB) = 8875008, your system is not affected. If you find that MAX(OS_MB) is any other number than 7474176 or 8875008, Contact Oracle Support.
2. Create a file with the list of 10TB cells Note:
The file /root/cell_group contains the list of ALL cells in the environment. [zdlraadm01 ~]# cat /root/cell_group
zdlraceladm06 zdlraceladm07 zdlraceladm08 zdlraceladm09 [root@zdlraadm01 ~]#
3. Setup SSH keys for the cells [root@zdlraadm01 os_patch]# ssh-keygen -t rsa
4. Expand the Griddisks to the new 10TB size Note: This step needs to be performed for each cell in the environment. [root@zdlraadm01 ~]# dcli -c zdlraceladm06 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm06 \ [root@zdlraadm01 ~]# dcli -c zdlraceladm07 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm07 \ [root@zdlraadm01 ~]# dcli -c zdlraceladm08 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm08 \ [root@zdlraadm01 ~]# dcli -c zdlraceladm09 -l root "cellcli -e alter griddisk DELTA_CD_00_zdlraceladm09 \ 5. Verify the new Griddisk sizes for the 10TB cells Note: The new Griddisk size should be 8.4638671875T [root@zdlraadm01 ~]# dcli -g cell_group -l root "cellcli -e list griddisk attributes name,size \
> where name like \'DELTA.*\' " zdlraceladm06: DELTA_CD_00_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_01_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_02_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_03_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_04_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_05_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_06_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_07_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_08_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_09_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_10_zdlraceladm06 8.4638671875T zdlraceladm06: DELTA_CD_11_zdlraceladm06 8.4638671875T zdlraceladm07: DELTA_CD_00_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_01_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_02_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_03_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_04_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_05_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_06_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_07_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_08_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_09_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_10_zdlraceladm07 8.4638671875T zdlraceladm07: DELTA_CD_11_zdlraceladm07 8.4638671875T zdlraceladm08: DELTA_CD_00_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_01_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_02_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_03_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_04_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_05_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_06_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_07_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_08_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_09_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_10_zdlraceladm08 8.4638671875T zdlraceladm08: DELTA_CD_11_zdlraceladm08 8.4638671875T zdlraceladm09: DELTA_CD_00_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_01_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_02_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_03_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_04_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_05_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_06_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_07_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_08_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_09_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_10_zdlraceladm09 8.4638671875T zdlraceladm09: DELTA_CD_11_zdlraceladm09 8.4638671875T [root@zdlraadm01 ~]# 6. Resize the ASM Diskgroup to include the new Griddisk sizes (On First Compute Node - as oracle) [root@zdlraadm01 ~]# . oraenv SQL> ALTER DISKGROUP DELTA RESIZE ALL; 7. Confirm that rebalance of the Diskgroup is complete sqlplus / as sysasm SQL> set lines 250 pages 1000
SQL> col error_code form a10 SQL> SELECT dg.name, o.* FROM gv$asm_operation o, v$asm_diskgroup dg 2 WHERE o.group_number = dg.group_number; no rows selected SQL> SQL> SELECT * FROM GV$ASM_OPERATION WHERE STATE = 'RUN'; no rows selected SQL>
Note:
Until output shows "no rows selected", do NOT begin the next step. 8. Confirm that the MAX(os_mb) value is now 8875008 sqlplus / as sysdba SQL> select max(os_mb) from v$asm_disk;
MAX(OS_MB) ---------- 8875008 SQL>
9. Update the Storage Location In this step, you will use either 9.1 or 9.2 depending on the version of ZDLRA Software you are running.
9.1 Update Storage Location (Use ONLY for ZDLRA 12.1 Systems) sqlplus / as sysdba SQL> BEGIN PL/SQL procedure successfully completed. SQL>
SQL> SELECT TO_CHAR( SLSIZE SQL>
Use output from select statement in the following API SQL> BEGIN PL/SQL procedure successfully completed. SQL>
SQL> select name, total_space from ra_storage_location; NAME SQL>
9.2 Update Storage Location (Use ONLY for ZDLRA 12.2 Systems) [root@zdlraadm01 bin]# ./racli update storage_location --cells=zdlraceladm06,zdlraceladm07,zdlraceladm08,zdlraceladm09 Getting physical disk info... ZDLRA Cell Expansion - Complete!
10. Verify the total space of the Storage Location sqlplus / as sysdba SQL> select name, total_space from ra_storage_location;
NAME -------------------------------------------------------------------------------- TOTAL_SPACE ----------- DELTA 164614.418 SQL>
Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||||||||||||
|