You can manually add devices to folders and groups, but this can be a burdensome task if you have a large number of devices or if you are consistently registering new devices. The best way to manage a large number of devices is to have them automatically added to the correct folders and groups when they register. To accomplish this, you can use registration keys, registration rules, or both.
Both registration keys and registration rules let you assign a name, folder, and group memberships to a device. However, there are differences between keys and rules that you should be aware of before choosing whether you want to use one or both methods for registration.
Registration Keys: A registration key is an alphanumeric string that you manually define or randomly generate. During installation of the ZENworks Agent on a device, the registration key must be input manually or through a response file (see Novell ZENworks 7.2 Linux Management Installation Guide). When the device connects to a ZENworks Server for the first time, the device is given a name according to the defined naming scheme and then added to the folder and groups defined within the key.
You can create one or more registration keys to ensure that servers and workstations are placed in the desired folders and groups. For example, you might want to ensure that all of the Sales department's devices are added to the /Workstations/Sales folder but are divided into three different groups (SalesTeam1, SalesTeam2, SalesTeam3) depending on their team assignments. You could create three different registration keys and configure each one to add the Sales workstations to the /Workstations/Sales folder and the appropriate team group. As long as each device uses the correct registration key, it is added to the appropriate folder and group.
Registration Rules: If you don’t want to enter a registration key during installation, or if you want devices to be automatically added to different folders and groups based on predefined criteria (for example, operating system type, CPU, or IP address), you can use registration rules.
ZENworks includes a default registration rule for servers and another one for workstations. If a device registers without a key, the default registration rules are applied to determine the folder and group assignments. The two default rules cause all servers to be added to the /Servers folder and all workstations to the /Workstations folder. The device hostname is used for its name. You cannot delete these two default rules, but you can modify the naming scheme and the folder and groups to which the servers and workstations are added.
The two default rules are designed to ensure that no server or workstation registration fails. You can define additional rules that enable you to filter devices as they register and add them to different folders and groups. If, as recommended in Section 1.1.3, Folders vs. Groups, you’ve established folders for devices with similar configuration settings and groups for devices with similar assignments, newly registered devices automatically receive the appropriate configuration settings and assignments.
To create registration keys or rules:
In the ZENworks Control Center, click thetab.
To create a new registration key, in the Registration Keys section, click> to start the Create New Registration Key Wizard.
To create a new registration rule, in the Default Registration Rules section, clickto start the Create New Default Rule Wizard.
Follow the prompts to create the key or rule. For information about what you need to supply at each step of the wizard, click the icon.
For more detailed information about registering devices, see Section III, Device Registration.