1.9.1.1.2 Preparing Systems That Do Not Have a Remote Mount BBU

This topic describes how to prepare to remove the disk controller BBU on systems without a remote mount BBU.

If the system does not have the remote mounted battery installed, you need to shut down the node for which the battery requires replacement.

If your system has a remote mount BBU, see Preparing Systems with Remote Mount BBU.

  1. Revert all the RAID disk volumes to WriteThrough mode

    This ensures that all data in the RAID cache memory is flushed to disk and is not lost when the battery is replaced.

    Note:

    If you are running Oracle Exadata System Software 19.1.0 or above substitute /opt/MegaRAID/storcli/storcli64 for opt/MegaRAID/MegaCli/MegaCli64 in the following commands.
    1. Set all logical volumes cache policy to WriteThrough cache mode.

      Note:

      If you are running on Solaris, use /opt/MegaRAID/MegaCli in place of /opt/MegaRAID/MegaCli/MegaCli64 in the commands below.

      # /opt/MegaRAID/MegaCli/MegaCli64 -ldsetprop wt -lall -a0
      
    2. Verify the current cache policy for all logical volumes is now WriteThrough, which does not use the battery.
      # /opt/MegaRAID/MegaCli/MegaCli64 -ldpdinfo -a0 | grep BBU
      
  2. Shut down the server operating system.
    1. Perform the steps in Steps To Shutdown/Startup The Exadata & RDBMS Services and Cell/Compute Nodes On An Exadata Configuration (My Oracle Support Doc ID 1093890.1).
    2. Change the environment to point to the Oracle Grid Infrastructure Home.

      Run the following commands as the root user, where the 1 of +ASM1 refers to the database node number:

      # . oraenv
      ORACLE_SID = [root] ? +ASM1
      The Oracle base for ORACLE_HOME=/u01/app/11.2.0/grid is /u01/app/oracle
      

      For example, for database node 3, the value would be +ASM3.

    3. Shut down Oracle Clusterware Services prior to powering down the database node.

      Run the following commands as the root user:

      # $ORACLE_HOME/bin/crsctl stop crs
      

      Or:

      # Grid_home/bin/crsctl stop crs
      

      Grid_home is typically set to /u01/app/11.2.0/grid, but this can vary depending on your installation configuration.

    4. Verify that Oracle Clusterware Services have been stopped.

      There should be no Clusterware processes running.

      # ps -ef | grep css
      
    5. Shut down the server operating system.
      • Linux:

        # shutdown -hP now
        
      • Solaris:

        # shutdown -y -i 5 -g 0