8 Installing and Deploying MetaSolv Solution Using Silent Installation

This chapter describes how to install or upgrade the Oracle Communications MetaSolv Solution (MSS) application server using silent installation.

Silent installation enables you to run the installer from the command line by supplying installation values in a properties file. Use silent installation to automate installation, perform repeatable installations, or install MSS on multiple hosts without entering values in the graphical installer.

About Silent Installation

The silent installer uses the same installation logic as the graphical installer.

Instead of entering values on installer screens, you specify the required values in a properties file. The silent installer supports the following installation types:
  • Full installation
  • Upgrade installation
The silent installer supports the following configurations:
  • Single server
  • Cluster on a single host
  • High availability cluster on multiple hosts
For a high availability cluster on multiple hosts, use a staged installation process. Run the install phase on the primary host and then on each secondary host. After installation completes on all hosts and the required servers are running, run the deploy phase on the primary host.

The primary host is the host on which the active WebLogic Administration Server is running. Secondary hosts are the other hosts participating in the clustered installation.

Before You Start

Before running the silent installer:
  1. Complete the applicable tasks in "Preparing For the Application Server Installation".

  2. Complete the planning worksheets for your installation configuration.

  3. Prepare the MSS database for the release you are installing and verify that it is running and accessible.

  4. Verify that the database users APP_MSLV, APP_API, and APP_INT exist.

  5. Create and configure the WebLogic domain using the applicable procedure:
  6. Complete the applicable WebLogic domain template, cluster, machine, proxy server, and SSL configuration tasks.

  7. Verify that the Administration Server is running and accessible.

  8. For an SSL cluster installation, verify that SSL is enabled in WebLogic for every managed server.

  9. Verify that the JAVA_HOME, PATH, and MW_HOME environment variables are set for the installation environment.

  10. Verify that the installation user has the required access to the installer files and write permissions for the target directories.

  11. Obtain the application server installer JAR for the release or patch you are installing.

  12. Obtain the supplied silent-installer-sample.properties file from the installer package and configure it. See"Preparing the Silent Installation Properties File" for more details.

For an upgrade, also complete the applicable preparation tasks in "Upgrading Oracle Communications MetaSolv Solution"

Note:

The silent installer stops and restarts servers during the applicable installation and upgrade procedures. Plan the installation for a period when the resulting service interruption is acceptable.

Preparing the Silent Installation Properties File

The silent installer reads installation values from silent-installer-sample.properties.

