Open topic with navigation

# Silent Mode Installation

Silent mode enables scripting of the installation process. Before you install ArcMC in silent mode, create two properties files required for the silent mode installation:

- A file to capture the installation properties

- A file to capture the configuration properties

After you have generated the two files, you need to merge them into one file and use the resulting file for silent mode installations.

## About Licenses for Silent Mode Installations

As for any Software ArcMC installation, each silent mode installation requires a unique license file. Obtain licenses from OpenText Customer Support and install them on the hosts on which you are installing in silent mode, or ensure that the location where the license is placed is accessible from those hosts.

## Generating the Silent Install Properties File

This procedure generates the two properties files and then instructs you to combine them into one file. The resulting file is used for future silent installations.

1. Log in to the host on which you wish to generate the installation properties file.

   If you want the silent mode installations to be done as root user, log in as root in this step. Otherwise, log in as a non-root user.

2. Run this command:

   `./ArcSight-ArcMC-3.2.0.<installer_build_number>.0.bin -r <directory_location`>

   where `<installer_build_number>` `is the build number of the installer file, and``<directory_location>` is the location of the directory where the generated properties file will be placed. This cannot be the same location where ArcMC is being installed.

   The properties file must be called `installer.properties`.

3. Install ArcMC in GUI mode, as described in GUI Mode Installation Follow the steps until step 10, and proceed with the following:

1. Click Previous instead of Done to proceed further.

2. Click Cancel to stop the installation.

4. When the confirmation message appears, click Cancel. Click Quit to clear this message.

5. Navigate to the directory location you specified for the `installer.properties` file earlier.

   The following is an example of the generated `installer.properties` file.

       # Replay feature output
       # ---------------------
       # This file was built by the Replay feature of InstallAnywhere.
       # It contains variables that were set by Panels, Consoles or Custom Code.
       #Choose Install Folder
       #---------------------

       USER_INSTALL_DIR=/opt/<arcmc_installation_folder>/<build number>/installdir
       #Install
       #-------

       -fileOverwrite_/opt/<arcmc_installation_folder>/<build number>/installdir/UninstallerData/Uninstall_ArcSight_Management_Center_3.2.0 CE.lax=Yes
       #Intervention Required
       #---------------------
       USER_AND_PORT_1=username
       USER_AND_PORT_2=443

1. Start the configuration wizard with the option to record configuration properties:

       <install_dir>/current/arcsight/arcmc/bin/arcsight arcmcsetup -i recorderui

   When prompted to specify a file name to capture the configuration properties, specify a meaningful name. For example, `config.properties`, then browse to choose the same directory as the `installer.properties` file.

2. Step through the configuration wizard, as described starting at Step 10 of GUI Mode Installation.

3. After the configuration properties file is generated, append the contents of this file to the `installer.properties` file generated in the previous procedure, Generating the Silent Install Properties File, to create a combined file.

   For example, you can use the cat command to concatenate both files:

       cat installer.properties config.properties > <combinedproperties.properties>

4. Include the following property in the combined file:

       ARCSIGHT_CONAPP_SETUP_PROPERTIES=<directory_location>/
       <combined_properties_file>

   where `<directory_location>` is the path of the directory where the combined file is located, and `<combined_properties_file>` is the file name of the combined file you created earlier.

   Use the combined file for future ArcMC silent mode installations, as described in Installing Using the Generated Properties File.

## Installing Using the Generated Properties File

Follow the steps below to install ArcMC using Silent mode:

1. Uninstall the previously installed version of ArcSight Management Center, as explained in Uninstalling Software ArcMC

2. Make sure the host on which you install ArcMC complies with the requirements listed in the ArcSight Management Center Release Notes, and the prerequisites listed in Prerequisites for Installation.

3. Copy the combined properties file you generated previously to the location where you copied the ArcMC software.

4. Do one of the following:

- Edit the `licensePanel.path` property in the silent mode properties file to include the location of the license file for this instance of the installation. (A unique license file is required for each instance of installation.), OR

- Set the `licensePanel.path` property to point to a file, such as `arcmc_license.zip`. Then, for each instance of the silent mode installation, copy the relevant license file to the location and rename it to `arcmc_license.zip`. Doing so will avoid the need to update the combined properties file for each installation.

5. Run these 2 commands from the directory where you copied the ArcMC software:

- `chmod +x ArcSight-ArcMC-3.2.0.<installer_build_number>.0.bin`

- `./ArcSight-ArcMC-3.2.0.<installer_build_number>.0.bin -i silent -f <combined_properties_file>`

  `where <installer_build_number> is the build number of the installer file.`

  The rest of the installation and configuration proceeds silently without requiring further input.

Note: In some cases, a spurious error message may be displayed: "SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". This is a harmless error and may be ignored.