Silent installation

Last Updated : Aug 17, 2021 |

Silent installation of POM creates an xml configuration file for the izpack installer. However, you can create your own xml configuration file and customize values in the file for the izpack installer.

During a silent installation, you do not need to provide inputs to the system.

To perform a silent installation, use the following options while running the installPOM script:

Options

Remarks

-s

You must use this option while performing a silent install of POM.

If you do not use this option, the system ignores the following options:
  • –d

  • -p

  • -t

  • -c

  • -f

  • -i

-d<installation directory path>

Use to do the following:
  • To specify a path to install POM

  • To specify a path to install POM Manager directory

-p

<package name>

Use to select one of the following installation packages:

  • vpmsplugin

  • pomserver

  • ddapps

You can select the same package multiple times.

-t<primary | aux>

Use to select one of the following installation types:

  • primary

  • aux

If you select primary, the script selects both the vpmsplugin and pomserver packages.

If you select aux, the script selects the pomserver package.

-c<import path>

Use to specify a path to import an existing certificate from an external server to the Experience Portal (EP) server.

If you do not use this option, the system creates a new certificate on the Experience Portal (EP) server.

-I<primary ipaddress:port>

Use in the following:

  • If you use –t with aux.

  • If you change install_type in aux.

-f<config file path>

Use to specify a path to install a configuration file on the EP server.

The config file has the following parameters:

install_dir_path=<path>

cert_path=<path>

pack=< vpmsplugin | pomserver | ddapps>

install_type=<primary | aux>

primary_ip_port=<ipaddress:port>

If you specify installation parameters while installing POM, the system does not use the default installation parameters. You can specify parameters by using the command line options.

For example, if you use both –d <install path> and –f <config file> and the POM configuration file contains the install_dir_path parameter, the system ignores the default install_dir_path. The system uses the parameter –d that you specify for installation.

-h

Use to see detailed help on POM installation options.

Example

[root@pupomcpe17317 mnt]# ./installPOM -h

Usage: installPOM [-s]
                  [-d <install path>]
                  [-p vpmsplugin|pomserver|ddapps]
                  [-t primary|aux]
                  [-i <primary ip address:port>]
                  [-c <cert import path>]
                  [-P <cert password>]
                  [-f <config file>]
                  [-h]
                  [-?]


    -s
        Required for silent install.
        Following options will work only with -s:
        -d, -p, -t, -c, -f, -i, -P

    -d  <install path for POM>
         Specify the path on the linux system where POM should
         be installed. Directory "POManager" will be created
         under the path specified.

        e.g. installPOM -s -d /testdir/avpom
        (This will install POM under /testdir/avpom/POManager,
          and set POM_HOME to /testdir/avpom/POManager)

    -p <package name>
        Specifies the package which needs to be installed
        during POM installation.

        Package name can be one of :
            vpmsplugin
            pomserver
            ddapps

        This option can be used more than once to specify multiple
        packages.

        e.g. installPOM -s -p vpmsplugin -p pomserver

        (This will install vpmsplugin and pomserver packages
          during POM installation)

    -t <installation type>
        Specifies the installation type. The installation type
        can be one of:
            primary
            aux

        If type is "primary", then the following packages
          are selected automatically:
            vpmsplugin, pomserver

        If type is "aux", then only pomserver package is selected.

        This option can be specified only once.

    -i <primary IP:port>
        Specifies the IP address and port of the primary POM server.

        This is applicable only when installing aux POM server using
          -t "aux" or insall_type="aux" in the config file (-f option)

    -c <certificate import path>
        If this option is used, then the certificate is picked up
        from the location specified as the argument to -c.

        If this option is not used, then a new certificate is created
        during POM installation.

        e.g. installPOM -s -c /opt/certs/pom_pki.crt

    -P <certificate password>
        This option is used to specify the certificate password when
        a certificate is imported (see option -c).

        This option is applicable only with -c option.

    -f <config file path>
        If this option is used, then the properties are read
        from the file specified. This file can have the following
        property value pairs:

        install_dir_path=<path>
        cert_path=<path>
        cert_password=<password>
        pack=<vmpsplugin|pomserver|ddapps>
        install_type=<primary|aux>
        primary_ip_port=<IP address:port>

        Command line options will be given preference over
        parameters in the config file.

        e.g. Contents of the config file /tmp/mypom.conf:

        install_dir_path=/opt/Avaya/pominstalldir
        pack=ddapps
        pack=pomserver
        pack=vpmsplugin
        cert_path=/tmp/mypkicertificate.crt


        Usage from command line:
        installPOM -s -f /tmp/mypom.conf

[root@pupomcpe17317 mnt]#