Starting EAServer, ASA, and EAServer Manager

This section describes how to start EAServer, EAServer Manager, and the ASA database.

StepsStarting the server

  1. Change to the EAServer bin directory, and run serverstart; for example:

    cd /work/Sybase/EAServer/bin
    serverstart.sh
    

    The server starts and runs as a foreground process in the current console window. To start the server in a separate window, use the -xterm option; for example:

    cd /work/Sybase/EAServer/bin
    serverstart.sh -xterm
    

    To use this option, you must have installed and configured X-Windows; the xterm command must successfully launch a terminal window in the shell where you start the server.

StepsStarting Adaptive Server Anywhere

After you have started EAServer, you must start ASA before you can run the sample application.

  1. Make sure the xterm utility runs in your environment.

  2. To start the ASA database server in a new X-terminal window, run:

    $JAGUAR/bin/start_sampledb
    

    To run the database server in the same window, run:

    $JAGUAR/bin/sampledb.sh
    

StepsStarting EAServer Manager

EAServer Manager allows you to configure servers, packages, and components. EAServer Manager runs as a plug-in to Sybase Central. To start Sybase Central and EAServer Manager:

  1. Change to $JAGUAR/bin and enter:

    jagmgr
    
  2. In the Sybase Central window, select Tools | Connect.

  3. In the New Connection dialog box, select EAServer Manager, and click OK.

  4. On the connection screen, enter:

    • User Name – jagadmin

    • Password – leave blank

      You need not provide a password for jagadmin unless one has been established. See “Administration password and OS authentication” in the EAServer Security Administration and Programming Guide for information on establishing a jagadmin password.

    • Host Name – your machine name

    • Port Number – your IIOP port number; the default is 9000

    • Use Proxy – If you are connecting to an EAServer that is located behind a firewall, and your EAServer Manager host is on the other side of the firewall, select this option to use a proxy or Network Address Translation (NAT) router to connect. If selected, supply router or NAT information in the Host Name and Port Number fields.

  5. Click Connect.

  6. Double-click the EAServer Manager icon to view the property folders.

NoteWhen you install EAServer, the default host name for all listeners is set to the name of the host machine and the default IIOP port number to 9000. After connecting to EAServer, you can use EAServer Manager to edit the listener properties and change the default host name and port numbers. Some of the sample programs use “localhost” as the host name when connecting to EAServer. See “Configuring listeners” in Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide for more information.