ims.nn script  SNMP

Chapter 1: Command Line Utilities

ims.db script

Adaptive Server Anywhere database components have a different prefix than e-Biz Impact, are installed to a different location than the e-Biz Impact executables, and use the ims.db wrapper.


Windows

Complete the following steps to configure and run the e-Biz Impact authorization database. The cluster name for this example is Cluster1.

  1. Copy impact.db (default installation C:\Sybase\ImpactServer-5_4\bin) to C:\Sybase\ImpactServer-5_4\Cluster1.

  2. Create a DSN for the e-Biz Impact client and server. See the e-Biz Impact Authorization Guide for instructions.

  3. To configure the database to run as a service, enter this command on one line:

    ims.db dbsvc -as -i -t network -s Manual 
         -w Cluster1_db_service C:\Sybase\ImpactServer-5_4\asa\dbsrv8 
         -n Cluster1_db 
         -x “tcpip(PORT=NNNN)” 
         C:\Sybase\ImpactServer-5_4\db\Cluster1\impact.db
    
    Table 1-1: db parameters

    Parameter

    Value/description

    -s

    Manual or automatic. Specify Automatic to automatically start the Adaptive Server Anywhere database at machine startup.

    -w

    Identifies the name of the service appended to Adaptive Server Anywhere to form the service name displayed in the Windows Services control panel. In this example, “Adaptive Server Anywhere - Cluster1_db_service” would display.

    -n

    The logical name used by Adaptive Server Anywhere for this instance of the e-Biz Impact database—impact.db. In this example, Cluster1_db is used.

    -x

    Identifies port information. Replace NNNN with the TCP/IP port on which the database accepts connection requests. This port must be unique and unused by other applications on the localhost machine. The final value for this flag is the absolute path to the database file.

  4. To start and stop the service, use the Windows Services control panel (Start | Settings | Control Panel | Administrative Tools | Services).


UNIX

Complete the following steps to configure and run the Impact database on UNIX. For this example, the cluster name is Cluster1 and the installation directory is /working/Sybase/ImpactServer-5_4/.

  1. Copy impact.db from /working/Sybase/ImpactServer-5_4/bin to /working/Sybase/ImpactServer-5_4/clusters/Cluster1.

  2. Create a DSN for the e-Biz Impact client and server. See the e-Biz Impact Authorization Guide for instructions.

  3. To start the database as a daemon, run this command on one line:

    ims.db dbsrv8 -ud -m -n Cluster1_db -x “tcpip(PORT=NNNNN)” 
    
         /working/Sybase/ImpactServer-5_4/clusters/Cluster1/impact.db
    

    where:

    Table 1-2: db parameters

    Parameter

    Description/Value

    -ud

    Prompts the database to run as a daemon. If you omit this parameter, the database remains on the command line.

    -n

    The logical name used by Adaptive Server Anywhere for this instance of the e-Biz Impact database—impact.db. In this example, Cluster1_db is used.

    -x

    Identifies port information. Replace NNNN with the TCP/IP port on which the database accepts connection requests. Note that this port must be unique and unused by other applications on the machine. The final value for this flag is the absolute path to the database file.

  4. To shut down the database from the command line, enter q at the command prompt.

  5. To shut down the database, if running as a daemon, send an interrupt signal (SIGINT) to the dbsrv8 process. Enter the following (as the user who started the process):

    kill -2 pid
    




Copyright © 2005. Sybase Inc. All rights reserved. SNMP

View this book as PDF