To prepare the file:
  1. Extract the MSS application server installer JAR (MSS.RreleaseNumber.bbuild_AppServerInstaller.jar) to obtain the silent-installer-sample.properties file. Update this file with the server and configuration details for your target installation.

  2. Open silent-installer-sample.properties in a text editor. Enter the values for your target installation. For installations spanning multiple hosts, prepare the file on each host and use directory paths appropriate to that host.

    
    # Silent installer configuration 
    # Sample Usage:
    # When running from the installer jar
    #       java -jar MSS.RreleaseNumber.bbuild_AppServerInstaller.jar -silent -config silent-installer-sample.properties -targetDir <Extract path>
    #       where releaseNumber is the MSS release number and build is the build number.
    # When running from the extracted setup file
    #       setup.cmd -silent -config silent-installer-sample.properties
    #       For Linux replace the setup.cmd with .sh
    #
    # Below list gives more details
    # Option	                    Description
    #-silent	   Runs the installer in silent mode. This option is required for silent installation.
    #-config <FILE>    Specifies the silent installer properties file.
    #-targetDir <PATH> Specifies the directory where the installer files are extracted when running the installer JAR file directly.
    #-install	   Runs the install phase only. This option is used for high availability multi-host clustered full installations and upgrades.
    #-deploy	   Runs the deploy phase only. This option is used on the primary host after the install phase has completed on all hosts in a high availability multi-host cluster.
    #-restart	   Restarts the MSS servers on the host where the command is run. This option is provided as an add-on helper to simplify server restart operations. 
    
    # Passwords must use environment variables; plain-text and file-based passwords are not accepted.
    # Syntax: property.password=env:
    
    # install.type values: full or upgrade
    # - full: standard full installation flow
    # - upgrade: runs upgrade flow
    install.type=full
    
    # install.topology values: single or cluster
    # - single: one managed server target, using server.* properties below
    # - cluster: one or more local managed server targets, using cluster.* properties below
    install.topology=
    
    # --- Admin / Domain ---
    admin.host=
    admin.port=9052
    admin.user=weblogic
    admin.password=env:WLS_ADMIN_PASSWORD
    
    # --- SSL connection to admin ---
    ssl.enabled=true
    ssl.keyStoreLocation=path/trust.jks
    ssl.certPassword=env:WLS_SSL_CERT_PASSWORD
    ssl.certType=JKS
    
    # --- Directories ---
    # Always use / in paths to avoid issues
    dirs.weblogicHome=
    dirs.metasolvHome=
    dirs.domainHome=
    
    # --- Installer ports for single topology---
    # Optional for single-server installs only.
    # Blank values use the first available-port defaults as the UI (Log 4501+, CORBA 2507+).
    ports.log=
    ports.corba=
    
    # --- Cluster topology ---
    # Use these only when install.topology=cluster.
    # Run once per physical host. Run all secondary hosts first and the Admin Server host last.
    # Each secondary restarts its local managed servers. The Admin host restarts Admin, proxy and local
    # managed servers, verifies every cluster server is RUNNING, and then deploys the MSS applications.
    
    # The active Admin Server host is inferred as primary; all managed-server-only hosts are secondary.
    # IMPORTANT: cluster.name is case sensitive.
    cluster.name=
    
    # Optional editable-port overrides, keyed by the exact WebLogic managed-server name.
    # Replace MSLVServer1/MSLVServer2 with the server names configured in your domain.
    # Blank or omitted values use UI defaults of first available-port(Log 4501+, CORBA 2507+).
    cluster.server.MSLVServer1.ports.log=
    cluster.server.MSLVServer1.ports.corba=
    cluster.server.MSLVServer2.ports.log=
    cluster.server.MSLVServer2.ports.corba=
    # Continue the same cluster.server.<serverName>.ports.* pattern for additional servers.
    # For SSL cluster installations, SSL must already be enabled in WebLogic for every managed server.
    
    
    # --- Proxy ---
    # Single server: optional. Blank uses the UI default http://<server-listen-address>:<server-listen-port>.
    # A supplied value is preserved exactly like an edit to the UI Proxy tab.
    # Cluster full install: required. Enter the external proxy/load-balancer URL and its correct HTTP or HTTPS port.
    # Upgrade: not required. Leave blank when a proxy URL is not needed for the upgrade flow.
    # proxy.url=http://example-managed-host:8001
    proxy.url=
    
    # --- Gateway toggles ---
    # Comma-separated values. Leave empty for all false.
    # Valid servers:CABSERVER,DLRSERVER,INFRASTRUCTURE,NISERVER,PSRSERVER,PSRANCILLARY,PSREUBSERVER,SOASERVER,TMSSERVER,WMSERVER
    gateway.servers=PSRSERVER
    # Valid threadProcs:EVENTPROC,EVENT2PROC,INTEGRATIONSERVER,INTERNETSIGNALSERVER,SIGNALSERVERPROC,SYSTEMTASKSERVERPROC
    gateway.threadProcs=INTEGRATIONSERVER
    
    # --- Upgrade options ---
    # Used only when install.type=upgrade
    # upgrade.backupServers values: true or false
    # - true: backup selected server before upgrade
    # - false: no backup before upgrade
    upgrade.backupServers=false
    
    # --- Database Parameters ---
    # Used only when install.type=full. Database parameters are not required for install.type=upgrade.
    # Allowed modes: host_port_sid, jdbc_url, rac_host_port_sid, rac_jdbc_url
    # host_port_sid mode requires oracle.serverName/serverPort/serviceName.
    # jdbc_url mode requires only oracle.jdbcUrl for connection addressing.
    oracle.mode=jdbc_url
    oracle.serverName=example-db-host
    oracle.serverPort=port
    oracle.serviceName=ORCL
    oracle.pluggableDB=false
    oracle.jdbcUrl=jdbc:oracle:thin:@example-db-host:port:ORCL
    
    
    # --- RAC-only fields (required only when using RAC mode) ---
    # rac_host_port_sid mode requires each node's serverName/serverPort/instanceName.
    # rac_jdbc_url mode requires each node's jdbcUrl for connection addressing.
    # oracle.rac.serviceName is also required for generated two-tier application configuration.
    # RAC JDBC URL examples:
    # - When Remote Listener is turned off: jdbc:oracle:thin:@<host-vip>:<port>/<dbservice>
    # - When Remote Listener is turned on: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<host-vip>)(PORT=<port>))(CONNECT_DATA=(SERVICE_NAME=<dbservice>)(INSTANCE_NAME=<inst1>)))
    oracle.rac.remoteListener=true
    oracle.rac.serviceName=
    oracle.rac.pluggableDB=false
    oracle.rac.nodeCount=
    oracle.rac.1.serverName=
    oracle.rac.1.serverPort=1521
    oracle.rac.1.instanceName=
    oracle.rac.1.jdbcUrl=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mslv_host)(PORT=port))(CONNECT_DATA=(SERVICE_NAME=servicename)(INSTANCE_NAME=instancename)))
    oracle.rac.2.serverName=rac-node-2
    oracle.rac.2.serverPort=1521
    oracle.rac.2.instanceName=MSLV2
    oracle.rac.2.jdbcUrl=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mslv_host)(PORT=port))(CONNECT_DATA=(SERVICE_NAME=servicename)(INSTANCE_NAME=instancename)))
    
    # DB Credentials
    oracle.appMslvPassword=env:ORACLE_APP_MSLV_PASSWORD
    oracle.appApiPassword=env:ORACLE_APP_API_PASSWORD
    oracle.appIntPassword=env:ORACLE_APP_INT_PASSWORD
    
  3. Set the installation type according to the release or patch instructions.

    For a full installation:
     install.type=full
    For an upgrade:
    install.type=upgrade
  4. Set the installation topology.

    For a single server:
    install.topology=single
    For a cluster on one host or multiple hosts:
    install.topology=cluster
    cluster.name=MSLV_Cluster
    MSLV_Cluster id the name of the cluster configured in WebLogic. The cluster name is case-sensitive. The installer identifies the host running the active Administration Server as the primary host. Hosts containing only managed servers are identified as secondary hosts.
  5. Specify the Administration Server connection values:

    admin.host=admin.example.com 
    admin.port= 
    admin.user= 
    admin.password=env:

    Enter the host, port, and user name with values configured for your domain.

  6. Configure the connection to the Administration Server for SSL or non-SSL communication.

    For an SSL connection:

    ssl.enabled=true 
    ssl.keyStoreLocation=Path/To/Keystore/trust.jks 
    ssl.certPassword=env: 
    ssl.certType=JKS
    Specify your trust keystore location and type, and set admin.port to the appropriate SSL port.
    For a non-SSL connection:
    ssl.enabled=false
  7. Specify the WebLogic home, MSS home, and WebLogic domain home directories:
     dirs.weblogicHome=MW_HOME 
    dirs.metasolvHome=MSLV_HOME 
    dirs.domainHome=mslvdomain 
  8. Configure the applicable password properties to reference environment variables:
     admin.password=env: 
    ssl.certPassword=env:
    oracle.appMslvPassword=env: 
    oracle.appApiPassword=env:
    oracle.appIntPassword=env: 
    Plain-text passwords and file-based password references are not accepted.
  9. Configure the logging and CORBA ports for your topology, if required.

    For a single server:
    ports.log= 
    ports.corba=
    For a cluster:
    cluster.server.MSLVServer1.ports.log= 
    cluster.server.MSLVServer1.ports.corba= 
    cluster.server.MSLVServer2.ports.log= 
    cluster.server.MSLVServer2.ports.corba=
    Replace MSLVServer1 and MSLVServer2 with the exact WebLogic managed server names. Use the same property pattern for additional managed servers. If single server values are blank, or cluster overrides are blank or omitted, the installer selects available ports using the graphical installer’s default behavior. Logging ports start at 4501, and CORBA ports start at 2507.
  10. Specify the proxy URL, as applicable:
    proxy.url=https://proxy.example.com:9058
    For a cluster full installation, specify the external proxy or load balancer URL and its correct HTTP or HTTPS port. For a single server installation, this property is optional. A blank value uses http://<server-listen-address>:<server-listen-port>. For an upgrade, leave the property blank when a proxy URL is not required. A supplied URL is preserved as entered.
  11. Specify the gateway servers and thread processes to enable. For example:

    gateway.servers=PSRSERVER,WMSERVER
    gateway.threadProcs=INTEGRATIONSERVER
    For multiple values, use a comma-separated list.
    Supported gateway.servers values are:
    • CABSERVER
    • DLRSERVER
    • INFRASTRUCTURE
    • NISERVER
    • PSRSERVER
    • PSRANCILLARY
    • PSREUBSERVER
    • SOASERVER
    • TMSSERVER
    • WMSERVER
    Supported gateway.threadProcs values are:
    • EVENTPROC
    • EVENT2PROC
    • INTEGRATIONSERVER
    • INTERNETSIGNALSERVER
    • SIGNALSERVERPROC
    • SYSTEMTASKSERVERPROC
    Leave either property empty to disable all options controlled by that property:
    gateway.servers= 
    gateway.threadProcs=
  12. For a full installation, configure one of the following database connection modes. Database parameters are not required for upgrade installations. For a non-RAC connection using host and port values, specify:
    oracle.mode=host_port_sid 
    oracle.serverName=db.example.com 
    oracle.serverPort=1521 
    oracle.serviceName=ORCL 
    oracle.pluggableDB=false
    Set oracle.pluggableDB according to your database configuration.
    For a non-RAC connection using a JDBC URL, specify:
    oracle.mode=jdbc_url 
    oracle.jdbcUrl=jdbc:oracle:thin:@db.example.com:1521:ORCL
    Use a connection string appropriate to your database.
    For a RAC connection, first configure the common RAC properties:
    oracle.rac.remoteListener=true 
    oracle.rac.serviceName=exampleService 
    oracle.rac.pluggableDB=false 
    oracle.rac.nodeCount=2
    Set the remote listener, service name, pluggable database, and node count values according to your configuration. The RAC service name is also required for generated two-tier application configuration. For RAC addressing using host and port values, specify:
    oracle.mode=rac_host_port_sid 
    oracle.rac.1.serverName=rac-node-1.example.com 
    oracle.rac.1.serverPort=1521 
    oracle.rac.1.instanceName=MSLV1 
    oracle.rac.2.serverName=rac-node-2.example.com 
    oracle.rac.2.serverPort=1521 
    oracle.rac.2.instanceName=MSLV2
    For RAC addressing using JDBC URLs, specify:
    oracle.mode=rac_jdbc_url 
    oracle.rac.1.jdbcUrl=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac-node-1.example.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=exampleService)(INSTANCE_NAME=MSLV1))) 
    oracle.rac.2.jdbcUrl=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac-node-2.example.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=exampleService)(INSTANCE_NAME=MSLV2))) 

    Specify values for each RAC node, using node indexes corresponding to oracle.rac.nodeCount .

  13. For an upgrade installation, specify whether the installer backs up the selected server before upgrading:
    upgrade.backupServers=true 

    Set the value to false to omit the installer-managed server backup. Complete the applicable backup preparation described in "Upgrading Oracle Communications MetaSolv Solution".

  14. Save the properties file.

