Zone Configuration
Create Zones
Creates a zone of Universal Messaging servers.
Syntax
sagcc create 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 create a zone.
UM-ZONE
Required. The ID of the configuration type of which you want to create 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 create a zone for the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", using the "zone_create.xml" file:
sagcc create configuration data sag01 Universal-Messaging-umserver UM-ZONE
-i=C:\zones\zone_create.xml
The zone_create.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_create.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>