|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (7)
View page history... |
| By default, shared components are not upgraded when you run a silent installation. The option to upgrade shared components in the silent state file is automatically disabled. That is, the option is set to {{UPGRADESC=No}}. This is true _even_ if you explicitly asked to upgrade shared components when you ran the interactive installation that generated the silent state file. That is, you ran {{commpkg install --upgradeSC y}}. |
| The reason to disable upgrading shared components in the silent state file is this: the other hosts on which you are propagating the installation may might have different shared components installed, or different versions of the shared components. These versions may might be required for other applications running on the different hosts. Therefore, it is safer not to upgrade the shared components by default. |
| You can upgrade shared components when you run a silent installation by taking performing either of these the following actions: |
* Use the {{--upgradeSC y}} option when you run the silent installation. (The command-line argument overrides the argument in the state file.) |
... |
| {info} |
| h4. {anchor:gfwcz} Silent Mode File Format |
| The silent mode file (also known as a state file) is formatted like a property file: blank lines begin with a number sign ({{#}}) and properties are key/value pairs separated by an equals ({{=}}) sign. You The following table shows which parameters you can change the following parameters: and provides examples: |
| * {{VERB}}— indicate which function to perform. For example {{VERB=install}} \\ \\You can add CLI arguments described in [commpkg usage|commpkg install Usage], however the {{—dry-run}} argument cannot be added to the {{install}} function in the state file. * {{ALTDISTROPATH}}— indicate an alternate distro path if {{—distro}} is not specified. For example, {{ALTDISTROPATH=SunOS5.10_i86pc_DBG.OBJ/release}} * {{PKGOVERWRITE}}— set this flag if you want to overwrite the existing installation packages. For example, {{PKGOVERWRITE=YES}} * {{INSTALLROOT}}— specify installation root. For example, {{INSTALLROOT=/opt/sun/comms}} * {{ALTROOT}}— set this flag if you want to use an alternate root. For example, {{ALTROOT=yes}} * {{EXCLUDEOS}}— set this flag if you don't want to upgrade Operating System patches. For example, {{EXCLUDEOS=YES}} * {{COMPONENTS}}— list the components you want to install.\* For example: ** {{COMPONENTS=MS64}} for 64–bit Messaging Server. ** {{COMPONENTS=MS64_L10N}} for localized 64–bit Messaging Server. ** {{COMPONENTS=MS}} for 32–bit Messaging Server. ** {{COMPONENTS=MS_L10N}} for localized 32–bit Messaging Server. ** {{COMPONENTS=CS}} for Calendar Server. * {{ACCEPTLICENSE}}- indicate whether or not to accept license. For example, {{ACCEPTLICENSE=yes}}.\\ \\This property must be specified either in the state file or as a command line argument. * {{UPGRADESC}}– indicate whether all shared components should or should not be upgraded without prompting. For example, {{UPGRADESC=no}} |
| h5. Silent Mode File Parameters || Parameter || Description || Example || | {{VERB}} | Indicates which function to perform. \\You can add CLI arguments described in [commpkg usage|commpkg install Usage], however the {{—dry-run}} argument cannot be added to the {{install}} function in the state file. | {{VERB=install}} | | {{ALTDISTROPATH}} | Indicates an alternate distro path if {{—distro}} is not specified. | {{ALTDISTROPATH=SunOS5.10_i86pc_DBG.OBJ/release}} | | {{PKGOVERWRITE}} | Overwrites the existing installation packages. | {{PKGOVERWRITE=YES}} | | {{INSTALLROOT}} | Specifies installation root. | {{INSTALLROOT=/opt/sun/comms}} | | {{ALTROOT}} | Specifies an alternate root. | {{ALTROOT=yes}} | | {{EXCLUDEOS}} | Specifies to not upgrade operating system patches. | {{EXCLUDEOS=YES}} | | {{COMPONENTS}} | Lists the components you want to install. | {{COMPONENTS=MS64}} for 64-bit Messaging Server.\\ {{COMPONENTS=MS64_L10N}} for localized 64-bit Messaging Server.\\ {{COMPONENTS=MS}} for 32-bit Messaging Server. \\ {{COMPONENTS=MS_L10N}} for localized 32-bit Messaging Server.\\ {{COMPONENTS=CS}} for Calendar Server. | | {{ACCEPTLICENSE}} | Indicates whether or not to accept license.\\This property must be specified either in the state file or as a command line argument. | {{ACCEPTLICENSE=yes}}. | | {{UPGRADESC}} | Indicates whether all shared components should or should not be upgraded without prompting. | {{UPGRADESC=no}} | |
| \* To display a complete list of the product names (such as MS, MS64, CS) to use with the {{COMPONENTS}} property, run the {{commpkg info --listPackages}} command. This command displays the mnemonics for each product. |