Running the Silent Installer

After preparing the properties file, set the environment variables and run the installer.
  1. Verify that JAVA_HOME points to the supported JDK, that its bin directory is included in PATH, and that MW_HOME points to the appropriate Oracle Middleware home

  2. Set the applicable password environment variables in the command environment from which you will run the installer:

    Table 8-1 Password Environment Variables

    Environment variable Value
    WLS_ADMIN_PASSWORD WebLogic administrator password.
    WLS_SSL_CERT_PASSWORD SSL password, when SSL is enabled.
    ORACLE_APP_MSLV_PASSWORD APP_MSLV database user password.
    ORACLE_APP_API_PASSWORD APP_API APP_API database user password.
    ORACLE_APP_INT_PASSWORD APP_INT database user password.

    For installations spanning multiple hosts, set the applicable variables on each host.

  3. Run the installer using one of the following methods.

    From the extracted setup script on Windows:
    setup.cmd -silent -config silent-installer-sample.properties
    From the extracted setup script on Linux:
    ./setup.sh -silent -config silent-installer-sample.properties
    From the installer JAR:
     java -jar MSS.RreleaseNumber.bbuild_AppServerInstaller.jar -silent -config silent-installer-sample.properties -targetDir extractionDirectory
    Where
    • releaseNumber with the MSS release number.

    • build with the installer build number.

    • extractionDirectory with the directory in which to extract the installer files.

    The -targetDir argument supplies the directory that you would select in the graphical installer’s folder selection screen. For example, use .\b247 on Windows or ./b247 on Linux to specify a directory named b247. For a high availability cluster spanning multiple hosts, follow "Installing and Deploying MetaSolv Solution on a High Availability Cluster" to run the separate install and deploy phases.

  4. Review the command output and installer results as described in "Reviewing Silent Installer Results"

    Note:

    The properties file supplies configuration values. Run the installer JAR or setup script with that properties file.
    The installer supports the following command options:

    Table 8-2 Silent Installer Command Options

    Option Description
    -silent Runs the installer in silent mode. Required for silent installation.
    -config properties_file_path Specifies the silent installation properties file.
    -targetDir target_dir_Path Specifies the extraction directory when running the installer JAR directly.
    -install Runs only the install phase for a high availability cluster installation or upgrade.
    -deploy Runs only the deploy phase on the primary host after installation completes on all hosts.
    -restart Restarts the MSS servers on the host where the command runs.

