Previous page

Next page

Locate page in Contents

Print this page

Message Classification and Priorities

The messages traveling through Agent are divided into four categories (classes), according to their priorities and processing time. Before discussing these categories, it is necessary to mention that the priorities of user messages (priorities of the messages coming from the clients to Agent before their processing by the operator connection) are not the same as the priorities of the internal Agent messages. The former are translated into the latter by operator connection, i.e. on their entrance to Agent.

The four categories (classes) of the messages are:

Normal messages take a moderate time to be processed (up to 5 minutes by default) and their priority ranges from -999 to +999 to be set by the client and from -1999 to +1999 internally. They may include such operations as stopping a server, getting services states, and the like.

Urgent messages take very little time to process (no more than a minute) and have the client priority range from -3000 to -1000 and the internal priority range from -6000 to -2000. They may include getting a list of environments, retrieving a user information, starting a log, etc.

Heavy messages take significant time to be processed (from 5 minutes to hours or more). Their priority ranges from 1000 to 3000 if set by the client and from 2000 to 6000 internally. Among such messages are creating new Virtuozzo Containers, cloning, migration, template installation, and others.

Emergency messages are for internal Agent use only and consequently have just internal priorities below -6000.

Internal messages also differ by the credentials of the original user sending them. Root messages have higher internal priorities than those issued by a regular user.

The table below summarizes the above considerations:

Messages

Heavy

Normal

Urgent

External priorities

1000 to 3000

-999 to 999

-3000 to 1000

Root internal priorities

2000 to 4000

-1999 to -1

-6000 to -4000

User internal priorities

4000 to 6000

1 to 1999

-4000 to -2000

Please send us your feedback on this help page