21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

This defines three levels of privilege among the persons who can manually<br />

assign processes to classes, root being the highest. In order for a user to modify<br />

or cancel a manual assignment, the user must be at the same or a higher level of<br />

privilege as the person who issued the last manual assignment.<br />

Class assignment rules<br />

After the definition of a class, it is time to set up the class assignment rules so<br />

that WLM can perform its automatic assignment. The assignment rules are used<br />

by WLM to assign a process to a class based on the user, group, application path<br />

name, type of process, and application tag, or a combination of these five<br />

attributes.<br />

The next sections describe the attributes that constitute a class assignment rule.<br />

All these attributes can contain a hyphen (-), which means that this field will not<br />

be considered when assigning classes to a process.<br />

Class name<br />

This field must contain the name of a class, which is defined in the class file<br />

corresponding to the level of the rules file we are configuring (either superclass<br />

or subclass). Class names can contain only uppercase and lowercase letters,<br />

numbers, and underscores (_), and can be up to 16 characters in length. No<br />

assignment rule can be specified for the system-defined classes Unclassified,<br />

Unmanaged, and Shared.<br />

Reserved<br />

Reserved for future use. Its value must be a hyphen (-), and it must be present in<br />

the rule.<br />

User<br />

The user name (as specified in the /etc/passwd file, LDAP, or in NIS) of the user<br />

owning a process can be used to determine the class to which the process<br />

belongs. This attribute is a list of one or more user names, separated by a<br />

comma (,). Users can be excluded by using an exclamation point (!) prefix.<br />

Patterns can be specified to match a set of user names using full Korn shell<br />

pattern matching syntax.<br />

Applications that use the setuid permission to change the effective user ID they<br />

run under are still classified according to the user that invoked them. The<br />

processes are only reclassified if the change is done to the real user ID (UID).<br />

Group<br />

The group name (as specified in the /etc/group file, LDAP, or in NIS) of a process<br />

can be used to determine the class to which the process belongs. This attribute<br />

is a list composed of one or more groups, separated by a comma (,). Groups can<br />

286 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!