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

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Maintenance Commands | nhsmctsetup(1M)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- PARAMETERS
- ATTRIBUTES
- SEE ALSO

## NAME

> nhsmctsetup - create the SMCT environment

## SYNOPSIS

> `/opt/SUNWcgha/nhsmct/bin/nhsmctsetup [-h]`
> `/opt/SUNWcgha/nhsmct/bin/nhsmctsetup -w smct-dir -s solaris-dist [-h]`
> `/opt/SUNWcgha/nhsmct/bin/nhsmctsetup -d -w smct-dir -s solaris-dist [-h]`
> `/opt/SUNWcgha/nhsmct/bin/nhsmctsetup -w smct-dir -s solaris-dist -r nhas-pkgs [-p nhas-patch][-h]`

## DESCRIPTION

> Do not use the SMCT tool with the current patch level of the Foundation Services product.

> The `nhsmctsetup` command creates the SMCT environment and directories on the build server or the installation server if it is configured as a build server.

> An SMCT environment must be created for each user planning to deploy the Foundation Services software. Use the Korn shell when creating the SMCT environment.

> You can run `nhsmctsetup` as a single command with the options described in the following section. You must include the -r option to create an environment that runs both `slxxx` and `flxxx` commands. If you do not specify this option, your environment can only run the `flxxx` commands.

> To run `nhsmctsetup` in an interactive mode, do not specify any options.

> The `nhsmctsetup` command must be run as a superuser.

## OPTIONS

> The options that you can use with the `nhsmctsetup` command are:

> -w smct-dir

>   Directory where the SMCT environment will be created.

> -s solaris-dist

>   Directory where the Solaris JumpStart distribution is located.

> -r nhas-pkgs

>   Directory where the Foundation Services runtime packages are located. This option is necessary if you want to run the software load commands (`slxxx`).

> -d

>   Reconfigures the SMCT environment with regard to the new SMCT directory and Solaris distribution, after it has been copied to a new location.

> -p nhas-patch

>   Directory where the Foundation Services patches are located. This option is necessary if you want to run the software load (`slxxx`) commands.

> -h

>   Displays help information.

## PARAMETERS

> The `nhsmctsetup` command creates an environment definition file, `smct.env`, that is stored in the smct-dir/`scripts` directory. Do not manually modify this file.

> This file contains the following environment variables:

> `NHAS_PKG_DIR`

>   Foundation Services runtime packages repository

> `NHAS_PAT_DIR`

>   Foundation Services runtime patches repository

> `NHAS_PROD_DIR`

>   Foundation Services product installation directory

> `SMCT_SOL_DIR`

>   Location of the Solaris JumpStart distribution

> `SMCT_VER`

>   SMCT version

> `SMCT_ENV_DIR`

>   SMCT environment root directory

> `SMCT_ETC_DIR`

>   SMCT default root configuration directory

> `SMCT_MODELS_DIR`

>   SMCT default model templates directory

> `SMCT_HARDWARE_DIR`

>   SMCT default hardware configuration files directory.

> `SMCT_SERVICES_DIR`

>   SMCT default Foundation Services configuration files directory

> `SMCT_DEFAULT_CONFIG_DIR`

>   SMCT default configuration files directory

> `SMCT_SWLREP_DIR`

>   SMCT software load repository

> `SMCT_SOFTREP_DIR`

>   SMCT software repository

> Create aliases in your environment to the `slxxx` and `flxxx` commands by running the following command in the Korn shell:

> >     # . $SMCT_ENV_DIR/scripts/smct.env

> This command must be run each time you return to your SMCT environment.

> To check the values that are currently configured for the SMCT environment variables, use the following command:

> >     # env | grep SMCT

## ATTRIBUTES

> See `attributes`(5) for descriptions of the following attributes:

> ATTRIBUTE TYPE | ATTRIBUTE VALUE
> --- | ---
> Architecture | SPARC
> Availability | SUNWnhsmc
> Interface Stability | Evolving

## SEE ALSO

> `flconfig`(1M), `flcreate`(1M), `fldeploy`(1M), `flinstall`(1M), `slconfig`(1M), `slcreate`(1M), `sldelete`(1M), `sldeploy`(1M), `slexport`(1M)

Netra HAS FS 2.1 | Go To Top | Last Changed September 2004

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.