When your ZENworks Management Zone includes more than one server (Primary Servers and Satellites), devices need to know which server to contact. The Closest Server Rules panel lets you create rules to determine which servers a device contacts. With respect to Closest Server rules, devices that are configured as Satellites are considered as servers.
The following are basic functions for which devices contact a server:
Collection: Inventory and message log information is collected from each device, to be viewed in ZENworks Control Center and output to reports. Each ZENworks Primary Server and any Satellite can act as a collection server.
Content: Content is provided to managed devices. Each ZENworks Primary Server and any Satellite can act as a content server.
Configuration: Configuration settings and registration information are applied to devices. Only ZENworks Primary Servers can act as configuration servers.
Authentication: Managed devices contact a ZENworks Server to authenticate to the Management Zone. Each ZENworks Primary Server and any Satellite can act as an authentication server.
A device can contact the same server for all functions, or it can contact different servers for each function. Each device can have only one Closest Server rule applied to it. A device’s effective rule is determined as follows:
Device Settings: Evaluate all rules that are set on the device. If the device meets a rule’s criteria, that rule becomes the device’s effective rule.
Folder settings: If no device rule applies, evaluate all rules that are set on the device’s parent folder. If the device meets a rule’s criteria, that rule becomes the device’s effective rule. If not, evaluate the rules on the next folder up in the hierarchy.
Management Zone: If no folder rule applies, evaluate all rules that are set in the Management Zone. If the device meets a rule’s criteria, that rule becomes the device’s effective rule. If not, apply the Default Rule to the device.
Default Rule: If no device, folder, or Management Zone rule applies, apply the default rule to the device. The Default rule is simply a listing of all content servers in the order you want devices to contact them.
The Closest Server Default rule is applicable for ZENworks Configuration Management 10.3.4 and ZENworks 11 devices. If you do not want the Closest Server Default rule to be used to determine the closest servers for devices, you can create customized Closest Server rules. You can create the Closest Server rules for ZENworks Configuration 10.3.4 devices at three levels: Management zone, device folder, and device. These settings are disabled when you baseline your Management Zone to ZENworks 11. To create a customized Closest Server rule for ZENworks Configuration Management 10.3.4 devices, see Section 4.2.1, Creating Closest Server Rules for ZENworks Configuration 10.3.4 Devices. For a ZENworks 11 device, the customized closest servers are configured on locations. For detailed information, see Adding Closest Servers to Locations
in the ZENworks 11 SP3 Location Awareness Reference.
Refer to the following sections:
Launch ZENworks Control Center.
Do one of the following:
To create a Closest Server rule for your Management Zone, click the
tab, then click (in the Management Zone Settings panel) > .To create a Closest Server rule for a device folder, open the folder’s details page, then click
> (in the Settings panel) > .To create a Closest Server rule for a device, open the device’s details page, then click
> (in the Settings panel) > .Conditional: If you are creating Closest Server rules on a device or device folder, click
to activate the Closest Server Rules panel.The
option (not depicted) displays only at the device and device folder levels.Click
to display the Rule Construction dialog box:In the
field, specify a name for the rule.The name displays in the Closest Server Rules listing in ZENworks Control Center. To access this listing, click
in the left pane, click the tab, click the panel to open it, click the section to open it, then click . All defined rules for the current level are displayed there.If you do not want to append the Closest Server Default rule to the servers you are listing in this Closest Server rule, select the
check box.The Closest Server rules feature first uses the servers specified in the rule, then proceeds to any other servers listed in the Closest Server Default rule if the specified servers are not available to the managed device. Therefore, to obtain content only from the servers specified in the rule, select this check box to exclude all other servers.
Use the
fields to create the rule expression.An expression consists of a criteria option, operator, and value. For example:
DNS Name Filter equal to *.novell.com
DNS Name Filter is the criteria option, equal to is the operator, and *.novell.com is the value. In the above example, the Closest Server rule is applied only to devices whose DNS name ends with .novell.com.
If necessary, you can use NOT to perform a logical negation of the expression. For example:
NOT DNS Name Filter equal to *.novell.com
In the above example, the Closest Server rule is applied only to devices whose DNS name does not end with .novell.com.
You can use more than one expression for the rule. For example:
DNS Name Filter equal to provo.novell.com or IP Address equal to 192.168.67.12/24
You can use the following criteria:
Option |
Explanation |
---|---|
DNS Name Filter |
Matches DNS names that meet the filter criteria. You can specify an exact filter or use a question mark (?) or an asterisk (*) as a wildcard to match one or more characters in the DNS name. A ? matches one character and an * matches one or more characters. Examples:
|
IP Address /n |
Matches IP addresses that fall within the specified CIDR (Classless Inter-Domain Routing) block. With CIDR, the dotted decimal portion of the IP address is interpreted as a 32-bit binary number that has been broken into four 8-bit bytes. The number following the slash (/n) is the prefix length, which is the number of shared initial bits, counting from the left side of the address. The /n number can range from 0 to 32, with 8, 16, 24, and 32 being commonly used numbers. Examples:
|
To configure the servers listed in any section, do any of the following:
(Conditional) You can perform the following tasks to manage individual servers in any of the server lists (Collection, Content, Configuration, and Authentication):
Task |
Steps |
Additional Details |
---|---|---|
Add a server to a list |
|
By default, ZENworks Servers support all functions (Collection, Content, Configuration, and Authentication). Therefore, all ZENworks Servers are available for selection in any of the server lists. Satellites, however, can be configured for specific roles (Collection, Content, Imaging, and Authentication). This has the following implications:
Satellite roles are configured in the Server Hierarchy panel on the Configuration tab. |
Reorder the list |
|
Placement in the list determines the order in which servers are contacted. The first list item (server, group, or L4 switch) is contacted first, then the second, and so forth. You can order the items in the lists differently. This allows you to spread the workload initiated by devices by placing different servers higher in one list than in the other lists. For example:
|
Remove a server from a list |
|
|
(Conditional) You can use a group to randomize connections to servers. Each time the server list is sent to a device, it is randomized so that not all devices receive the same ordered list.
For example, assume the server list contains the following:
Server 1
Group 1 (Server 2, Server 3, Server 4)
Server 5
One device might receive the following list: Server 1, Server 3, Server 2, Server 4, Server 5.
Another device might receive a different list: Server 1, Server 4, Server 3, Server 2, Server 5.
In all cases, Server 1 is listed first and Server 5 is listed last, but the order of the servers in Group 1 is randomized.
You can perform the following tasks to manage server groups in any of the server lists (Collection, Content, Configuration, and Authentication):
Task |
Steps |
Additional Details |
---|---|---|
Create a server group |
|
|
Add servers to a group |
|
|
Reorder the list |
|
Placement in the list determines the order in which servers are contacted. The first list item (server, group, or L4 switch) is contacted first, then the second, and so forth. You can order the items in the lists differently. This allows you to spread the workload initiated by devices by placing different servers higher in one list than in the other lists. For example:
|
Copy a group from one list to another list |
|
If you copy a group to a list that does not already contain the group’s servers, the unlisted servers are removed from the group. For example, if Group1 includes Server1 and Server2 and you copy Group1 to a list that does not include Server1, Server1 is removed from the group. |
Remove servers from a group |
|
The servers are not removed from the server list, only from the group. |
Remove a group |
|
The group’s servers are not removed, only the group. |
(Conditional) If you have ZENworks Servers or Satellites that are clustered behind an L4 switch, you can define the L4 switch and add the servers to the definition. This enables the L4 switch to continue to balance the traffic among those servers.
Task |
Steps |
Additional Details |
---|---|---|
Create an L4 switch definition |
|
|
Add servers to an L4 switch definition |
|
|
Reorder the list |
|
Placement in the list determines the order in which servers are contacted. The first list item (server, group, or L4 switch) is contacted first, then the second, and so forth. You can order the items in the lists differently. This allows you to spread the workload initiated by devices by placing different servers higher in one list than in the other lists. For example:
|
Remove servers from an L4 switch definition |
|
The servers are not removed from the server list, only from the L4 switch definition. |
Remove an L4 switch definition |
|
The L4 switch definition's servers are not removed, only the definition. |
Specify the number of ZENworks servers whose data must be sent to the managed devices at a time. The available options are:
Unlimited: By default, the contact information about all servers listed in the effective rule’s lists are sent to the managed devices. In addition, unless excluded in the effective rule, the servers listed in the default rule are appended to the servers listed in the effective rule.
Limit to <number> Servers per list: If you want to converse bandwidth between the server and the managed devices, specify the number of servers whose data must be sent to the managed devices at a time.
NOTE:You can also configure the
setting in the Closest Server Default rule. The limit that you set in the Closest Server rule overrides the limit that you set in the Closest Server Default rule.When you are finished, click
to add the rule to the list.If necessary, when you are finished creating rules, do the following:
Use the
and buttons to reorder the rules in the list.The rules are evaluated in the order they are listed. You should place the rules in the order you want them evaluated.
To modify the settings of a rule, select the desired rule, then click
.If your ZENworks Management Zone has complex Closest Server rules configured, you might want to export these rules as part of your backup procedure.
The following zman commands are useful when backing up Closest Server rules:
location-copy-rules (loccp): Copies Closest Server rules data from a source device or device folder to one or more destination devices or device folders.
location-export-rules-to-file (loctf): Exports Closest Server rules data (in XML format) to a file. The XML file can be used as input for creating or appending to the Closest Server rules.
location-import-rules-from-file (locff): Imports Closest Server rules data (in XML format) from a file.
For more information about these commands and their usage, see Location Rules Commands
in the ZENworks 11 SP3 Command Line Utilities Reference. The commands are no longer valid after you baseline your zone to ZENworks 11 SP3.