Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


com.bea.wlcp.wlng.georedundant.management.configuration
Interface GeoRedundantServiceMBean


public interface GeoRedundantServiceMBean

Field Summary
static String geoSiteId
          The local site name.
static int remoteSiteReachabilityAlarmThreshold
          Defines the number of attempts made to reach a remote site before raising an alarm.

 

Method Summary
 String getGeoSiteId()
           
 int getRemoteSiteReachabilityAlarmThreshold()
          Returns the number of attempts made by a site to reach its peer site before raising an alarm.
 String getSiteAddress(String siteName)
          Gets the remote site address identified by site name.
 Set listRemoteSites()
          Lists all remote sites.
 void removeSite(String siteName)
          Removes the configuration for a remote site.
 void setGeoSiteId(String siteName)
          Defines the name of this geographic redundant site.
 void setRemoteSiteReachabilityAlarmThreshold(int threshold)
          Specifies the number of attempts made by a site to reach its peer site before raising an alarm.
 void setSiteAddress(String siteName, String address)
          Sets the address for a remote site.

 

Field Detail

geoSiteId

public static final String geoSiteId
The local site name. Value can be any string.
See Also:
Constant Field Values

remoteSiteReachabilityAlarmThreshold

public static final int remoteSiteReachabilityAlarmThreshold
Defines the number of attempts made to reach a remote site before raising an alarm.
See Also:
Constant Field Values

Method Detail

getGeoSiteId

public String getGeoSiteId()

getRemoteSiteReachabilityAlarmThreshold

public int getRemoteSiteReachabilityAlarmThreshold()
Returns the number of attempts made by a site to reach its peer site before raising an alarm. Whenever the peer sites fail to establish a connection the number of times defined in RemoteSiteReachabilityAlarmThreshold, a connection lost alarm is raised.

Scope: Cluster

Returns:
number of attempts

getSiteAddress

public String getSiteAddress(String siteName)
Gets the remote site address identified by site name.

Scope: Cluster

Parameters:
siteName - The remote site name.
Returns:
remote site address.

listRemoteSites

public Set listRemoteSites()
Lists all remote sites.

Scope: Cluster

Returns:
names of all the registered sites.

removeSite

public void removeSite(String siteName)
                throws ManagementException
Removes the configuration for a remote site.

Scope: Cluster

Parameters:
siteName - The remote site name.
Throws:
ManagementException

setGeoSiteId

public void setGeoSiteId(String siteName)
                  throws ManagementException
Defines the name of this geographic redundant site. Must be done at both sites. This name is used as key for all operations on the remote site.

Scope: Cluster

Parameters:
siteName - name of this geographic redundant site
Throws:
ManagementException

setRemoteSiteReachabilityAlarmThreshold

public void setRemoteSiteReachabilityAlarmThreshold(int threshold)
                                             throws ManagementException
Specifies the number of attempts made by a site to reach its peer site before raising an alarm. Must be done at both sites. Whenever the peer sites fail to establish a connection the number of times defined in RemoteSiteReachabilityAlarmThreshold, a connection lost alarm is raised. Default is 3.

Scope: Cluster

Parameters:
threshold - number of attempts
Throws:
ManagementException

setSiteAddress

public void setSiteAddress(String siteName,
                           String address)
                    throws InputManagementException
Sets the address for a remote site. Must be done at both sites.

Scope: Cluster

Parameters:
siteName - The remote site name. Must be equal to the site name configured on the remote site.
address - The remote site address. Must be a valid JNDI provider URL. Example: t3://host1:port1,host2:port2.
Throws:
InputManagementException - If the site address is invalid.

Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.