Installing and Deploying MSS on a Single Server

To perform a full installation on a single server:

  1. Complete the tasks in "Before You Start"

  2. Prepare the properties file and set:
    install.type=full 
    install.topology=single 
  3. Configure the Administration Server connection, SSL, directories, database, gateway, proxy, and port settings applicable to your installation.

  4. Set the required password environment variables.

  5. Run the silent installer.

    On Windows: setup.cmd -silent -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -config silent-installer-sample.properties

  6. Review the command output and installer results.

  7. Complete the tasks in "Verifying the Installation".

Note:

If you use JacORB with SSL, update orb.properties as described in step 12 in "Installing and Deploying MSS" section. After silent installation completes, update the file and restart the required servers for the changes to take effect.

For a single server installation, the installer discovers the server name, listen address, HTTP port, locality, and WebLogic version from WebLogic.

Installing and Deploying MSS on a Cluster on a Single Host

Use this procedure when the Administration Server, proxy server, and all managed servers are on the same physical host.

To install and deploy MSS cluster on a single host:
  1. Complete the tasks in "Before You Start".

  2. Prepare the properties file and set:
    install.type=full 
    install.topology=cluster 
    cluster.name=MSLVCluster
    Replace MSLVCluster with the exact cluster name configured in WebLogic.
  3. Configure the Administration Server connection, SSL, directories, database, and gateway settings.

  4. Specify the cluster proxy URL.

  5. If required, specify managed server logging and CORBA port overrides.

  6. Set the required password environment variables.

  7. Run the silent installer.

    On Windows: setup.cmd -silent -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -config silent-installer-sample.properties

  8. Review the installer results.

  9. Complete the tasks in "Verifying the Installation".

