Sun Java System Federation Manager 7.0 User's Guide

ProcedureTo Archive the Federation Manager Packages

This section details the second part of the standard installation option: how to create a staging directory and archive the packages added to your machine in To Add Federation Manager Packages. This procedure will create the WAR used to deploy Federation Manager. After generating a WAR, see Deploying Your Federation Manager WAR.

  1. Log in as root.

  2. Run fmwar to archive the Federation Manager packages into a WAR file.


    # /FederationManager-base/SUNWam/fm/bin/fmwar -n name-for-WAR 
    -d staging-directory -s silent-installation-file -g
    

    where:

    name-for-WAR

    Defines the name given to the created WAR. 

    staging-directory

    Defines the path to the directory which contains the files that will be used to generate the WAR. 


    Caution – Caution –

    The -g option in the example above is used only when creating a Federation Manager WAR for the first time. In these cases, the -g option must be specified and the -d option must point to a directory which does not yet exist. This directory will be the staging directory. A recommended path is /var/opt/SUNWam/FM/war_staging. If the -g option is not specified, -d must point to an existing staging directory to regenerate the WAR. See Detailing the fmwar Syntax for more information.


    silent-installation-file

    Defines the name of the file created in The Silent Installation File.

  3. Follow the instructions in Deploying Your Federation Manager WAR to complete the product installation.