Sun Management Center 3.5 Update 1b Release Notes

Online Backup (4969926)

The Sun Management Center database sometimes needs to backed up to prevent loss of data. For example, you must back up your database before you upgrade the hardware or the Operating System (OS).

You can back up the Sun Management Center database in one of the following ways:

The online backup feature has the following advantages:

Before using the online backup feature, it is recommended to do a cold backup first for contingency. In a cold backup, you shut down the product first and then do the backup.

ProcedureTo Do an Online Backup

The following procedure guides you the following tasks.

Steps
  1. (Optional) Do a cold backup

    1. Become superuser by typing:


      % su -
      
    2. Type this command:

      #/opt/SUNWsymon/sbin/es-backup

      Where /opt is the directory in which Sun Management Center is installed.

      Since the script will shut down Sun Management Center, you are prompted to confirm.

    3. Type y and press Enter.

      You are prompted for the full directory path to store the backup data files.

    4. Press Enter to accept the default directory or type a new path.

      The script creates the backup files and then restarts the product.

  2. Enable ARCHIVELOGMODE

    1. Become superuser by typing:


      % su -
      
    2. Type this command:

      #/opt/SUNWsymon/sbin/es-config -a enable

      Where /opt is the directory in which Sun Management Center is installed.

      You are prompted to confirm that you want to enable archiving.

    3. Type y and press Enter.

      Since the script will shut down Sun Management Center, you are prompted to confirm the shutdown.

    4. Type y and press Enter.

      The script shuts down the product and informs you that a cold backup is recommended. You are prompted to confirm that you want to set up the database in archivelogmode.

    5. Type y and press Enter.

      You are prompted for the full directory path to store the archivelog files.

    6. Enter the full directory path to store the archivelog files, for example:

      /var/opt/SUNWsymon/archives

      The script creates the directory if it does not exist and enables archivelogmode. You are prompted to start the agent and server components.

    7. Type y and press Enter.

  3. Run the online backup.

    1. Type this command:

      # /opt/SUNWsymon/sbin/es-backup -o

      You are prompted for the full directory path to store the backup data files.

    2. Press Enter to accept the default or type a different path, for example:


      Enter the full directory path to store the backup data files

      [/var/opt/SUNWsymon/backup]:

      /var/opt/SUNWsymon/mybackup
      

      Note –

      If you accept the default directory and later plan to uninstall the product, your backup files might be deleted. Before uninstalling the product, move the backup files to another location. Alternatively, use a different path for your backup files.


      The script restarts the product.

ProcedureTo Disable ARCHIVELOGMODE

If you do not want archiving on, you can disable archiving.

Step

    To disable ARCHIVELOGMODE, type this command:

    # /opt/SUNWsymon/sbin/es-config -a disable

    The above command shuts down the Sun Management Center, removes the archive log directory, and restarts the product.