CA ControlMinder Enterprise Management automatically assigns hosts to host groups using predefined criteria, for example, operating system type. By default, CA ControlMinder Enterprise Management automatically adds each host to the host groups that correspond to the host operating system. For example, CA ControlMinder Enterprise Management automatically assigns a Windows Server 2003 R2 host to the All Windows hosts and Windows Server 2003 R2 host groups. You can specify additional criteria that CA ControlMinder Enterprise Management uses to automatically assign hosts to host groups.
To modify the automatic host group assignment criteria
editres GHNODE host_group_name criteria+(attribute=value)
editres GHNODE host_group_name criteria+(attribute!=value)
editres GHNODE host_group_name criteria+(attribute=value)&&(attribute=value)
editres GHNODE host_group_name criteria+(attribute1=value1)
editres GHNODE host_group_name criteria+(attribute2=value2)
editres GHNODE host_group_name criteria-(attribute=value)
Specifies the name of the host group that you assign this criteria to.
Specifies the host group assignment attribute and values. This parameter can have the following values:
Specifies that CA ControlMinder Enterprise Management adds the defined IP address to the host group assignment criteria.
Example: HNODE_IP=172.24.123.456
Specifies that CA ControlMinder Enterprise Management adds the specified endpoint type to the host group assignment criteria.
Specifies that CA ControlMinder Enterprise Management adds the defined endpoint version to the host group assignment criteria.
Example: HNODE_VERSION=ACW:12.53
This example specifies that CA ControlMinder Enterprise Management adds CA ControlMinder Windows endpoints of version 12.53.1178 to the host group assignment criteria.
Specifies that CA ControlMinder Enterprise Management adds the defined attribute information to the host group assignment criteria.
Example: ATTRIBUTES=(Microsoft_Windows_Server_2003_R2)
Note: You can specify asterisks in the value field.
You have modified the assignment criteria of the host group that you specified.
Example: Assign hosts to group by version
In this example, you modify the assignment criteria of a host group named All Windows 12.53 Hosts to automatically assign only those Windows hosts that you installed CA ControlMinder version 12.53 on:
editres GHNODE ("All Windows 12.53 hosts") criteria+(HNODE_VERSION=ACW:12.53)
Example: Assign hosts to group by type and version
In this example, you modify the assignment criteria of a host group named All UNIX hosts to automatically assign hosts by their type (ACUNIX) and CA ControlMinder version:
editres GHNODE ("All UNIX hosts") criteria+(NODE_TYPE=AC UNIX&&HNODE_VERSION=ACU:12.53)
Example: Assign hosts to group by type or version
In this example, you modify the assignment criteria of a host group named All UNAB Hosts to automatically assign hosts by type (UNAB) or UNAB version:
editres GHNODE ("All UNAB Hosts") criteria+(NODE_TYPE=ACUNAB) editres GHNODE ("All UNAB Hosts") criteria+(HNODE_VERSION=ACUNAB:12.53)
Example: Exclude hosts by type
In this example, you modify the assignment criteria of a host group named Non UNIX Hosts to automatically exclude all hosts of type AC UNIX:
editres GHNODE ("Non UNIX Hosts") criteria+(NODE_TYPE!=AC UNIX)
Example: Remove assigned criteria
In this example, you remove the assigned NODE_TYPE criteria that you previously assigned to the host group named All Windows Hosts:
editres GHNODE ("All Windows Hosts") criteria-(NODE_TYPE=AC Windows)
Note: To display the valid attributes of a host, you can view the DMS audit file and locate the host heartbeats. Use the seaudit -a -fn pmd.audit command to display the DMS audit file.
Copyright © 2013 CA Technologies.
All rights reserved.
|
|