PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Part 5 Maintenance> Chapter 11 Backing Up and Restoring a PRIMECLUSTER System

11.3 Environment Setup File

The two environment configuration files for backup and restoration are "ccbr.conf" and "ccbr.gen". The storage destination of the data to be backed up or restored can be changed by editing these files using the text editor "vi(1)".

Environmental variables and environment configuration files used for backup and restoration are shown below:

The backup configuration is as follows:

<Setup contents>

In the case of above, the following file will be created as the backup data:

/var/spool/SMAW/SMAWccbr/fuji2_ccbr1.tar.Z

mark2Configuration procedure example

Configure the backup data storage destination to "/var/spool/SMAW/SMAWccbr" and the number of generations to "1".

  1. Edit the "/opt/SMAW/ccbr/ccbr.conf" file using the "vi(1)" text editor, and then change the value of the CCBRHOME file to "/var/spool/SMAW/SMAWccbr".
    If the value has already been entered, go to Procedure 2.

    Confirm the contents.

    # cat /opt/SMAW/ccbr/ccbr.conf
    ...
    CCBRHOME=/var/spool/SMAW/SMAWccbr
    export CCBRHOME
    ...
    #
  2. Edit the "/opt/SMAW/ccbr/ccbr.gen" file using the "vi(1)" text editor, and then change the value to "1". If the value has already been configured, go to Procedure 3.

    Confirm the contents.

    # cat /opt/SMAW/ccbr/ccbr.gen
    1
    #
  3. Back up the PRIMECLUSTER configuration.
    # cfbackup
    08/07/02 11:17:55 cfbackup 1 started
    ...
    08/07/02 11:21:23 cfbackup 1 ended
    # 

    Confirm the contents of the backup file.

    # ls /var/spool/SMAW/SMAWccbr
    fuji2_ccbr1

The restoration configuration is as follows:

In the above case, the following file will be used as the data to be restored:

/var/spool/SMAW/SMAWccbr/fuji2_ccbr1

mark2Configuration procedure example

Configure the destination of the restoration data to "/var/spool/SMAW/SMAWccbr" and the number of generations to "1".

  1. Edit the "/opt/SMAW/ccbr/ccbr.conf" file using the "vi(1)" text editor, and then make the value of the CCBRHOME variable "/var/spool/SMAW/SMAWccbr".
    If the value has already been configured, proceed to Procedure 2.

    Confirm the contents.

    # cat /opt/SMAW/ccbr/ccbr.conf
    ...
    CCBRHOME=/var/spool/SMAW/SMAWccbr
    export CCBRHOME
    ...
    #
  2. Edit the "/opt/SMAW/ccbr/ccbr.gen" file using the "vi(1)" text editor, and then change the value to "2" (specify a value that is 1 greater than the target number of generations).
    If the value has already been configured, proceed to Procedure 3.

    Confirm the contents.

    # cat /opt/SMAW/ccbr/ccbr.gen
    2
    #
  3. Restore the PRIMECLUSTER environment.
    # cfrestore
    08/07/02 11:17:55 cfrestore 1 started
    ...
    08/07/02 11:21:23 cfrestore 1 ended
    #

Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005