Home | Previous Page | Next Page   Installing Dynamic Server > Alternative Installation Methods >

Installing Informix Products in Silent Mode

The following syntax diagram illustrates the installation options for the silent installation.

Read syntax diagramSkip visual syntax diagram>>-+-ids_install------+-- -silent--+- -acceptlicense=yes---+---->
   +-installserver----+            '- -options--optionfile-'
   +-installconn------+
   '-installclientsdk-'
 
>--+--------------------+--+----------------------+------------->
   '- -log--logfilename-'  '- -javahome--Java dir-'
 
>--+----------------------+--+---------------------+------------>
   '- -tempdir--temp path-'  +- -is:freediskblocks-+
                             '- -is:nospacecheck---'
 
>--+-------------+---------------------------------------------><
   |        (1)  |
   '- -help------'
 
Notes:
  1. No other options are valid with this option.
Table 9.
Element Purpose Restrictions
optionfile Specifies file name of *.ini file to preset installation properties None
Java dir Specifies the JRE on the host computer to use during installation instead of the JRE provided by the installation program The JRE must be version 1.3.2 or higher.
logfilename Specifies a non-default log filename None
temp path Specifies path to temporary directory. If you receive an error during file extraction that there is not enough space in the /tmp directory, set the -tempdir option to a different temporary directory. None

The following table describes the silent installation options.

Table 10. Silent Installation Options
Option Meaning
-silent Install in silent mode
-acceptlicense=yes Accept license
-options Use specified *.ini file
ids_install Install all components of Dynamic Server
installserver Install database server only
installconn Install IConnect only
installclientsdk Install Client SDK only
-log Log installation program progress
-javahome Use specified JRE. To force the installation program to use the bundled JRE and ignore any local JREs, use the -javahome none argument.
-tempdir Use specified temporary directory
-is:freediskblocks Use to determine if there is adequate space for the product installation files prior to starting the installation.
-is:nospacecheck Use to prevent the installation program from checking if there is adequate space for product installation files. Use with caution: If there is not enough space to extract the temporary files, the installation program will fail.
-help Display list of supported options and their functions

When you perform a silent installation, you can modify the *.ini file to set installation properties or accept default options. The following table describes these properties and valid values.

Table 11. Properties for *.ini file
Properties Possible Values Description

-P installLocation=

Valid directory; for example:
/usr/informix (default)

Specifies the directory into which the product will be installed

-W setupTypes.selectedSetupTypeId=

typical (default)

custom

Specifies setup type

-P ids.active=

true (default)

false

Indicates whether product or features is selected for installation.

-P csdk.active=

true

false (default)

Indicates whether product or features is selected for installation.

Only either IConnect or the full Client SDK can be installed at once. The cannot both be installed into the same location.

-P iconnect.active=

true (default)

false

Indicates whether product or features is selected for installation.

Only either IConnect or the full Client SDK can be installed at once.

-SP CSDK/UNIX/csdk.jar clientfeature.active=

true (default)

false

Indicates whether product or features is selected for installation.

Only applicable for a Client SDK install with the Custom option.

-P jdbc.active=

true (default)

false

Indicates whether product or features is selected for installation.

-SP SERVER/IIF.jar messagesfeature.active=

-SP SERVER/IDS.jar messagesfeature.active=

true (default)

false

Indicates whether the error messages feature is selected for installation

-P glsfeature.active=

true (default)

false

Indicates whether the GLS feature is selected for installation

-W rolesepenable.roleSep=

on

off (default)

Indicates whether to enable role separation

-W rolesep.dbsso_g=

-W rolesep.aao_g=

Valid user for group; for example:

"informix" (default)

Role separation group values, if role separation is enabled

-W demoinput.CreateDemo=

"create" (default)

"nocreate"

Tells the installation program whether to create a demo database

-W demoinput2.preonconfig=

Valid values: yes - existing onconfig file will be used

no (default) Individual values provided will be used

If this value is set to "yes", a file must be provided in the onconfig path argument.

Indicates whether or not to use a pre-existing onconfig file to configure the demo server

-W demoinput3.onconfig=

Pre-existing onconfig path; for example:
-W demoinput3.onconfig=" /usr/informix/onconfig. mydemo"

Provides the path to the onconfig file to be used.

This is only used if the pre-existing onconfig option is set to "yes"

-W demoinput.ServerNumber=

Valid values include integers between 0 and 255; for example:"0" (default)

The value of the Server Number for the IDS demo server

-W demoinput4.ServerName=

The value of the Server Name for the IDS demo instance, such as: "demo_on" (default)

The value of the Server Name for the IDS demo instance

-W demoinput4.rootpath=

Path, such as: "demo/server/ online_root" (default)

The full path to the storage area of the root dbspace for the IDS demo server

-W demoinput4.rootsize=

Size of the root dbspace for the IDS demo server, such as: 30000 (default)

The size of the root dbspace for the IDS demo server

-W demoinput4.bufferpool=

Bufferpool information, such as: "size=2k,buffers= 1000,lrus=8,lru_min_dirty =50,lru_max_dirty=60" (default)

The non-default bufferpool information for the IDS demo server

-W demoinput4.numcpuvps=

Numerical value, such as 1 (default)

The number of CPU VPS to configure for the IDS demo server

-W lafiles.licenseAccepted=
for ids_install option (all components of Dynamic Server)

-P lafiles.licenseAccepted=
for installserver option (server only)

true
false

Accepts license. Value of false stops the installation process.

No value is needed if you accept the license at the command line.

You can find the license in
#MEDIADIR/doc/license
.

The silent installation requires no user interaction with the installation program after you start the script.

To perform a silent installation with the installation program
  1. Copy server.ini or bundle.ini from the install media to any readable location: mysilent.ini.
    • To install server only, copy the server.ini from the SERVER subdirectory.
    • To install any or all components of Dynamic Server, copy the bundle.ini from the root level of the media directory.
  2. Edit the *.ini file in your directory.

    Use this file to configure the install with the options specified. If you do not edit these values or specify the *.ini file when you specify a silent install, the installation program will use default values.

  3. As the root user, execute the silent install, as in the following example, where mysilent.ini stands for the filename or filename and path:
    ./ids_install -silent -options mysilent.ini
    ./ids_installserver -silent -options mysilent.ini
    ./ids_installconn -silent -options mysilent.ini
    ./ids_installclientsdk -silent -options mysilent.ini

    You must either set the options file to accept the Software License Agreement or specify acceptance when you execute the silent install with the following argument:

    -acceptlicense=yes

A final screen of the installation program tells you what to do after the installation is complete in order to start Dynamic Server. For more information about this screen, see Post-Installation Tasks.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]