Note:

If you use JacORB with SSL, update orb.properties as described in step in 12 in "Installing and Deploying MSS" section. After silent installation completes, update the file and restart the required servers for the changes to take effect.

The installer uses the generated MSS start and stop scripts to restart the Administration Server, proxy server, and local managed servers. Deployment begins after the required servers are running.

Installing and Deploying MetaSolv Solution on a High Availability Cluster

Use this procedure when the cluster spans multiple physical hosts. For a high availability cluster, run installation and deployment in separate phases:
  1. Run the install phase on the primary host.

  2. Run the install phase on each secondary host.

  3. Run the deploy phase on the primary host. The install phase performs the installation and configuration tasks required before deployment. The deploy phase deploys the MSS applications after installation completes on all hosts and the required servers are running.

Before starting:
  1. Complete the prerequisites on all target hosts.

  2. Prepare the properties file on each host.

  3. Set the following properties:
    install.type=full 
    install.topology=cluster 
    cluster.name=MSLVCluster
  4. Specify the target domain and cluster consistently across hosts.

  5. Use directory values appropriate to each host.

  6. Configure the applicable connection, SSL, database, gateway, proxy, and port settings.

  7. Set the required password environment variables on each host.

Running the Install Phase on the Primary Host

To run the install phase on the primary host:
  1. On the host running the active Administration Server, run the applicable command.

    On Windows: setup.cmd -silent -install -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -install -config silent-installer-sample.properties

  2. Review the command output and verify that the install phase completes successfully.

    The installer displays a message directing you to run the install phase on the secondary hosts.

