Top
PRIMECLUSTER Wizard for Oracle 4.5 Configuration and Administration Guide
FUJITSU Software

3.2.5 Add and delete PDB

The procedure for add and delete PDB is as follows for the database using the multitenant architecture.

3.2.5.1 Add PDB

Add PDB when userApplication is Online. Execute the following procedures on the node whose userApplication is Online.

There is no setting change of the Oracle instance resource. After the monitoring restart, added PDB is automatically monitored.

  1. Maintenance mode / Monitoring disruption

    # /opt/SMAW/SMAWRrms/bin/hvutil -m on <userApplication> (Maintenance mode)
    # /opt/FJSVclora/sbin/hvoradisable -a <userApplication> (Monitoring disruption)
  2. Confirmation of maintenance mode and stop of monitoring

    Confirm that changing into maintenance mode and stop of monitoring have been successfully done.

    (Refer to note of "4.1 hvoradisable - Discontinue Monitoring Resources".)

  3. Add PDB

    Allocate the files of the PDB on the shared disk. Start the PDB and check that OPEN_MODE is “READ WRITE".

    See

    For details, see the Oracle Database manual

  4. Monitoring restart / Maintenance mode stop

    # /opt/FJSVclora/sbin/hvoraenable -a <userApplication> (Monitoring restart)
    # /opt/SMAW/SMAWRrms/bin/hvutil -m off <userApplication> (Maintenance mode stop)
  5. Confirmation of restart of monitoring and maintenance mode

    Confirm that restart of monitoring and changing out of maintenance mode has been successfully done.

    (Refer to note of "4.2 hvoraenable - Restart Monitoring Resources".)

  6. Confirmation of PDB

    Check that the following messages are output to syslog.

    FSP_PCLW-ORACLE_FJSVclora: INFO: 9142: OPEN_MODE of PDB <PDB name> was OPEN. (CDB=<ORACLE_SID of CDB> PDB=<PDB name> OPEN_MODE=<state of PDB>)
  7. Confirming of switch to the standby node

    Confirm the switch of userApplication to the standby node, and CDB/PDBs start correctly.

3.2.5.2 Delete PDB

Delete PDB when userApplication is Online. Execute the following procedures on the node whose userApplication is Online.

There is no setting change of the Oracle instance resource. After the monitoring restart, deleted PDB comes off from the monitor automatically.

  1. Maintenance mode / Monitoring disruption

    # /opt/SMAW/SMAWRrms/bin/hvutil -m on <userApplication> (Maintenance mode)
    # /opt/FJSVclora/sbin/hvoradisable -a <userApplication> (Monitoring disruption)
  2. Confirmation of maintenance mode and stop of monitoring

    Confirm that changing into maintenance mode and stop of monitoring have been successfully done.

    (Refer to note of "4.1 hvoradisable - Discontinue Monitoring Resources".)

  3. Delete PDB

    See

    For details, see the Oracle Database manual

  4. Monitoring restart / Maintenance mode stop

    # /opt/FJSVclora/sbin/hvoraenable -a <userApplication> (Monitoring restart)
    # /opt/SMAW/SMAWRrms/bin/hvutil -m off <userApplication> (Maintenance mode stop)
  5. Confirmation of restart of monitoring and maintenance mode

    Confirm that restart of monitoring and changing out of maintenance mode has been successfully done.

    (Refer to note of "4.2 hvoraenable - Restart Monitoring Resources".)