Sun Management Center Change Manager 1.0.1 Reference Manual

## cmsp(4CM)

NAME | DESCRIPTION | EXAMPLES | SEE ALSO

#### NAME

cmsp– Sun Management Center Change Manager shared profile

#### DESCRIPTION

Shared profiles describe how one or more managed hosts are configured with a software stack. Much of the information described by these profiles is the same as described in an installation profile.

A shared profile file name must use the `.cmsp` suffix, for example, `web-server.cmsp`.

The shared profile is a set of properties and associated property values, one property per line. The property format is as follows:

    property-name=property-value

Lines that contain only whitespace are ignored. Lines whose first non-whitespace character is # or ! are comments. The rest of the lines in the shared profile describe properties.

The property name consists of all the characters in the line starting with the first non-whitespace character and up to, but not including, the first equals sign (=) character.

The property value consists of the rest of the line after the equals sign.

If you want a backslash character to appear in the property value, escape the backslash with another backslash.

The following example shows that the value of the `base_config_target_arch` property is `sun4u`.

    base_config_target_arch=sun4u

#### EXAMPLES

##### Example 1 Default Shared Profile for Creating One Boot Environment

The following example shared profile uses the default values to create one boot environment.

    #
    # Example shared profile for a system with one boot environment.
    #
    # This example shared profile assumes a disk that is no smaller than
    # 7 Gbytes in size.
    #
    # You must also specify the following properties with appropriate
    # values:
    #
    # o base_config_flar_archive
    #       Name of the Solaris Flash archive associated with this
    #	shared profile
    # o base_config_boot_image
    #	Location of the Solaris boot image associated with the
    #	specified Solaris Flash archive
    # o base_config_sysidcfg_rootpw
    #       Encrypted root password entry, which can be taken from the
    #	password entry in the /etc/shadow file
    # o base_config_sysidcfg_timezone
    #       Appropriate time zone value from /usr/share/lib/zoneinfo
    #
    base_config_target_arch=sun4u
    base_config_sysidcfg_nameservice=none
    base_config_sysidcfg_networkinterface=primary
    base_config_sysidcfg_netmask=255.255.255.0
    base_config_sysidcfg_ipv6=no
    base_config_sysidcfg_defaultroute=none
    base_config_sysidcfg_systemlocale=C
    base_config_sysidcfg_terminal=vt100
    base_config_sysidcfg_timeserver=localhost
    base_config_sysidcfg_security_policy=none
    base_config_be_0_root_device=rootdisk.s0
    base_config_be_0_root_size=free
    base_config_be_0_var_device=rootdisk.s3
    base_config_be_0_var_size=1024
    base_config_local_swap1_device=rootdisk.s1
    base_config_local_swap1_size=2048

##### Example 2 Default Shared Profile for Creating Two Boot Environments

The following example shared profile uses the default values to create two boot environments.

    #
    # Example shared profile for a system with two boot environments.
    #
    # This example shared profile assumes a disk that is no smaller than
    # 12 Gbytes in size.
    #
    # You must also specify the following properties with appropriate
    # values:
    #
    # o base_config_flar_archive
    #       Name of the Solaris Flash archive associated with this
    #	shared profile
    # o base_config_boot_image
    #	Location of the Solaris boot image associated with the
    #	specified Solaris Flash archive
    # o base_config_sysidcfg_rootpw
    #       Encrypted root password entry, which can be taken from the
    #	password entry in the /etc/shadow file
    # o base_config_sysidcfg_timezone
    #       Appropriate time zone value from /usr/share/lib/zoneinfo
    #
    base_config_target_arch=sun4u
    base_config_sysidcfg_nameservice=none
    base_config_sysidcfg_networkinterface=primary
    base_config_sysidcfg_netmask=255.255.255.0
    base_config_sysidcfg_ipv6=no
    base_config_sysidcfg_defaultroute=none
    base_config_sysidcfg_systemlocale=C
    base_config_sysidcfg_terminal=vt100
    base_config_sysidcfg_timeserver=localhost
    base_config_sysidcfg_security_policy=none
    base_config_be_0_root_device=rootdisk.s0
    base_config_be_0_root_size=free
    base_config_be_0_var_device=rootdisk.s3
    base_config_be_0_var_size=1024
    base_config_be_1_root_device=rootdisk.s4
    base_config_be_1_root_size=4096
    base_config_be_1_var_device=rootdisk.s5
    base_config_be_1_var_size=1024
    base_config_local_swap1_device=rootdisk.s1
    base_config_local_swap1_size=2048

#### SEE ALSO

Sun Management Center Change Manager 1.0.1 Administration Guide

SunOS 5.9 Last Revised 10 October 2002

NAME | DESCRIPTION | EXAMPLES | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates