Creating and Configuring an EAServer Cluster

Create and configure an application server cluster using the EAServer Management Console.

Prerequisites 

Ensure that all servers are started and available during cluster creation and configuration.

  1. Manually configure all cluster nodes.
    Note: If you intend to host the runtime database as the primary node's default database, you can perform this step on the subordinate node.
    1. Change the installation-directory\EAServer\config\scs-resources.xml file, by using information captured in the following table. You can make these changes in each node's file, or you can simply copy a modified version of the file to each node.
      Locate this line Change it to this
      <property name="serverName" value="localhost"/> <property name="serverName" value="PrimaryNodeHostName>"/
      Note: If you intend to use a single-point-of-failure runtime database, substitute PrimaryNodeHostName with the identified host.

      <!-- JConnect (non-JIT): <property name="dataSourceClass" value="com.sybase.jdbc3.jdbc.SybDataSource"/> -->

      <property name="dataSourceClass" value="com.sybase.djc.sql.jit.SybaseDataSource3"/>

      <!-- JIT: <property name="dataSourceClass" value="com.sybase.djc.sql.jit.SybaseDataSource3"/> -->

      <property name="dataSourceClass" value="com.sybase.jdbc3.jdbc.SybDataSource"/>

    2. Run the following command on each node: <installation-directory>\EAServer\bin\run-ant-config.bat configure scs-resources.xml
  2. Open the EAServer Management Console.
  3. Select the cluster folder under the node identified as the primary node in the cluster.
  4. Right-click the Clusters folder and select Add.
  5. Use the New Cluster Wizard wizard to:
    • Identify the primary and secondary nodes of the cluster by name and set the host names as well as the IIOP and HTTP port numbers.
    • Ping the secondary servers to ensure you have identified them correctly and validate that the servers are available.
    Note:

    Cluster members must all have the same administrative password. All servers in a cluster must have the same password for the admin@system user. This password is used to establish a trust relationship between the servers.

    For more information, see Chapter 6: Clusters and Synchronization in the EA Server System Administration Guide. The EAServer documentation is located at the main level of the Sybase WorkSpace online bookshelf. If this server documentation is not installed, the documentation is available on the Sybase Product Manuals Web site at http://sybooks.sybase.com/nav/base.do.
  6. Click OK to save your changes.

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.