Universal Messaging 10.11 | Administration Guide | Using Command Central to Manage Universal Messaging | Using the Command Line to Manage Universal Messaging | Zone Configuration | Update Zones
 
Update Zones
Updates a zone of Universal Messaging servers.
Syntax
sagcc update configuration data nodeAlias Universal-Messaging-instanceName
UM-ZONE {--input|-i} file.xml
Arguments and Options
nodeAlias
Required. The alias name of the installation in which the Universal Messaging server instance is installed.
Universal-Messaging-instanceName
Required. The ID of the Universal Messaging server instance for which you want to update a zone.
UM-ZONE
Required. The ID of the configuration type of which you want to update an instance.
--input|-i file.xml
Required. The path to the XML file that contains the zone configuration information. Specify the absolute path to the XML file if the file is not in the same directory from which you run the command.
Examples
To update a zone for the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", using the "zone_update.xml" file:
sagcc update configuration data sag01 Universal-Messaging-umserver UM-ZONE
-i=C:\zones\zone_update.xml
The zone_update.xml file has the following format for a zone with realms:
<?xml version="1.0" encoding="UTF-8"?>
<Zone>
<name>RealmZone</name>
<type>Realm</type>
<realms>
<server name="um_realm1">
<url>nsp://localhost:9701</url>
</server>
<server name="um_realm2">
<url>nsp://localhost:9702</url>
</server>
</realms>
<clusters/>
</Zone>
The zone_update.xml file has the following format for a zone with clusters:
<?xml version="1.0" encoding="UTF-8"?>
<Zone>
<name>ClusterZone</name>
<type>Cluster</type>
<realms />
<clusters>
<server name="um_cluster1">
<url>nsp://localhost:9704</url>
<clusterName />
<status />
</server>
<server name="um_cluster2">
<url>nsp://localhost:9705</url>
<clusterName />
<status />
</server>
</clusters>
</Zone>