![]() |
Using Management Center for Firewalls 1.2
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Maintaining your Firewall MC Server
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsMaintaining your Firewall MC ServerAbout Data Management Improving Performance By Compacting Your Data
Configuring and Enabling a Rapid Recovery ServerBacking Up the Database Restoring the Database Scheduling Checkpoint Events for the Database Maintaining your Firewall MC ServerThe Firewall MC server can coexist with other Management Centers and applications on the same server. For the purposes of Firewall MC documentation, however, the Firewall MC server is the server that runs CiscoWorks Common Services and Firewall MC. CiscoWorks Common Services provides a collection of services used by client applications, such as Firewall MC. These services include the database and utilities for maintaining it.
About Data ManagementCiscoWorks Common Services uses multiple databases to store client application data. When you perform a backup, all the databases are backed up. However, CiscoWorks Common Services does not store user account information or CiscoWorks application data. Those items are stored by the CiscoWorks database, and can be backed up only from the CiscoWorks utilities.
Improving Performance By Compacting Your Data
Compacting the database eliminates space that was allocated for data that no longer exists in the database. Compacting decreases the amount of space required to retain existing CiscoWorks Common Services configuration data and can increase system performance and minimize startup time. Only the KRS database used by the Firewall MC is affected by this procedure. You should compact the database at regular intervals to reclaim unused storage space. You can compact the database on demand or schedule the database to compact at a set time or at regular intervals. You cannot compact the database while backing up or restoring it.
Step 1 Select VPN/Security Management Solution > Administration > Management Center > Compact Database. The Compact Database page appears. Step 2 To send an email to a designated recipient each time the database is compacted, select the Email Notification check box and enter an email address in the field.
Step 3 To compact the database immediately, select the Immediate check box. Step 4 To specify a date and time for the compaction to begin: a. Deselect the Immediate check box. b. Use the up and down arrows to display the month, day, and year in the Start Date lists, and then click each displayed value to confirm. Confirmed selections appear in blue. c. Use the up and down arrows to display the hour and minutes in the Start Time list, and then click each displayed value to confirm. Confirmed selections appear in blue. Step 5 To schedule compaction at regular intervals: a. Enter a value in the Repeat After field, then select Days, Hours, or Minutes from the list. For the selection to take effect, you must click your selection after selecting the option with the up and down arrows. b. To limit the number of times the database is compacted, enter a value in the Limit Occurrences field.
Step 6 Click Finish to save your settings.
Step 7 If you scheduled a compaction, click Yes. Otherwise, skip to Step 8. A message appears, indicating that compaction is scheduled. Step 8 Click OK to close the message. Field Information for Compact Database Page
|
![]() |
Note You can back up the data only to the server. You cannot back up the database to a client system, even if that client system is being used to connect to CiscoWorks Common Services and initiate the backup. However, after you back up the database, we recommend that you store the backup to a different computer to prevent data loss if hardware fails. |
The Backup Database page appears.
Step 2 Specify the path to the directory in which to store the backup. You can specify the backup directory in one of two ways:
Step 3 To send an email to a designated recipient each time the database is backed up, select the Email Notification check box and enter an email address in the field.
![]() |
Note If you specified a default email address on the Preferences page, that address appears in the Email Notification field by default. You can add additional recipients by separating addresses with a comma (,). |
Step 4 To back up the database immediately, select the Immediate check box.
Step 5 To specify a specific date and time for the backup to begin:
a. Deselect the Immediate check box.
b. Use the up and down arrows to display the month, day, and year in the Start Date lists, and then click each displayed value to confirm.
Confirmed selections appear in blue.
c. Use the up and down arrows to display the hour and minutes in the Start Time lists, and then click each displayed value to confirm.
Confirmed selections appear in blue.
Step 6 To schedule a backup at regular intervals:
a. Enter a value in the Repeat After field, and select Days, Hours, or Minutes from the list. You must click your selection after using the up and down arrows for the selection to take effect.
b. To limit the number of times the database backup occurs, enter a value in the Limit Occurrences field under Frequency.
![]() |
Note Entering 1 in both the Repeat After and Frequency fields causes the database compaction to occur only once at the scheduled date and time. |
Step 7 To back up the database according to the settings you have made, click Finish.
A message provides the status of the database backup. If you selected the Immediate check box, the database backup begins immediately. The backup may take several minutes to complete. The backup is stored in a subdirectory named with the time and date that the backup occurred (in yyyymmddhhmmss format).
Step 8 Click OK to close the message.
|
You can restore the database from an existing backup. The backup contains data from all installed CiscoWorks Common Services client applications. Because user account information is not backed up, you cannot use restore to recover deleted accounts. Additionally, license information is not restored; the license in effect when the restore is performed remains in effect after the restore.
![]() |
Caution Restoring the database restores the data for all client applications; you cannot restore the data for a single client application. Therefore, restoring the database resets all client application data to the state it was in when you created the backup. |
![]() |
Note You cannot restore the database while compacting or backing up the database. |
The Restore Database page appears.
Step 2 Specify the path to the directory where the backup is stored. You can specify the directory in one of two ways:
![]() |
Note The Backed-up Archive field displays the last backup. If no backups have been performed, then the Backed-up Archive field is blank. |
You can also specify which backup to use. If you do not specify a specific backup, the system selects the most recent backup in the directory.
Step 3 To send an email to a designated recipient each time the database is restored, select the Email Notification check box and enter an email address in the field.
![]() |
Note If you specified a default email address on the Preferences page, that address appears in the Email Notification field by default. You can add additional recipients by separating addresses with a comma (,). |
Step 4 Click Finish to save your settings.
A message provides the status of the database restore.
Step 5 Click OK to close the message.
Step 6 Restart the system services:
The Stop Process page appears.
The Process Status page appears.
The Start Process page appears.
The Process Status page appears.
|
When a database checkpoint event occurs, all information stored in the memory cache is written to data files on the hard drive.
A log file tracks the changes that you make to the system. These changes signify information, such as configuration settings and audit records, that differ from the settings stored in the data files.
If the server on which the database resides shuts down too early, such as by a power failure, the database uses the log file to recreate the state of the system before it was shut down. Checkpoints reduce the amount of time required to recreate this "last known good" state, because they reduce the size and number of changes in the log file. The database synchronizes its in-memory working data with the data stored on the hard drive when one of the following events occurs:
A disadvantage of checkpoints is that they use much of the system resources. Therefore, the number of audit records that can be recorded while a checkpoint is being performed is reduced. The smaller the difference between the in-memory data and the data files, the faster the server running the database can "recover" and resume normal activity. (Normal activity consists of activity such as recording audit records and accepting changes to existing network policies.)
You can define a checkpoint rule to specify how frequently the database should write the information stored in its memory cache to the database files on the server hard drive. You can base checkpoint events on the size of the log file, the time of day, a set interval, or some combination of the three. You can also disable checkpoint events by disabling each type of checkpoint rule; however, we discourage this option.
![]() |
Note Database checkpointing affects only the KRS database used by the Firewall MC. |
![]() |
Tip If importing or generating large configurations in a client application takes a long time, increase your Checkpoint File Size value. It is likely that one or more checkpoint events are occurring during your import or generation. |
The Database Checkpoint Settings page appears.
Step 2 Enter the maximum size (in megabytes) that the log file can reach before requiring a checkpoint in the Checkpoint File Size field. To disable the size checkpoint, enter 0 (zero).
Step 3 From the Schedule At lists, select the hour and minutes when the checkpoint should occur. To disable the time-of-day checkpoint, select 00 (zero-zero) for both the hours and the minutes. The time is shown in 24-hour format.
Step 4 In the Interval field, enter the interval, in hours, to specify how often to repeat the checkpoint.
Step 5 Click Finish.
A message provides the status of the configuration change.
Step 6 Click OK to close the message.
|
To lessen the possibility of data loss and decrease the time required to recover from a catastrophic hardware failure on the system hosting Firewall MC, you can configure a rapid recovery server. A rapid recovery server is a secondary CiscoWorks Server running Firewall MC that subscribes to a database backup of the primary server. If the primary server fails, you enable the secondary server to as the new primary Firewall MC server.
This recovery configuration requires special consideration of dependent components of your security system, including the firewall devices and your authentication services.
Make sure that you correctly configured the dependent security components to access configuration changes from both the primary and secondary servers.
z:).Step 2 From the desktop of the primary CiscoWorks Server, select VPN/Security Management Solution > Administration > Common Services > Backup Database.
Step 3 In the Backup Directory field, select the local drive letter that you mapped in Step 1.
Step 4 Specify the backup interval that meets your needs. For more information on specifying the interval, see Backing Up the Database.
Step 5 From the secondary CiscoWorks Server, map a local drive letter to the same network share used in Step 1.
Step 6 From the desktop of the secondary CiscoWorks Server, select VPN/Security Management Solution > Administration > Common Services > Restore Database.
Step 7 In the Backed-up Archive field, select the local drive letter that you mapped in Step 5.
If you experience a catastrophic hardware failure and you previously configured a rapid recovery server (Configuring the Recovery Server), you can enable the secondary CiscoWorks Server by restoring the last database backup performed by the primary CiscoWorks Server.
![]() |
Note The total data loss depends on length of time since the last backup (the backup interval) plus the time required to restore the data. In this sense, data loss refers to audit data that can be collected by other VMS components. |
Step 2 Configure the secondary CiscoWorks Server to become the new primary CiscoWorks Server. See Configuring the Recovery Server.
Step 3 Identify and configure another server as the new secondary CiscoWorks Server. You must also configure this server as described in Configuring the Recovery Server, and you must update the dependent devices to remove the old primary server and include the new secondary server as a valid management host.