sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
2. 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. ### To Prepare the User-Defined Configuration Data by Using the `slconfig` Command Log in to the build server as superuser. Run the command `slconfig`:
       $ slconfig -n SWL1 -v ha_v1
2. 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. ### To Copy the User-Defined Configuration Data to the Export Directory by Using the `slexport` Command Log in to the build server. Run the command `slexport`:
       $ slexport -n SWL1 -v ha_v1
2. 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. ### To Add User-Defined Configuration Data to the Flash Archive by Using the `flconfig` Command Log in to the build server as a superuser. 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 Contents Index Next

Copyright 1994-2004 Sun Microsystems