On a remote UNIX client, you can use the cvfwc_ping
command to determine whether the CommServe computer can communicate with the client through the client's firewall.
cvfwc_ping
attempts to establish a connection to a remote client computer through the client's firewall.
-
Change to the base installation directory:
cd software_installation_path/Base
-
Run the
cvfwc_ping
command:cvfwc_ping [-inst instance_name] [-cn client_name] [-timeout secs] remote_cnameremote_host [remote_port]
Where:
-
(Optional)
-inst
, together with-cn
, specifies the local context (the instance name) of the CommCell program to run. If omitted, the first available instance in the registry, or the content of theGALAXY_INST
variable (if set), is used. -
(Optional)
-cn
, together with-inst
, specifies the local context (the client name) of the CommCell program to run. If omitted, the first available virtual client in the registry, or the content of theGALAXY_CNAME
variable (if set), is used. -
(Optional)
-timeout
is the number of seconds after which the command stops trying to establish a connection with the remote computer. -
remote_cname
is the remote computer's client name. -
remote_host
is the remote computer's hostname. -
(Optional)
remote_port
gives the port to send the request to. If not specified, the request is sent to port 8400.
Example:
cvfwc_ping -inst Instance001 -cn qm10v-ora1 qm10v-cs qm10v-cs.qm.lab 8402
Command return:
-
If a connection to the remote host is successful, the command returns "Successfully connected", and a return code of 0.
-
If the connection fails, the command returns an error message, and a return code of 1.