It is important to determine the port # on which the current instance of Shareplex is running, especially when running many Shareplex instances on a server. Determining the correct port # can ensure that there is no overstepping of Shareplex instances when launching Shareplex. The port number is the easiest way to relate to a Shareplex instance since it is a numerical entity as opposed to the variable directory which has the Unix path as its value (Shareplex instance is uniquely identified by the port # and the value of vardir as defined by the environment variable SP_SYS_VARDIR).
N.A.
For an already running Shareplex the Port # can be indentified in one of the following manner:
1. Exit sp_ctrl and in the same OS session issue "env | sort". This will display environment variables SP_COP_TPORT and SP_COP_UPORT, both of which point to the port currently used by this instance of Shareplex. For example, the following output of env|sort shows that the port # used by this Shareplex is 2200:
.
.
SP_COP_TPORT=2200
SP_COP_UPORT=2200
SP_SYS_VARDIR=/u01/shareplex/var
.
2. The sp_ctrl prompt also has port # information embedded in it. For example, the following shows that the current Shareplex is running on port 2200:
sp_ctrl (ServerName:2200)>
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy