Because mutually-aware OpenSwitch servers do not currently support removing or adding Adaptive Servers to pools, before adding or removing a server, this API is used to retrieve the mutually-aware configuration value of of an OpenSwitch server.
If you select Use Mutual Aware Support? in the configuration
GUI (MUTUAL_AWARE=1
in
the OpenSwitch configuration file), servers can neither be added
or removed from a pool.
CS_RETCODE CS_PUBLIC cm_rp_set(cm, parm_name, parm_value) cm_t *cm; CS_CHAR *parm_name; CS_CHAR *parm_value;
cm – pointer to a CM control structure.
parm_name – name of a configuration variable as listed in the configuration file.
parm_value – cm_get_value returns the value of the configuration parameter specified for parm_value.
If(cm_get_value( cm, "DEBUG", parm_val ) !=CS_SUCCED)
{
cm_error(“Unable to retrieve the value of the 'DEBUG' configuration
parameter\n”);
return CS_FAIL;
}
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |