C Convergence Configuration Scripts

This appendix provides information about the Oracle Communications Convergence configuration scripts.

init-config Script

The init-config script enables you to perform an initial configuration of your Convergence Server deployment. Table C-1 describes the init-config options.

Table C-1 init-config Options

Option Description

-appserver <appsvrtype>

Specify Application Server Type. Default is weblogic

-state <statefile>

Statefile containing configuration information. The example savestate file 'saveState.example' can be used as a reference.

-nodisplay

-s

Perform a silent install, requires -state option.

-saveState <statefile>

Saves all responses to named state file.

-h

Display help message

To see more about the usages of init-config:
 /opt/sun/comms/iwc/sbin/init-config -h
Usage:/opt/sun/comms/iwc/sbin/init-config [-appserver <appsvrtype>] [-state <statefile>] [-nodisplay|-s] [-saveState <statefile>] [-h]

extractSSLArgs.sh Script

When you configure Convergence for the first time with Oracle WebLogic Server in a secure mode, run the extractSSLArgs.sh script. This script validates the SSL configuration details in Oracle WebLogic Server and stores the valid details in a format that is required by Convergence Server for all future deployments and processing.

Options

Table C-2 lists the options for validating and storing Oracle WebLogic Server SSL details.

Table C-2 WebLogicServer Options

Option Description

-u

WebLogic Server Administrator User ID

-p

WebLogic Server Administrator User Password

-l

WebLogic Server Administrator URL

t3|t3s://FQDN:Weblogic AdminServer (SSL|NonSSL)Port

For example, t3://hostname.com:7001 Or t3s://hostname.com:7002

To Process the Script

Validate the SSL and Keystore configurations on WebLogic Server setup. Perform the steps in the "Installing and Configuring Oracle WebLogic Server for Convergence" section to set up WebLogic Server in a secure mode.

Keep the configuration details of WebLogic Server handy. To validate and store Oracle WebLogic Server SSL details for Convergence Server in a secure mode:
  1. Open a new terminal and prepare the terminal by sourcing the setDomainEnv.sh script of the Oracle WebLogic Server domain:
    cd Weblogic_Domain/bin
    source ./setDomainEnv.sh OR . ./setDomainEnv.sh
  2. Set the WLST_PROPERTIES environment variable depending on the selected Oracle WebLogic Server keystore configuration. If the Custom Identity and Custom Trust keystore option is configured as the Oracle WebLogic Server keystore configuration, set the WLST_PROPERTIES variable to:
    export WLST_PROPERTIES="-Dweblogic.security.TrustKeyStore=CustomTrust ,
    -Dweblogic.security.CustomTrustKeyStoreFileName=Weblogic_
    Domain/mytrust.jks"

    where Weblogic_Domain/mytrust.jks is the location of truststore file location.

    If the Custom Identity and Java Standard Trust keystore option is configured as the Oracle WebLogic Server keystore configuration, set the WLST_PROPERTIES variable to:
    export WLST_
    PROPERTIES="-Dweblogic.security.TrustKeyStore=JavaStandardTrust"
  3. Run the extractSSLArgs.sh bash shell script extractSSLArgs.sh which is available under the Convergence Server installed location, Convergence_Server_Installedlocation/sbin:
    sh ./extractSSLArgs.sh -u weblogic_admin_user -p weblogic_admin_user_password
    -l t3s://weblogic_server_host:SSL_port