Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

For more information on creating user application configuration files, see the userapp.conf(4) man page.

Preparing User-Defined Configuration Data

This section describes how to prepare user-defined configuration data by using the slconfig command.

The slconfig command compiles and adds user-defined configuration data to the software load repository. The user-defined configuration data, including application installation scripts are added as parameters for each node group.

ProcedureTo Prepare the User-Defined Configuration Data by Using the slconfig Command

  1. Log in to the build server as superuser.

  2. Run the command slconfig:

    $ slconfig -n SWL1 -v ha_v1

The slconfig command is run once because all node groups are processed in one operation.

For more information on the slconfig command, see the slconfig(1M) man page.

Copying User-Defined Configuration Data to an Export Directory

Use the slexport command to copy the user-defined configuration data created by slconfig into an export directory. The export directory is used by the flconfig command to add the user-defined configuration data to the flash archive.

ProcedureTo Copy the User-Defined Configuration Data to the Export Directory by Using the slexport Command

  1. Log in to the build server.

  2. Run the command slexport:

    $ slexport -n SWL1 -v ha_v1

    This command exports user-defined configuration data in SWL1, to the directory SMCT_EXPORT_DIR/SWL1@ha_v1.

The slexport command copies all software load data to the export directory, including data previously generated by the slcreate command.

For more information on using the slexport command, see the slexport(1M) man page.

Adding User-Defined Configuration Data to the Flash Archive

When the user-defined configuration data has been copied to the export directory, it must be added to the flash archive by using the flconfig command.

ProcedureTo Add User-Defined Configuration Data to the Flash Archive by Using the flconfig Command

  1. Log in to the build server as a superuser.

  2. Run the flconfig command:

    # flconfig -n SWL1 -v ha_v1 -g master_el -f FLASH_1

    The flconfig command uses the user-defined configuration data from the export directory to generate configuration sections. A configuration section contains all the user-defined configuration data for each node group. The configuration sections are added to the flash archive.

    The flconfig command is run for each flash archive on which you want to replace the user-defined configuration data.

    The flconfig command must be run for each flash archive associated to a master-eligible node group or dataless node group because each node group is processed individually.

    The diskless node groups are configured when the master-eligible node group or dataless node group that embeds them is being processed.

    For information about the flconfig command, see the flconfig(1M) man page.

Previous Previous     Contents     Index     Next Next