Running the Install Phase on Secondary Hosts

To run the install phase on secondary hosts:
  1. On a secondary host, run the applicable command.

    On Windows: setup.cmd -silent -install -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -install -config silent-installer-sample.properties

    The installer performs local host operations and restarts the local managed servers.

  2. Review the command output and verify that the install phase completes successfully.

  3. Repeat the procedure on each remaining secondary host.

Running the Deploy Phase on the Primary Host

To run the deploy phase:
  1. 1. Verify that the install phase completed successfully on all hosts and that the required servers are running.

  2. Return to the primary host and run the applicable command.

    On Windows: setup.cmd -silent -deploy -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -deploy -config silent-installer-sample.properties

    The deploy phase verifies that the install phase completed for the same domain, cluster, and Administration Server URL. If the install phase marker is missing or does not match, the installer directs you to run the install phase first. Deployment begins after the required servers are running.

  3. Review the deployment results.

  4. Complete the tasks in "Verifying the Installation".

Upgrading MetaSolv Solution Using Silent Installation

Use this procedure to prepare for an MSS application server upgrade using silent installation. After completing the preparation, follow the upgrade procedure for your configuration. The silent upgrade process restarts the required servers before deployment. Plan for the resulting service interruption.

To prepare for a silent upgrade:
  1. Review the maintenance release or patch ReadMe to confirm the supported upgrade path and required configuration changes. See "Upgrading Oracle Communications MetaSolv Solution."

  2. Complete the applicable upgrade preparation and backup tasks. For a clustered installation, complete the preparation on all affected hosts. See "Preparing for the Upgrade" for information on preparing for the upgrade of single server. See "Preparing for the Upgrade" for information on clustered server upgrade procedure.

  3. Complete any database updates required for the maintenance release or patch. Silent upgrade performs the application server upgrade. Complete database updates separately as described in "Installing a Maintenance Release or Patch on the Database" in the existing upgrade chapter.

  4. Download the application server installer for the maintenance release or patch.

  5. Extract the installer JAR to obtain silent-installer-sample.properties. For installations spanning multiple hosts, make the extracted installer files available on each target host.

  6. Configure the properties file as described in "Preparing the Silent Installation Properties File". Specify the Administration Server connection, applicable SSL settings, and directories for the existing installation. For multiple hosts, use directory values appropriate to each host.

  7. Set the installation type:
    install.type=upgrade
    Database connection properties are not required for the upgrade flow.
  8. Specify whether the installer backs up the selected server before upgrading:
    upgrade.backupServers=true 

    Set the value to false to omit the installer-managed server backup. This setting does not replace the preparation and backup tasks in step 2.

  9. Set the applicable environment variables as described in "Running the Silent Installer"Verify that the password environment variables referenced in the properties file are available to the installer process. For multiple hosts, set the applicable variables on each host.

Upgrading a Single Server or a Cluster on a Single Host

Use this procedure to upgrade a single server or a cluster whose Administration Server, proxy server, and managed servers are on the same physical host. Before starting, complete the preparation in "Upgrading MetaSolv Solution Using Silent Installation".

To perform the upgrade:
  1. Open the configured properties file silent-installer-sample.properties and verify that:
    install.type=upgrade
  2. Set the topology for your configuration.

    For a single server: install.topology=single

    For a cluster on a single host: install.topology=cluster

    cluster.name=MSLVCluster

    Save the properties file.

  3. Run the combined installation and deployment command.

    On Windows: setup.cmd -silent -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -config silent-installer-sample.properties

    The installer performs the upgrade and restarts the required servers before deployment.

  4. Review the command output, installer.log, and silent-install-result.json. If the operation fails, correct the reported problem before rerunning the command. See "Reviewing Silent Installer Results".

  5. Verify deployment as described in "Verifying the Installation".

  6. Complete the remaining upgrade tasks:

