You can perform a test to confirm that your Open Switch is running, and that it can accept client connections.
Confirming that OpenSwitch can accept client connections
Go to the $SYBASE directory, and from a C shell, enter:
source SYBASE.csh
From a Bash, a Bourne, or a Korn shell, enter:
. ./SYBASE.sh
Verify that the Adaptive Server you configured to use with OpenSwitch is running. At the command prompt, enter:
isql -Uusername -Ppassword -SServer_name
where Server_name is the name of the Adaptive Server.
The connection is established if Adaptive Server is up and running.
Use isql to log in to OpenSwitch as an administrator:
isql -UAdministrator_UserName -PAdministrator_Password -SOpenSwitch_ServerNname
where:
Administrator_Username – is the OpenSwitch administrator user name specified in the OpenSwitch configuration file.
Administrator_Password – is the OpenSwitch administrator password specified in the OpenSwitch configuration file.
OpenSwitch_ServerName – is the name of the OpenSwitch server specified in the OpenSwitch configuration file.
To check the connection using rp_set TEXTSIZE command, enter:
1> rp_set TEXTSIZE 2> go
You should see:
parameter value ------------------------------------------------ TEXTSIZE 1048576 (1 row affected) (return status = 0)
The connection to OpenSwitch is established successfully.
Use isql to log in to OpenSwitch as a regular client connection:
isql -UUsername -PPassword -SOpenSwitch_ServerName
where:
Username – is the client user name.
Password – is the client password.
OpenSwitch_ServerName – is the name of the OpenSwitch server as specified in the OpenSwitch configuration file.
To view the Adaptive Server version information in which OpenSwitch is connected to, issue the select @@version command:
1> select @@version 2> go
You should see:
Adaptive Server Enterprise/12.5.2/EBF 11799/P/Linux Intel/Enterprise Linux/ase1252/1831/32-bit/OPT/Fri Apr 9 02:53:50 2004