You have an Oracle instance named oratest1 that's running on a VM named vmoracle19c.This part of the process assumes that you followed Create an Oracle Database instance in an Azure VM. When you complete the setup, return to this guide and complete all remaining steps. To set up an Azure file share on Linux (by using the SMB 3.0 protocol) for use as archive log storage, see Mount an SMB Azure file share on Linux. Azure Files meets those requirements.Īn Azure file share is storage that you an attach to a Linux or Windows VM as a regular file-system component, by using the Server Message Block (SMB) or Network File System (NFS) protocol. The industry best practice is that at least one of those destinations should be on remote storage, so it's separate from the host storage and protected with independent snapshots. Oracle provides the capability to archive redo log files to different locations. Together with a backup, they're required to achieve point-in-time recovery when the database is lost. When the database is in ARCHIVELOG mode, it archives the contents of online redo log files when they become full and switch. They store the committed transactions needed to roll forward from a database snapshot taken in the past. The Oracle Database instance's archived redo log files play a crucial role in database recovery. Set up Azure Files storage for the Oracle archived redo log files ssh to the root user: sudo su -Īdd the oracle user to the /etc/sudoers file: echo "oracle ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers Replace with the public address value for your VM. To create a Secure Shell (SSH) session with the VM, use the following command. To prepare the environment, complete these steps: To perform the backup and recovery process, you must first create a Linux VM that has an installed instance of Oracle Database 12.1 or later.Ĭreate an Oracle Database instance by following the steps in Create an Oracle Database instance in an Azure VM. To upgrade to the latest version, run az upgrade. Run az version to find the version and dependent libraries that are installed. For more information about extensions, see Use extensions with the Azure CLI. When you're prompted, install the Azure CLI extension on first use. For other sign-in options, see Sign in with the Azure CLI. To finish the authentication process, follow the steps displayed in your terminal. If you're using a local installation, sign in to the Azure CLI by using the az login command. For more information, see How to run the Azure CLI in a Docker container. If you're running on Windows or macOS, consider running Azure CLI in a Docker container. If you prefer to run CLI reference commands locally, install the Azure CLI. For more information, see Quickstart for Bash in Azure Cloud Shell. Use the Bash environment in Azure Cloud Shell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |