Installing and deploying RepConnector in silent mode

This section describes how to install and deploy both the RepConnector runtime component and RepConnector Manager in silent mode. See “Overview” for more information about RepConnector.

To install in silent mode, you must first copy all the files from the installation CD into a writable directory. Next, customize the RepConnector resource file, InstallOptions.txt for the specific type of installation you want to perform.

StepsStarting the silent installation

  1. Insert the RepConnector CD into your CD drive.

  2. Copy, or use FTP to send the contents of the mounted disk to the installation directory on the machine where you want to install RepConnector.

  3. Edit the InstallOptions.txt file accordingly.

StepsInstalling RepConnector on EAServer or WebLogic

To install RepConnector to EAServer or WebLogic in silent mode, edit the installation settings in the InstallOptions.txt file.

  1. Navigate to the installation directory and use a text editor to open the InstallOptions.txt file.

  2. Locate the InstallTypeBean.InstallType section and set:

    • For EAServer – InstallTypeBean.InstallType=“1

    • For WebLogic – InstallTypeBean.InstallType=“2

    For example:

    -W InstallTypeBean.InstallType="1"
    
  3. Locate the Sybase Software Asset Management License information section and set:

    • SySamServer.useLicenseServer – valid values are “True” or “False”. Set to true to obtain a license from the server, else set it to false to use an unserved license.

    • SySamServer.hostname – if you are using a served license, enter the server host name.

    • SySamServer.portNumber – if you are using a served license, enter the license server port number. Leave the entry blank to use the default port number.

    For example:

    -W SySamServer.useLicenseServer="True"
    -W SySamServer.hostName="localhost"
    -W SySamServer.portNumber=""
    
  4. Locate the Sybase Software Asset Management e-mail alerts section and set:

    • SySamNotification.enableNotification – valid values are “True” or “False”. Set it to true to configure e-mail alerts.

    • SySamNotification.smtpHostName – enter the SMTP server host name.

    • SySamNotification.smtpPortNumber – enter the SMTP server port number.

    • SySamNotification.emailSender – enter the sender’s e-mail address.

    • SySamNotification.emailRecipients – enter the recipient e-mail addresses. You can provide multiple recipient e-mail address separated by a comma.

    • SySamNotification.emailSeverity – valid values are “INFORMATIONAL”, “WARNING”, and “ERROR”.

    For example:

    -W SySamNotification.enableNotification="True"
    -W SySamNotification.smtpHostName="smtp.mycompany.com"
    -W SySamNotification.smtpPortNumber="25"
    -W SySamNotification.emailSender="SySamAlertSender@email.com"
    -W SySamNotification.emailRecipients="user@email.com"
    -W SySamNotification.emailSeverity="WARNING"
    
  5. Locate the installation section and set:

    • InstallLocation – enter the EAServer or WebLogic home directory where RepConnector will be installed.

      For example:

      • For EAServer installation on Windows:

        -P installLocation="D:\software\EAServer"
        
      • For BEA WebLogic installation on UNIX:

        -P installLocation="/work/software/bea10"
        
  6. If you are using WebLogic as the application server, set these WebLogic parameters:

    • ServerInfo.hostName – enter the machine name where you have installed WebLogic server.

    • ServerInfo.userName – enter your WebLogic administrative user name.

    • ServerInfo.password – enter your WebLogic user password.

    • ServerInfo.domainName – enter your WebLogic domain name.

    • ServerInfo.serverName – enter your WebLogic server name.

    • ServerInfo.portNumber – enter your WebLogic server’s HTTP port number.

    For example:

    -W ServerInfo.hostName="myhost"
    -W ServerInfo.userName="weblogic"
    -W ServerInfo.password="weblogic"
    -W ServerInfo.domainName="mydomain"
    -W ServerInfo.serverName="AdminServer"
    -W ServerInfo.portNumber="7001"
    

StepsInstalling RepConnector Manager in silent mode

  1. Navigate to the installation directory and use a text editor to open the InstallOptions.txt file.

  2. Locate the InstallTypeBean.InstallType variable and set it to 3.

    For example:

    -W InstallTypeBean.InstallType="3"
    
  3. Locate the User Interface section and set the type of UI installation:

    • UITypeBean.UIType – valid values are:

      • 1 – to install RepConnector Manager to an existing Eclipse 3.1.2 (3.1.1 for HP Itanium).

      • 2 – to install Eclipse 3.1.2 (3.1.1 for HP Itanium) and RepConnector Manager.

    For example:

    -W UITypeBean.UIType="1"
    
  4. Locate the Install Location section and set:

    • InstallLocation – enter the directory where RepConnector Manager will be installed. If you are installing RepConnector Manager to an existing Eclipse installation, enter the Eclipse directory.

    For example:

    • Installing RepConnector Manager and Eclipse on Windows:

      -P installLocation="D:\software\"
      
    • Installing RepConnector Manager to an existing Eclipse on UNIX:

      -P installLocation="/work/software/eclipse”
      

NoteSybase recommends that you do not to delete or enter comments on any unused parameters. By default, all unused parameters are ignored. For example, SySAM information parameters are not used for RepConnector Manager installation. Hence, you need not modify these values.

StepsRunning the silent installation

To run the silent installation:

  1. On UNIX, enter:

    silentInstallRC.sh
    
  2. On Windows, execute:

    silentInstallRC.bat
    

NoteIf you have installed RepConnector on BEA WebLogic, you must perform the post installation steps. See “Completing RepConnector installation on BEA WebLogic on UNIX” or “Completing RepConnector installation on BEA WebLogic on Windows”.