![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||
Solution Type Predictive Self-Healing Sure Solution 1934130.1 : How To Recover SuperCluster Components that were Backed Up with osc-config-backup
In this Document
Applies to:Oracle SuperCluster M7 Hardware - Version All Versions to All Versions [Release All Releases]Solaris Operating System - Version 11.3 and later Oracle SuperCluster T5-8 Full Rack - Version All Versions to All Versions [Release All Releases] Oracle SuperCluster T5-8 Half Rack - Version All Versions to All Versions [Release All Releases] Oracle Solaris on SPARC (64-bit) PurposeThis article describes how to recover SuperCluster components that were backed up with the osc-config-backup tool. It also highlights critical issues and workarounds which SuperCluster administrators should be aware of before attempting a recovery scenario. ScopeThe recovery process is only currently supported on T5-8 SuperCluster and M7 SuperCluster. Detailed instructions and examples that you can use to recover SuperCluster components previously backed up by osc-config-backup can be found in the Oracle SuperCluster Configuration Backup Utility - Recovery Guide. Please note that data storage on the Exadata Storage Servers is not covered by osc-config-backup, and this article does not cover storage server recovery. Use the Engineered Systems Backup Utility (ESBU) to back up and recover this data. Refer to the article titled RMAN Backup From SPARC SuperCluster to Sun ZFS Backup Appliance (Doc ID 1517107.1) For further details and best practices, refer to the whitepaper titled Oracle Optimized Solution for Backup and Recovery of Oracle SuperCluster. DetailsOverviewWhen osc-config-backup is used to backup SuperCluster components prior to a failure, you can use the osc-config-backup data to recover SuperCluster components should the need arise. During the backup process, osc-config-backup copies critical component data to a central location on the internal ZFS Storage Appliance which in the event of an incident can be used to recover from a number of components. Components that can be recovered using osc-config-backup data:
Possible recovery scenarios:These recovery scenarios cover some situations with which customers could potentially find themselves having to recover from. In most situations where a single component failure has occured in the rack, no loss of service should occur assuming the configuration has been implemended with maximum availability in mind. In some situations the loss of an entire SuperCluster platform might not have too much impact on a business as it's becoming increasing common for customer's to implement a secondary DR SuperCluster platform.
For complex situations or if customers are unsure of the recovery situation then please raise a support ticket for further assistance. RequirementsTo perform the recovery procedures in this article, ensure that these requirements are met: SuperCluster components must have been backed up with the osc-config-backup tool prior to the disaster. Refer to the article titled How To Back Up the Oracle SuperCluster Configuration with osc-config-backup (Doc ID 1934129.1).
Known Issues and WorkaroundsIf you have opted to not backup the SuperCluster platform using iscsi luns then the only available recovery process is to use the zfs stream dumps collected within the /osc-config-backup mountpoint. A domain can be fully recovered by both methods but the zfs stream recovery process is slightly more involved that following the documented iscsi recovery methodology. Recover Domains Using ZFS streamsThis additional step only applies to T5-8 SuperCluster platforms and you only need to perform this task if you were not able to restore the OS via an iSCSI backup or you opted not to take iSCSI backups in the first place. This proceedure assumes the following conditions:
1/ Boot the domain using a CDROM image into single user mode {0} ok boot cdrom -s
NOTE: Username=root password=solaris 2/ Based on Explorer data, create the pools using the first two internal drives (HDD0 labeled as solaris, and HDD1). Run the format utility to identify the drive's cntndnsn numbers (such as c0t5000CCA02523F5F4d0), then quit the utility. root@solaris:~# format NOTE: if the physical drives have been replaced then please ensure the partition table matches the original drive. Also be aware that I/O domains on T5-8 SuperCluster only have a single disk supplied by the primary control domain from the ZFS-SA. Run this command for Oracle Solaris 11 domains: root@solaris# zpool create -f rpool mirror c0t5000CCA02523F5F4d0s0 c0t5000CCA02523F968d0s0 Run this command for Oracle Solaris 10 domains. # zpool create -f -o failmode=continue -R /a -m legacy -o cachefile=/etc/zfs/zpool.cache rpool mirror c0t5000CCA02523F5F4d0s0 c0t5000CCA02523F968d0s0 Verify the zpools: root@solaris:~# zpool list root@solaris:~# zpool status NAME STATE READ WRITE CKSUM errors: No known data errors Create any additional pools you have on this domain. 3/ Mount the ZFS backup directory on the guest domain. Assign a temporary network address on the same management subnet of the ZFS storage appliance on the guest domain. For example, if the ZFS storage appliance management IP address is 10.163.238.110, you can assign an IP address of 10.163.238.10 to the guest domain. root@solaris~# ipadm create-ip net3
root@solaris~# ipadm create-addr -T static -a local=10.10.10.2/24 net3/v4 x root@solaris~# mount -o vers=3 10.10.10.1:/export/osc-config-backup/backup /backup 4/ Restore the rpool from the ZFS snapshots. root@solaris~# cd /backup/domain/<domainname>
root@solaris:/backup/domain/<domainname># ls <domainname>.rpool.backup.2014.07.18.11.17.zfs root@solaris:/backup/domain/<domainname># cat <domainname>.rpool.backup.2014.07.18.11.17.zfs | zfs receive -Fdu rpool root@solaris:/backup/domain/<domainname># zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT rpool 278G 11.9G 266G 4% 1.00x ONLINE - 5/ Activate the BE and boot from the rpool disk. Oracle Solaris 11 example: root@solaris:/backup/domain/<domainname># beadm list root@solaris:/backup/domain/<domainname># beadm activate S11.1_SRU7.5_idrs root@solaris:/backup/domain/<domainname># beadm list root@solaris:/backup/domain/<domainname># zpool set bootfs=rpool/ROOT/5.10 rpool The guest domain is up and running. 6/ Create swap and dump file systems. Example: root@<domainname>:~# zfs create -V 48G rpool/swap root@<domainname>:~# zfs list rpool/swap root@<domainname>:~# swap -a /dev/zvol/dsk/rpool/swap root@<domainname>:~# dumpadm -d /dev/zvol/dsk/rpool/dump The guest domain is now restored and operational.
References<NOTE:1934129.1> - How To Back Up the Oracle SuperCluster Configuration with osc-config-backup<NOTE:1567979.1> - Oracle SuperCluster Supported Software Versions - All Hardware Types Attachments This solution has no attachment |
||||||||||||||||||||||||||||
|