Forum Discussion

Sunit_Tailor_11's avatar
Sunit_Tailor_11
Icon for Nimbostratus rankNimbostratus
Jul 25, 2006

iControl JAVA API Variable Name to track Pool Member Available /Unavailable

Hi,

 

In my JAVA application I have to track following for each pool member:

 

 

1) Available or Unavailable

 

2) Enabled or Disabled

 

 

I know that I can use "get_session_status" pool member variable to track Enabled or Disabled status but I don't know the variable that can be used to get "Available or Unavailabled".

 

 

I would appreciate your help in resolving this issue.

 

 

Thanks,

 

-Sunit

1 Reply

  • There are several methods you can use to get the status of the Pool Members.

    MemberMonitorStatus[][] LocalLB::PoolMember::get_monitor_status(
        in String[] pool_names
    );

    The get_monitor_status() method will return the status of the monitor subsystem on the given PoolMembers.

    MemberObjectStatus[][] LocalLB::PoolMember::get_object_status(
        in String[] pool_names
    );

    The get_object_status() method will return whether the PoolMembers are enabled as well as their availability status (as represented by a color).

    MemberSessionState[][] LocalLB::PoolMember::get_session_enabled_state(
        in String[] pool_names
    );

    The get_session_enabled_state() method returns whether new sessions are enabled.

    MemberSessionStatus[][] LocalLB::PoolMember::get_session_status(
        in String[] pool_names
    );

    And finally get_session_status returns a more details on the new session state attribute (whether they are disabled by parent or node address).

    It looks to me what you want is in the get_object_status() method as it will give both the enabled state as well as the availbility status.

    -Joe