4.7.4 Testing the connection to the database server
To test the connection to the database server, verify whether a connection can be established from the server instance to the database server by running the ping-connection-pool subcommand of the asadmin utility command.
Prerequisites
-
The domain administration server (DAS) is running.
-
Application Server is running.
-
The database server (DBMS) is running.
-
Setup to connect to the database server is complete.
Intended users
-
System engineers
Procedure
To confirm whether a connection can be established to the database server from the server instance, run the ping-connection-pool subcommand of the asadmin utility command.
asadmin ping-connection-pool --targetserver_instance_name connection_pool_ID
When this command is run, the result is displayed as follows:
Command ping-connection-pool executed successfully.