Go to main content

Oracle SuperCluster Configuration Backup Utility - Recovery Guide

Exit Print View

Updated: June 2020
 
 

Roll Back the Domain's bpool

On SuperCluster M8 and SuperCluster M7, I/O Domains come with a second ZFS pool called the bpool. The bpool is required to boot the domain over iSCSI and Infiniband. Similarly to the rpool, when an I/O Domain is backed up, a ZFS snapshot is created for the bpool on the ZFS storage appliance. The restore procedure consists of rolling back this snapshot.

  1. Locate the snapshot.

    The information required to locate the snapshot is available in the osc-config-backup/domains/hostname/hostname.snaphots.date.info file. The file includes the ZFS storage appliance head to connect to, the project, and the LUN.

    root# su -oscbackR
    oscbackR$ cd osc-config-backup/domains/hostname
    oscbackR$ grep bpool hostname.snapshots.date.info
         Pool: bpool ; Device:
         c0t600144F0A67C70FB0000575AA4E10003d0 ;              \
         Head: ssc1-h1-storadm ; Project: sc1-ldomfs ;        \
         LUN name: xyx-io-hostname_bpool ;                    \
         Snapshot: 2016.06.14.05.18.osc-config-backup
    
  2. From the primary domain, stop the I/O Domain.
    # ldm stop -f domain-name
    
  3. Connect as root to the ZFS storage appliance head.

    In this example, the head is ssc1-h1-storadm.

    # ssh ssc1-h1-storadm
    Last login: Tue Jun 14 13:28:56 2016 from 10.129.76.2
    ssc1-h1-storadm:>
    
  4. Go to the project.

    The project name was identified in Step 1 (sc1-ldomfs in this example).

    ssc1-h1-storadm:> shares
    ssc1-h1-storadm:shares> select sc1-ldomfs
    ssc1-h1-storadm:shares sc1-ldomfs>
    
  5. Select the LUN and snapshot.

    The LUN and snapshot were identified in Step 1.

    ... sc1-ldomfs> select xyx-io-hostname_bpool
    ... sc1-ldomfs/xyx-io-hostname_bpool> snapshots
    ... sc1-ldomfs/xyx-io-hostname_bpool snapshots> select 2016.06.14.05.18.osc-config-backup
    ... sc1-ldomfs/xyx-io-hostname_bpool@2016.06.14.05.18.osc-config-backup>
    
  6. Roll back the snapshot.
    ... sc1-ldomfs/xyx-io-hostname_bpool@2016.06.14.05.18.osc-config-backup> rollback
    Rolling back will revert data to snapshot, destroying newer data. 
    Active initiators will be disconnected.
    Continue? (Y/N) Y
    
  7. From the primary domain, restart the I/O Domain.
    # ldm start domain-name