Retrieval and Setting of Cluster Properties

Retrieves and sets the properties of a cluster.

Syntax

ClusterPropertiesVO getClusterProperties() throws SUPAdminException;

void setClusterSyncDataSharedPathEnabled(boolean) throws SUPAdminException;

void setClusterSyncDataSharedPath(path) throws SUPAdminException

void setClusterProperties(vo)

Returns

If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.

Examples

  • Retrieve or set cluster properties
    //Get cluster properties
    ClusterPropertiesVO vo = supCluster.getClusterProperties();
    //change cluster properties
    vo.setClusterSyncDataSharedPathEnabled(true);
    vo.setClusterSyncDataSharedPath("\\\\myhost\\newSharedPath");
    //Set cluster properties
    supCluster.setClusterProperties(vo);