Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

setMasterProxy() - Master-Proxy eines Proxy Clusters wechseln

Funktion:

BcAdminProxyCluster.setMasterProxy()

Setzt einen anderen Proxy als Master-Proxy des Proxy Cluster.

Parameter:

bc_object
(BcObject vom Typ BcObjectType.PROXY_CLUSTER)

Proxy Cluster, in dem der Proxy neuer Master-Proxy werden soll.

proxy_object
(BcObject vom Typ BcObjectType.PROXY).

Proxy, der neuer Master-Proxy des Proxy Clusters werden soll.

Rückgabe:

Keine

Exceptions:

BcObjectException, BcParameterException, BcToolException

Beispiel:

...
import BcAdminProxyCluster
import BcAdminProxy
...
clstr_obj=BcAdminProxyCluster.getObject("BCCluster")
proxy_dicn=BcAdminProxyCluster.getList(clstr_obj, "proxy")
new_mproxy_obj=proxy_dicn["BCProxy"]
BcAdminProxyCluster.setMasterProxy(clstr_obj, new_mproxy_obj)
...