11.2.0.2, 11.2.0.3, 11.2.0.4 or 12.1.0.1 to 12.1.0.2 Grid Infrastructure and Database Upgrade on Exadata Database Machine running Oracle Solaris and Solaris Supercluster (Doc ID 1908556.1)
Oracle SuperCluster Supported Software Versions - All Hardware Types (Doc ID 1567979.1)
Database Patches Required by Oracle E-Business Suite on Oracle Engineered Systems: Exadata Database Machines and SuperClusters (Doc ID 1392527.1)
SuperCluster Critical Issues (Doc ID 1452277.1)
11.2.0.2, 11.2.0.3, 11.2.0.4 or 12.1.0.1 to 12.1.0.2 Grid Infrastructure and Database Upgrade on Exadata Database Machine running Oracle Linux (Doc ID 1681467.1)
SuperCluster- How to dynamically resize the file system inside a Solaris zone backed by an iSCSI lun. (Doc ID 1921605.1)
How to increase the size of a database zone zoneroot storage pool on Oracle SuperCluster (Doc ID 2482275.1)
SOLUTION
In the global zone of every database domain on Oracle SuperCluster, there is a storage pool called 'zoneroot'. This provides the storage for all local database zones /root & /u01 filesystems. Over time, the available free space in zoneroot may become low e.g.
# zfs get available zoneroot
NAME PROPERTY VALUE SOURCE
zoneroot available 190M -
# df -h zoneroot
Filesystem Size Used Available Capacity Mounted on
zoneroot 313G 313G 190M 100% /zoneroot
NAME PROPERTY VALUE SOURCE
zoneroot available 190M -
# df -h zoneroot
Filesystem Size Used Available Capacity Mounted on
zoneroot 313G 313G 190M 100% /zoneroot
Before attempting to increase the available space in zoneroot, first ensure you have package supercluster/iscsi version 2.1.0.603 (or later) installed e.g.
# pkg list supercluster/iscsi
NAME (PUBLISHER) VERSION IFO
system/platform/supercluster/iscsi (exa-family) 0.5.11-2.6.0.1561 i--
NAME (PUBLISHER) VERSION IFO
system/platform/supercluster/iscsi (exa-family) 0.5.11-2.6.0.1561 i--
If your version of supercluster/iscsi is earlier than 2.1.0.603, then you must update the database domains to the latest Quarterly Full Stack Download Patch (QFSDP).
You can then use the /opt/oracle.supercluster/bin/iscsi-zpool.sh command to increase the size of the zoneroot storage pool e.g.
# cd /opt/oracle.supercluster/bin
# ./iscsi-zpool.sh -h
Usage:
To create new zpool : ./iscsi-zpool.sh -p zfs_pool_name -s zfs_pool_size
To increase zpool size: ./iscsi-zpool.sh -p zfs_pool_name -a size_to_add
To destroy zpool: ./iscsi-zpool.sh -p zfs_pool_name -d
NOTE:
"increase" and "destroy" will only work for zpools that were created by this tool
# ./iscsi-zpool.sh -h
Usage:
To create new zpool : ./iscsi-zpool.sh -p zfs_pool_name -s zfs_pool_size
To increase zpool size: ./iscsi-zpool.sh -p zfs_pool_name -a size_to_add
To destroy zpool: ./iscsi-zpool.sh -p zfs_pool_name -d
NOTE:
"increase" and "destroy" will only work for zpools that were created by this tool
The following example shows how to add 200G to the zoneroot storage pool.
# ./iscsi-zpool.sh -p zoneroot -a 200G
INFO: Getting the list of active ZFSSA head(s)
INFO: *****-h1-storadm is verified to be a ZFSSA active head
INFO: *****-h2-storadm is verified to be a ZFSSA active head
INFO: The owner of interface ipmp1 is *****-h1-storadm
INFO: Getting name of IB interface on *****-h1-storadm with prefix ipmp_stor
INFO: IB interface with label prefix ipmp_stor is ipmp3
INFO: Getting IP address of IB interface ipmp3 on *****-h1-storadm
INFO: IP address of ZFSSA IB interface ipmp3 is xxx.xxx.28.1
INFO: Verifying *****-h1-storadm owns all the required cluster resources
INFO: The LUN GUID of zpool zoneroot is 600144F09555F81300005C0AA5520009
INFO: The size of this LUN has been increased to: 520.00G
# zfs get available zoneroot
NAME PROPERTY VALUE SOURCE
zoneroot available 197G -
# df -h zoneroot
Filesystem Size Used Available Capacity Mounted on
zoneroot 510G 313G 197G 62% /zoneroot
INFO: Getting the list of active ZFSSA head(s)
INFO: *****-h1-storadm is verified to be a ZFSSA active head
INFO: *****-h2-storadm is verified to be a ZFSSA active head
INFO: The owner of interface ipmp1 is *****-h1-storadm
INFO: Getting name of IB interface on *****-h1-storadm with prefix ipmp_stor
INFO: IB interface with label prefix ipmp_stor is ipmp3
INFO: Getting IP address of IB interface ipmp3 on *****-h1-storadm
INFO: IP address of ZFSSA IB interface ipmp3 is xxx.xxx.28.1
INFO: Verifying *****-h1-storadm owns all the required cluster resources
INFO: The LUN GUID of zpool zoneroot is 600144F09555F81300005C0AA5520009
INFO: The size of this LUN has been increased to: 520.00G
# zfs get available zoneroot
NAME PROPERTY VALUE SOURCE
zoneroot available 197G -
# df -h zoneroot
Filesystem Size Used Available Capacity Mounted on
zoneroot 510G 313G 197G 62% /zoneroot
Note that although exactly 200G is added to the iSCSI LUN on the ZFS storage appliance, you only see approximately 197G additional free space in the zoneroot filesystem. This is due to filesystem overheads.
Also note that you cannot shrink or reduce the available space in a zoneroot storage pool.
11.2.0.4 Grid Infrastructure and Database Upgrade on Exadata Database Machine running Oracle Solaris and Oracle SuperCluster (Doc ID 1919941.1)
Thanks
Srini
good job
ReplyDelete