Managing
Databases
This chapter contains the following sections:
- Working with Databases
- Stopping the Database
- Starting the Database
- Backing Up the Database
- Restoring the Database
Working with Databases
This section describes how to enable, start and stop, as well as backup and restore a database.
Stopping the Database
Starting the Database
You can start the mysql daemon (mysqld) by choosing the Start Database option.
Note | This option starts the appliance database only. |
Backing Up the Database
You can backup the appliance database to an FTP server. Before you begin the backup process, you must first stop the Cisco services. To stop the services, choose the Stop Services option.
Note | After the FTP credentials are provided, the entire database of the Cisco UCS Director appliance is backed up at the specified FTP location. You then can start the Cisco services by choosing the Start Services option. |
Stop the Cisco services by using the Cisco UCS Director Shell Stop Services option.
Step 1 | If you have not already done so, stop the Cisco services by using the Stop Services option. Refer to the Shell documentation about using that option. |
Step 2 | From the Cisco UCS Director Shell menu, choose the Backup Database option. |
Step 3 | Press
Enter.
Backing database...... Backup will Upload file to an FTP server. Provide the necessary access credentials FTP Server IP Address: xxxx.xxxx.xxxx.xxxx FTP Server Login: |
Step 4 | Enter your FTP Server IP address and press Enter. |
Step 5 | Enter your FTP Server login name and press Enter. |
Step 6 | Enter your FTP Server password and press Enter. |
Messages appear to confirm the progress of your backup.
Restoring the Database
Note | After FTP credentials are provided, the entire database of the Cisco UCS Director appliance is restored from the specified FTP location. You can then start the Cisco services by choosing the Start Services option. |
Step 1 | From the Cisco UCS Director Shell menu, choose the Restore Services option. |
Step 2 | Press
Enter.
Restore database...... Restore will recover file from an FTP server. Provide the necessary access credentials FTP Server IP Address: FTP Server Login: root FTP Server Password: |
Step 3 | Enter your FTP server IP address and press Enter. |
Step 4 | Enter your FTP server login and press Enter. |
Step 5 | Enter your FTP server password and press the Enter. |
Step 6 | Follow the onscreen prompts to complete the process. |
Step 7 | Choose the Start Services option to restart the Cisco services. |