You can perform a sanity test to confirm that your Open Switch is running and can accept client connections.
Open a command window.
Use one of these commands to source the environment variables:
source SYBASE.csh
or
. ./SYBASE.sh
Use isql to log in to the OpenSwitch server:
isql -Usa -P -S<OS_server_name>
where <OS_server_name> is the name of the OpenSwitch server.
Execute the following command:
1> select @@servername 2> go
The name of the Primary Cache server should display.
Use isql to log in to the OpenSwitch server as an Administrator:
isql -Usa -Psa -S<OS_server_name>
where <OS_server_name> is the name of the OpenSwitch server.
At the command prompt, enter:
1> rp_set TEXTSIZE 2> go
You should see:
parameter value-------TEXTSIZE 1048576(1 row affected) (return status = 0)
Use isql to log in to OpenSwitch as a client:
isql -Uusername -Ppassword -S<OS_server_name>
where:
username is the client user name
password is the client password
<OS_server_name> is the name of the OpenSwitch server
At the prompt, issue the select @@version command to see the version information of the Adaptive Server to which OpenSwitch is connected. For example:
1> select @@version 2> go Adaptive Server Enterprise/15.0/EBF 13444 ESD #2/P/Sun_svr4/OS 5.8/ase150/2193/64-bit /FBO/Wed May 17 22:39:59 2006