Upgrading a High Availability Cluster

Use this procedure to upgrade a cluster spanning multiple physical hosts. Before starting, complete the preparation in "Upgrading MetaSolv Solution Using Silent Installation" on all target hosts. Perform the upgrade in this order:
  1. Install on the primary host

  2. Install on each secondary host

  3. Deploy from the primary host

To perform the upgrade:
  1. Verify that the properties file on each host contains:
    install.type=upgrade
    install.topology=cluster
    cluster.name=MSLVCluster
    Specify the target domain and cluster consistently across hosts, with directory values appropriate to each host.
  2. On the primary host, where the active Administration Server is running, run the install phase.

    On Windows: setup.cmd -silent -install -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -install -config silent-installer-sample.properties

    Review the results and verify that the primary-host install phase completes successfully.

  3. On each secondary host, run the install phase.

    On Windows: setup.cmd -silent -install -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -install -config silent-installer-sample.properties

    The installer performs local host operations and restarts the local managed servers.

  4. Verify that the install phase completes successfully on every host and that the required servers are running.

  5. Return to the primary host and run the deploy phase.

    On Windows: setup.cmd -silent -deploy -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -deploy -config silent-installer-sample.properties

    The deploy phase verifies the install phase marker against the domain, cluster, and Administration Server URL. If the marker is missing or does not match, the installer directs you to run the install phase first.

  6. Review the command output, installer.log, and silent-install-result.json. If deployment requires a restart, follow "Restarting Servers Using the Silent Installer". After the required servers are running, rerun the deploy phase on the primary host.

  7. Verify deployment as described in "Verifying the Installation".

  8. Complete the remaining upgrade tasks:

Restarting Servers Using the Silent Installer

Use the -restart option when the installer reports that a server restart is required before deployment can complete.

To restart servers:
  1. On the applicable host, verify that the properties file and required environment variables are available.

  2. Run the restart command.

    On Windows: setup.cmd -silent -restart -config silent-installer-sample.properties

    On Linux: ./setup.sh -silent -restart -config silent-installer-sample.properties

    On the primary host, the command stops and starts the Administration Server, proxy server, and local managed servers. On a secondary host, the command restarts the local managed servers.

  3. For a high availability cluster, run the command on the primary host and each secondary host.

  4. Verify that all required servers are running.

  5. For a staged high availability installation or upgrade, return to the primary host and rerun the deploy phase.

Reviewing Silent Installer Results

The installer writes progress and error details to installer.log and also writes a summary file to silent-install-result.json. If the operation succeeds, the command line displays a success message. If the operation fails, the command line displays a failure message and directs you to review installer.log.

Table 8-3 lists the checks to investigate a failure.

Table 8-3 Failure Conditions and Actions

Failure condition Action
Administration Server is not running or is unreachable Verify that the server is running and that the configured host and port are accessible.
Administration Server credentials are incorrect Verify the administrator user name, password environment variable, and env: reference.
SSL connection settings are incorrect Verify the keystore path, password reference, and configured type.
Database connection values are incorrect Verify database availability, connection properties, and credentials.
Required WebLogic servers are not running Review server startup logs and resolve the startup problem.
Deploy phase runs before installation completes Complete the install phase on the required hosts before running deployment.
Install phase marker is missing or does not match Verify the domain, cluster, and Administration Server URL, and run the required install phase.
Deployment requires a restart Follow "Restarting Servers Using the Silent Installer", and then rerun the deploy phase.

After correcting the reported problem, rerun the applicable command.

Verifying the Installation

After installation and deployment:
  1. Review the command output, installer.log, and silent-install-result.json.

  2. Complete the applicable verification procedure:

    For single server - Verifying the Installation

    For clustered server - Verifying the Deployment and Configuration.

  3. Complete the applicable SSL, proxy, load balancer, and configuration tasks.

  4. Complete the remaining tasks applicable to your installation: