Beginning in version 25.12, Orchid Hybrid VMS supports server tag rules. This allows Administrators to define conditions under which the system will automatically assign server tags. Once rules are established, any time a new server is added to the system, all of the applicable rules and tags will be applied automatically.
Each time a rule is created, it will be added to the Recorder Directives. The directives ensure that all of the rules are distributed to all of the Recorder servers.
- To access the Server Rules screen, go to the Server Tags screen, then click the Rules tab.

The screen above shows that no server rules have been created yet.
- To enter your first rule, click the Create server rule link. (To add subsequent rules, click the Add Server Rule button.) The Add Server Rule screen will appear.

- If you want to add a tag, first click into the Tag Name field. A list of existing tags, if any, will appear.
- If you want to use an existing tag, click on a tag in the list. (Please note: If you do this, the existing tag will be overwritten.)
- To add a new tag, type the new tag name into the Tag Name field, then click on it to select it.
- Enter a description for the new tag in the Tag Description field.

Now you can begin defining the conditions under which the tag will be assigned to a server.
- Using the Server Attribute drop-down list, select either Server Name or Server Tag Key.
When you select the Server Name attribute, your rule conditions will focus on the server name. When you select the Server Tag Key attribute, your rule conditions will focus on existing tags. (This allows you to create a rule that will assign a new tag to all of the servers that already contain a specific server tag.)
- After you select an attribute, use the Operator drop-down list to begin defining which attributes you are looking for. (In this case, you will begin defining which server names you will be looking for.) Available operators include the following:
- Contains
- Does Not Contain
- Does Not End With
- Does Not Equal
- Does Not Start With
- Ends With
- Equals
- Regex (a regular expression)
- Starts With
- In the Value field, enter a value to complete the condition.
Take a look at the example pictured above. With just the first condition, we instruct the system to look for server names that contain DC. If the system detects one, it will assign our new tag (midatlantic) to that server. Since we are looking in the entire mid-Atlantic area, we are going to add more conditions.
- Click the Add Condition button. Once again, select an attribute, an operator, and a value.
- Now, since we have more than one condition, we need to define the relationship between the conditions. (Ask this question: Do we need both of the conditions to be true in order to assign the tag, or just one of the conditions?)
- Click the AND button if both of the conditions must be true in order to assign the tag to the server.
- Click the OR button if just one of the conditions is required to assign the tag.
- Continue adding conditions, as needed.
- Expand the Advanced Configuration field if you need to review or revise the relationships between all of the conditions.

The system displays the Conditional Expression that results from the conditions we entered. However, you might need to modify the overall relationship. The Advanced Configuration field provides an example that illustrates how you might modify the expression. Let’s say you have added 3 conditions, with the OR expression between all of them. This would mean that the system will assign the tag to a server that meets any one of those conditions. If, instead, you need a server to meet the first condition plus one of the other two, you would modify the Conditional Expression as follows: (1 AND (2 OR 3)).
- Click the Edit button if you need to make changes.
- When your settings are complete, click the Next button.

This screen will give you a chance to review your rule settings.
- If you need to make changes, click the Back button and make those changes.
- When all of your settings are complete, click the Save button.

- The last step is to apply the rule that you have just created.
- Click the Apply button to finalize the rule.
- Click the Abandon button to eliminate the new rule.


Post your comment on this topic.