This section describes the mechanism of backup and restoration, including environment requirements, points to note, and the restart position after restoration, in a system in which this product is installed.
Backup and Restoration Environment Requirements
The following conditions must be satisfied in the environments to be backed up and restored:
The operating systems match.
Note that this does not include operating system version differences.
The host information (host name or IP address) matches.
The character code systems match.
The directory services match.
The product installation folders match.
Points to Note at Backup and Restoration
This section describes the points to note when backup and restoration is being performed.
Administrator privileges are required in order to execute the commands.
If, and only if, resources backed up using online backup are to be restored, execute the command that disables a service application for which an application process no longer exists (recoverAllService command).
Perform backup and restore operations as described below for ServerView Operations Manager, which is mandatory software. Refer to a ServerView Operations Manager manual for details.
Backup Operations
Perform system backup in accordance with Management Server system backup operations.
When a registration or update of user information has occurred, perform backup again
Restoration Operations
Perform restoration of the entire Management Server system.
Use the restoration procedure described in this document to perform restoration.
If systems backed up using offline and online backup are to be restored, perform restoration in the following order:
Restoration of systems backed up using offline backup
Restoration of systems backed up using online backup
When moving backup resources, move the folder specified in the backup destination as well as all folders and files under that folder.
Do not delete backup resources during execution of the restore command.
To delete backup resources, delete the folder specified in the backup destination as well as all folders and files under that folder.
Backup to the following media cannot be performed using the backup command:
Backup to optical disks such as CD-R and DVD-R
To back up user resources to optical disks, back up once to local disks, and then write to the media.
Backup to folders that include spaces.
Restoration from the following folders cannot be performed using the restore command:
Restoration from folders that include spaces.
When the management function for Network device configuration file is used, after offline backup is performed, save the following folders and files under that folder.
[Windows Manager]
Installation_folder\SVROR\Manager\var\netdevice\
[Linux Manager]
/var/opt/FJSVrcvmr/netdevice/
When the management function for Network device configuration file is used, before restoration of admin server is performed, replace the folder saved when backing up with the original folder.
Resources Managed by This Product and Timing of Update
The resource files managed by Resource Orchestrator are as shown below: When an operation described in the 'timing of update column' has been performed, a backup should be made.
Target Resources | When Backup is Necessary | Necessity of Stopping Managers | Remarks |
---|---|---|---|
Certificates | None | Not Required | |
Session encryption keys | After password saving (after execution of the rcxlogin -save command) | Not Required | |
System images and cloning images | After addition, deletion, and modification of Physical L-Server images | Not Required | Backup of system images and cloning images of virtual L-Servers are performed as a part of virtual machine backup operations. |
Configuration definition information | After creation, registration, modification, unregistration, and deletion of L-Servers and resources | Not Required | |
Information related to image files | Physical L-Server registration, deletion, movement. usage changes, power operations, conversion, and reversion After the registration and unregistration of VM hosts | Not Required | |
Definition files | Modification of definition files | No (Note) | Note) If the following definition files are to be backed up, the Manager must be stopped and offline backup must be performed. |
Image management information | After rcxadm imagemgr command operations | Not Required | |
Metering information | Creation, change, deletion, move, or power operation of an L-Platform or L-Server | Not Required | |
Home window announcement information | Announcement change | Yes | |
License agreement when users are added | License agreement change | Yes | |
Dashboard information | As required | Yes | Because it is updated as needed, stop the Manager and take a backup as required. |
Operational status information | As required | Yes | Because it is updated as needed, stop the Manager and take a backup as required. |
Application information | Application to use, modify, or cancel an L-Platform, or approval, assessment, dismissal, or cancellation of application | Yes | |
Terms of use or terms of cancellation of L-Platform | Change to terms of use or terms of cancellation | Yes | |
Terms of use or terms of cancellation of L-Platform | Change to terms of use or terms of cancellation | Yes |
Remarks) Capacity Planning data is not included in backups. Export the data to CSV or Excel files by using the Capacity Planning window as necessary.
Disk Space Necessary for the Backup
Disk space necessary for the backup is as follows.
Target Resources | Disk Space Necessary for the Backup |
---|---|
Configuration definition information | The file size of backup files varies depending on the number of resources defined in the configuration definition information. |
System image or cloning image | Every time, when backing up, it is necessary. Therefore, when the backup is executed three times for instance, the capacity of image save area is three times necessary. |
Certificates | The size of the file backed up changes according to the number of files backed up. Please prepare the backup area referring to this size to need only the area of less than 1 MB even if these 100 files are stored by 10 KB or less any file. |
Metering information | [Offline backup] The size increases and decreases to the file backed up in proportion to the increase and decrease at the number of resources of metering objects and the retention period of the metering log. (*) [Online backup] 1 KB (*) |
Dashboard information | The size increases and decreases to the file backed up in proportion to the increase and decrease of the number of L-Server templates and the number of tenants. disk space = (67.0 + (55.5 number of * tenants)) * 1.2 (MB) |
Usage condition information | 20 MB |
Application information | The size increases and decreases to the file backed up according to the operating environment. Please calculate the total of the amount of disk under the control of the following directories, and prepare the backup area of the amount. [Windows Manager]
[Linux Manager]
|
* Note: The backup of metering information is gathered under the control of the directory specified by the rcxmgrbackup command at an off-line backup, and it is gathered in the area besides the specified directory at an online backup.
Please calculate a necessary amount of disk by backing up metering information referring to the following examples.
"The amount of disk space necessary for the base backup" is necessary for an off-line backup.
It is necessary to total the "Disk space necessary for base backup" and the "Disk space necessary for difference backup" for an online backup.
In the following conditions, the amount of disk of about 12.6 GB is necessary for about 1.3 GB and online backups for an off-line backup.
Item | Estimated Value | |
---|---|---|
Number of operating L-Platforms | 1000 | |
Number of resources per L-Platform | L-Server | 1 |
Expansion disk | 1 | |
Software | 2 | |
Usage status |
| |
Online backup frequency |
|
|
Log of the metering each day * For one year 3.5 MB * 365 = 1.3 GB |
disk space per WAL file : 16 MB WAL file space frequency until acquiring base backup (30 days): 24 * 30 16 MB * 24 * 30 = 11.3 GB |
Disk space necessary for operation of online backup = Disk space necessary for base backup + Disk space necessary for difference backup = 1.3 GB + 11.3 GB = 12.6 GB |
Storage Destination for Backing Up Resources
This section describes the storage destination for backing up Admin Server resources.
Use the rcxmgrbackup command to specify a storage destination folder, except in the case of metering information.
The folders described in the following table are automatically created in the storage destination folder in order to store the resources. When restoration is to be performed, restoration occurs from the information in the latest folder of each folder. Therefore, even if a folder is deleted due to the disk capacity status, this will not cause a problem because the information in the latest folder will remain.
When the rcxmgrbackup command is used with the -cleanup option specified, all information older than the latest information collected by the command will be deleted.
Folder | Offline Backup | Online Backup | Online Backup |
---|---|---|---|
CTMG_OFFyyyymmddhhmmss | Yes | No | No |
CTMG_BASEyyyymmddhhmmss | No | Yes | No |
CTMGyyyymmddhhmmss | No | No | Yes |
CFMGyyyymmddhhmmss | Yes | Yes | Yes |
RORyyyymmddhhmmss | Yes | Yes | Yes |
RBAyyyymmddhhmmss | Yes | No | No |
RORSCW | Yes | Yes | Yes |
"yyyymmddhhmmss" is the date and time the command was executed.
Note
Backup files of the admin server should be stored on external storage media to prevent the backup data from being corrupted due to server failure.
Refer to "10.1.5 Online Backup Settings for Metering" for information on the storage destination for metering.
Standard at Backup and Restore Processing Time
Estimate the time necessary to perform backup and restoration of the admin server referring to the following command processing time.
The command processing time differs according to the operation environment, so check the time necessary in your environment. Base your estimates on the values you obtain from the test.
Example
Environment
CPU : 4CPU
Memory Size : 16 GB
Command processing time
offline backup : 3 minutes
online backup (base backup) : 2 minutes
online backup (differential backup) : 2 minutes
restore : 4 minutes
System Restart Point after Restoration
In the system operations flow used by this product, the restart point of the system will vary according to the timing of the backup of resources. Therefore, to ensure that the system can restart from the status it had before backup, operate the system in accordance with whether offline backup or online backup is used for backup, and perform restoration processing in accordance with each backup type.
Figure 10.1 Schedule for Backup and Restoration of Admin Servers (Example)
The flow of the preceding diagram is as follows:
A problem occurs in the system (Example: Occurs at 12:35 on August 1, 2011)
In order to restore the system, restoration is performed on the environment backed up offline and the environment backed up online.
(Example: Restores at 14:00 on August 1, 2011)
Refer to "Points to Note at Backup and Restoration" for information on the restoration order.
The latest differential backup files are dated (12:00 on August 1, 2011), so the restart point will be from that date and time.