Snap Creator 3.x Plug-In for MaxDB - Operational Procedures

March 20, 2018 | Author: stefanvsmarian | Category: Command Line Interface, Backup, Databases, Information Retrieval, Information Science


Comments



Description

Operational Procedures FragmentMetadata Module Name Document Type Date Authors Fragment Version Notes Description Snap Creator 3.x Plug-in for MaxDB Operational Procedures 2012-01-02 Dietmar Ebert For instructions on using the template, refer to the Modular Architecture Authoring Guidelines. NOTES REGARDING THE OPERATIONAL PROCEDURES TEMPLATE:   The “Overview” section is mandatory. The “Guidelines” and “Additional Information” sections are optional. 1. Test 2. Test complete the following steps: 1.conf. Make sure the database is online. BACK UP MAXDB DATABASE USING THE GUI To back up a MaxDB database by using the Snap Creator GUI. complete the following steps: 1. <policy> is one of the policies specified in the configuration file. snapcreator --profile <profile_name> [--config <config_name>] --action snap --policy <policy> --verbose Where:    <profile_name> is the name of the profile where the configuration file is located. Make sure the Snap Creator Framework GUI is started. Back up the database using Snap Creator. <config_name> is the name of the configuration file if the name is different from <profile_name>. 2. . Make sure the database is online. 2.1 SNAP CREATOR 3.1.X PLUG-IN FOR MAXDB Procedure Back up a MaxDB database using the CLI Back up a MaxDB database using the GUI Use Case Create a backup of a database Restore a backup of a database Restore a MaxDB database using the CLI Restore a MaxDB database using the GUI Recover a database Recover a MaxDB database using the CLI Recover a MaxDB database using the GUI Clone a database Clone a MaxDB database using the CLI Clone a MaxDB database using the GUI Activate automatic log backup mode Activate automatic log backup mode using the CLI BACK UP MAXDB DATABASE USING THE CLI To back up a MaxDB database by using the Snap Creator CLI. The configuration context is loaded and displayed in the Configuration Context pane. In the Backup Profiles pane. .3. Log in to the GUI. 4. expand the profile and mark the configuration. 5. <policy> is one of the policies specified in the configuration file. and then select Snapshot. snapcreator --profile <profile_name> [--config <config_name>] --action restore --policy <policy> Where:    <profile_name> is the name of the profile where the configuration file is located. Make sure the database is offline or in admin mode. Select the button (Actions menu). 6. 7. This process starts the backup operation. Click Ok. <config_name> is the name of the configuration file if the name is different from the <profile_name>conf. Restore the database from a previous backup. Specify additional parameters: policy and user-defined variables. RESTORE MAXDB DATABASE USING THE CLI To restore a MaxDB database from a previous backup by using the Snap Creator CLI. 2. complete the following steps: 1. . the output displays in the Console pane. 3. 4.3. The configuration context is loaded and displayed in the Configuration Context pane. Make sure the Snap Creator Framework GUI is started. expand the profile and mark the configuration. Make sure the database is online. complete the following steps: 1. Log in to the GUI. 2. Go to the procedure to Recover MaxDB Database Using the CLI or Recover MaxDB Database Using the MaxDB GUI. RESTORE MAXDB DATABASE USING THE GUI To restore a MaxDB database from a previous backup by using the Snap Creator GUI. In the Backup Profiles pane. . 6.5. . The Snap Creator Framework Wizard is launched. Click Next. Press the Actions button and select Restore. policy.7. Click Next. restore Snapshot name. Provide details for the restore operation. . The example shows the Restore Details page with Volume Restore being selected. Select controller. volume name. and restore type from the drop-down lists. 9. 12. After a short time. . When the restore operation finishes. 10. the following message displays. a progress bar displays indicating the progress of the selected restore operation. On the Volume Restore pane. Repeat the restore operation for each volume or file that is part of the backup and that is needed for the subsequent recovery procedure. Review the information presented in the Summary page and verify that it is correct. click Yes to accept the warning regarding the potential data loss. Go to the procedure to Recover MaxDB Database Using the CLI or Recover MaxDB Database Using the MaxDB GUI. Click Finish to initiate the restore operation. Click Ok. 11.8. if not available. perform an archive log restore. <dbm_user> is the user name of the MaxDB database manager. . 5. use recover_start in combination with recover_replace to loop through the archived logs. When the recovery is finished. Both methodologies recover the database to a specific point in time. complete the following step: 1. use either autorecover. 2. Place the database in admin mode.01. 3. an archive log backup restore must first be performed. complete the following steps: 1. dbmcli -d <DB_ID> -u <dbm_user>. Note: For more information about the preferred GUI.<dbm_passwd> db_admin Where:    <DB_ID> is the name/identifier of the MaxDB database. Depending on the MaxDB version. <dbm_passwd> is the password of the MaxDB database manager user. OK Used LOG Page First LOG Page Restartable Id Restart Record Id LOG Info Consistent Log Volume Enabled Log Auto Overwrite Master Servernode Converter Version Oldest Compatible Version Queue Count Repository Imports 1284693 0 1 amdlinux2:PAX_20080118_121057 amdlinux2:PAX_20080118_121057 1 1 0 AMDLINUX2 27349 7. refer to the MaxDB documentation. 6. If the database is not restartable and is inconsistent (both values are set to 0). Verify whether the database is restartable. dbmcli –d <DB_ID> -u <dbm_user>. refer to the MaxDB documentation. the database can be restarted using the following command.<dbm_passwd> db_restart Note: For additional options using this command. Depending on the MaxDB version. The Consistent field indicates whether the database is consistent (1) or inconsistent (1). If the database is restartable and consistent (both values are set to 1). RECOVER MAXDB DATABASE USING THE MAXDB GUI To recover a MaxDB database by using the Snap Creator GUI.16 2 NO The Restartable field indicates whether the database is restartable (1) or not restartable (0). or. otherwise.8. use MaxDB Database Manager GUI or MaxDB Database Studio to perform a database recovery. dbmcli –d <DB_ID> -u <dbm_user>.RECOVER MAXDB DATABASE USING THE CLI To recover a MaxDB database by using the Snap Creator CLI. the database is returned to online mode. as well as to the latest point in time. 4. When these fields are used in combination.<dbm_passwd> db_restartinfo This command returns recovery meta information. the database can immediately restart in online mode. Make sure all of the archive logs are in place if the database is configured to create archive logs and to perform a point-in-time recovery. . Make sure the source database is online. Make sure the Snap Creator Framework GUI is presented. 2. CLONE MAXDB DATABASE USING THE GUI To clone a MaxDB database by using the Snap Creator GUI. complete the following steps: 1. 2.CLONE MAXDB DATABASE USING THE CLI To clone a MaxDB database by using the Snap Creator CLI. <policy> is one of the policies specified in the configuration file. The configuration parameter SC_CLONE_TARGET is set. Clone the database using Snap Creator. and then log in. The Snap Creator agent specified in SC_CLONE_TARGET is running. snapcreator --profile <profile_name> [--config <config_name>] --action clone_vol --policy <policy> --verbose Where:    <profile_name> is the name of the profile where the configuration file is located. complete the following steps: 1.conf. <config_name> is the name of the configuration file if the name is different from <profile_name>. Make sure the following are properly configured:    The source database is online. In the Backup Profiles pane. The configuration context is loaded and displayed in the Configuration Context pane. and then select Volume Clone.3. expand the profile and mark the configuration. Select the button (Actions menu). . 4. Archive backup files on a regular base.<dbm_passwd> medium_put <medium_name> <location> <type> <backup_type> Where:     <medium_name> is the backup template identifier. ACTIVATE AUTOMATIC LOG BACKUP MODE USING THE CLI To activate an an automatic log backup by using the Snap Creator CLI. . complete the following steps: 1. <location> is the file (full qualified) for the log backups. dbmcli -d <DB_ID> -u <dbm_user>. <backup_type> is the type of backup. Activate the automatic log backup. 3. Specify additional parameters: policy and user-defined variables. This has a version number appended to it. For example. Make sure there is at least one complete data backup for the database instance. The current progress displays in the Console pane. Create a backup template type as FILE and a backup type as AUTO. <type> is the type of the backup template. use the Snap Creator Framework or OS commands. dbmcli -d <DB_ID> -u <dbm_user>. This process asynchronously starts the clone operation.5. Click Ok.<dbm_passwd> autolog_on <medium_name> 4. 6. 2.
Copyright © 2024 DOKUMEN.SITE Inc.