Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » QAnywhere » Server management requests » Creating destination aliases with a server management request

 

Adding and removing members in a destination alias

To add members to a destination alias, create a server management request that specifies the member in a property. The group must be restarted for the member setting to take effect.

The following example adds the member client3 and restarts the group simpleGroup:

<?xml version="1.0" encoding="UTF-8"?>
<actions>
    <SetProperty>
 <prop>
     <client>simpleGroup</client>
     <name>ianywhere.qa.member.client3</name>
     <value>Y</value>
 </prop>
    </SetProperty>
    <CloseConnector>
 <client>simpleGroup</client>
    </CloseConnector>
    <OpenConnector>
 <client>simpleGroup</client>
    </OpenConnector>
</actions>

To remove members from a destination alias, create a server management request that contains a property setting indicating that the member must be removed. The group must be restarted for the member removal setting to take effect.

The following example removes the member client3 and restarts the group simpleGroup:

<?xml version="1.0" encoding="UTF-8"?>
<actions>
    <SetProperty>
 <prop>
     <client>simpleGroup</client>
     <name>ianywhere.qa.member.client3</name>
 </prop>
    </SetProperty>
    <CloseConnector>
 <client>simpleGroup</client>
    </CloseConnector>
    <OpenConnector>
 <client>simpleGroup</client>
    </OpenConnector>
</actions>