+

Search Tips   |   Advanced Search


Backing up the Deployment Manager profile on i5/OS

This topic provides instructions on backing up the Deployment Manager profile in a clustered environment on IBM i5/OS using the saveNdDm script.

To back up the Deployment Manager profile:

  1. Write down the current WebSphere Portal administrator password as supply this information if you restore to this backup.

  2. Type STRQSH on the command line to start the QShell Interpreter.

  3. Change to the /QIBM/ProdData/PortalExpress/V61/Tools directory.

  4. Enter the saveNdDm.sh parameters command to back up the Deployment Manager profile. Use the following parameters listed in the table with the above task; the following parameters are required:

    -profileName (-p)

    Name of the Deployment Manager profile to save

    -mediaDevice (-m) or -saveFileLib (-s)

    Specifies a media device to save to or a library where saved files are created to save the data

    The library name must be 10 characters are less.

    -forceDown (-f)

    Stops the servers associated with the profile; for example WebSphere_Portal and the HTTP server

    If you do not enter this parameter, manually stop the servers before running this task.

    Parameter names are case-sensitive.


    Table 1. Optional parameters for use with the script saveNdDm

    Parameter Description
    -help (-h)

    Displays help for the command.

    -logDir (-l)

    Specifies where to save log files for this command.

    If a log directory is not specified using this parameter, logs are created by default in /savRstWp60/profile/logs, where profile is the name of the profile whose data is being saved.

    If you specify a path using this parameter, the command will create only the last directory in the path. The other directories in the path must already exist.

    For example, if you specify -l /wcs01/logs, the /wcs01 directory must already exist.

    -cancelRestart (-c)

    Cancel restart of servers. By default, all the servers will be restarted.

    -userName (-u)

    User name for Administrator account. You must specific a user name and password to bring down the server if security is enabled.

    -password (-w)

    Password for user name specified. You must specific a user name and password to bring down the server if security is enabled.

    -verify (-v)

    Verifies the command. If this parameter is used, the command outputs what would be done according to the parameters being used, without actually performing the backup.


Examples

saveNdDm.sh -profileName wp01 -mediaDevice tap01 -cancelRestart

In this example, Deployment Manager profile wp01 is saved to media device tap01. Servers are not restarted after saving the profile.

saveNdDm.sh -v -p wp01 -m tap01 -c

This example is the same as the previous one, except the parameter short names are used and the -v parameter is specified to verify what the command will do before running it.


Parent topic:

Backing up and restoring profiles


Related tasks


Prepare the WAS Deployment Manager on i5/OS