I am trying to set up a host aliasing rule to remove the domain from the name of a host but it isn't working. What is causing the problem?
The "Stop processing lower priority rules when successful" option needs to be selected when you are trying to remove the domain name from the host name.
Following is an excerpt from page 809 of the V5.5.4 Foglight Administration and Configuration guide, under the "Working with Foglight Tooling | Merging Host Objects | Creating Host Aliasing Rules" section.
__________________________________________________
Caution
Host aliasing rules include a system-level rule "adjustHostName" that automatically restores host names if the entire domain name is removed. This rule is hidden and as such does not appear in the browser interface. The rule includes a default priority of '1'. While newly created rules have a default priority of '2' or lower, causing adjustHostName to override the removal of domain names. For example, if you have a host called example.mydomain.com and want to remove the domain name .mydomeain.com from that hostname adjustHostName reverts the removal of the domain name. To successfully remove the entire domain name from the host name you must prevent adjustHostName from executing. This can be done by selecting the Stop processing lower priority rules when successful option.
__________________________________________________
RESOLUTION:
You can execute the following steps to create a Host Aliasing rule that will remove the domain name:
__________________________________________________
1). Navigate to "Administration | Tooling | Manage Host Aliasing Rules".
2). Click the Add button. Please see page 1 of the host_aliasing_rule_example.pdf file.
3). Select "Create a broad rule which works with many hosts". Please see page 2 of the host_aliasing_rule_example.pdf file.
4). Select "Remove characters from the end of a host name", and click Next. Please see page 3 of the host_aliasing_rule_example.pdf file.
5). Enter the following values in the following fields:
Field Value
Host Names start with: <short name> (examplehostname in screen shot)
Characters to be removed: <domain name> (mydomain.com in screen shot)
Please see page 4 of the host_aliasing_rule_example.pdf file.
6). Click Next, enter the rule name and put a check mark in the "Stop processing lower priority rules when successful" box. Please see page 5 of the host_aliasing_rule_example.pdf file.
7). Click the "Finish" button.
__________________________________________________
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center