If you do not need to recover the VMware VM where the Oracle database is installed, skip this section.
Prerequisites
- The recovery plan has been successfully executed.
- A tool, such as PuTTY, is available for remote access across various platforms.
Procedure
- Use PuTTY to log in to the VM where the database resides as the Oracle database running account.
- Prepare all disks used by the Oracle database.
If the disk used by the Oracle database is RDM, configure disk information, such as UDEV rules, based on the disk used by the Oracle database.
- Run the export ORACLE_SID=verify command to set the database instance name.
In the preceding command, verify indicates the instance name for logging in to the database. Change it based on the site requirements.
- Run the sqlplus command to log in to the database instance. In the example provided here, the user name is sys, the password is oracle, and the instance name is verify.
The following shows the command format and output:
[oracle@rhcs218 ~]$ sqlplus /nolog
SQL*Plus: Release 11.2.0.3.0 - Production on Fri Jun 26 10:30:34 2020
Copyright (c) 1982, 2002, Oracle. All rights reserved.
SQL> conn sys/oracle@verify as sysdba
Connected.
- Run the startup mount command to start the database to mount state.
- Run the alter database end backup; command to disable the database hot backup mode.
- Run the alter database open; command to start the database to the open state.
- Run the exit command to exit the current system.
Copyright © Huawei Technologies Co., Ltd.