This section discusses how to backup Oracle databases.
You can perform Oracle database cold backup (offline backup) as follows. If there are Oracle database -dependent resources (e.g. SAP R/3), a resource failure might occur during Oracle database stop, so it is necessary to stop them manually in advance.
Maintenance mode / Monitoring disruption
# /opt/SMAW/SMAWRrms/bin/hvutil -m on <userApplication> (Maintenance mode) # /opt/FJSVclora/sbin/hvoradisable -a <userApplication>(Monitoring disruption)
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".)
Enable Oracle Restart settings
Enable Oracle Restart settings if necessary.
(Refer to "3.2 Oracle database Maintenance".)
Oracle database stop
# su - <Oracle user> $ sqlplus /nolog SQL> CONNECT / AS SYSDBA SQL> SHUTDOWN IMMEDIATE
Cold backup
Perform cold backup of the database.
Oracle database startup
# su - <Oracle user> $ sqlplus /nolog SQL> CONNECT / AS SYSDBA SQL> STARTUP
PDB startup(for the database using the multitenant architecture)
# su - <Oracle user> $ sqlplus /nolog SQL> CONNECT / AS SYSDBA SQL> ALTER PLUGGABLE DATABASE ALL OPEN;
Disable Oracle Restart settings
If "3. Enable Oracle Restart settings" is executed, disable Oracle Restart settings.
(Refer to "3.2 Oracle database Maintenance".)
Monitoring restart / Maintenance mode stop
# /opt/FJSVclora/sbin/hvoraenable -a <userApplication> (Monitoring restart) # /opt/SMAW/SMAWRrms/bin/hvutil -m off <userApplication> (Maintenance mode stop)
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".)
Restart userApplication
When the Oracle instance, listener, or ASM is stopped and started manually, restart the userApplication including Oracle resources.
# hvutil -f <userApplication> # hvswitch <userApplication> <SysNode>
You can perform Oracle database hot backup (online backup) as follows.
Maintenance mode / Monitoring disruption
# /opt/SMAW/SMAWRrms/bin/hvutil -m on <userApplication> (Maintenance mode) # /opt/FJSVclora/sbin/hvoradisable -a <userApplication> (Monitoring disruption)
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".)
Hot backup
Perform hot backup of the database.
Be sure to check that the Oracle instance and Listener are properly running before going on to the next step. Be sure to check that the PDBs are properly running for the database using the multitenant architecture.
Monitoring restart / Maintenance mode stop
# /opt/FJSVclora/sbin/hvoraenable -a <userApplication> (Monitoring restart) # /opt/SMAW/SMAWRrms/bin/hvutil -m off <userApplication> (Maintenance mode stop)
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".)