Previous Topic: Configure Host Group PropertiesNext Topic: Create SSH Credentials on Hosts in a Host Group


How to Define Remote Host Name Patterns Using Regular Expressions

When you configure host groups, you specify host name patterns and IP address patterns or both. Regular expression operators that you can apply when defining Remote Host Patterns for Host Groups follow:

Think of the regular expression as a way to express anything in the FQDN, including:

The following table contains examples designed to help you enter host name patterns in a way that helps ensure efficient processing. If you enter an FQDN or subdomain without operators, the FQDN or group you intend to map is found, but processing is not as efficient. As a best practice, include the following regular expression combinations in the host name patterns you enter for Remote Host Patterns.

Common Combinations

Description

Example FQDN and Example Host Group

^<hostname>

The caret as the first character means that the pattern starts with the text that follows the caret.

FQDN: ^host1\.ca\.com$ matches only host1.ca.com

(But, host1\.ca\.com$ without the preceding caret searches for every host with a name that ends with host1.ca.com, such as aaaahost1.ca.com)

Group:

ca\.com$ without the preceding caret matches every FQDN in the ca.com subdomain.

\.

The escape dot combination (\.) means to interpret the dot as a literal.

FQDN: ^host1\.ca\.com$ matches only host1.ca.com

(But, ^host.ca.com$ without an escape before each dot could match:

host1Mca0com)

Group: ^host.\.ca\.com$ with a dot after host could match hosts named {host0, host1, ...hostZ} in the ca.com domain.

.*<domain>

The dot asterisk combination (.*) allows everything to match.

Group: .*\.ca\.com$, a domain preceded by .* matches all hosts in the Domain.

<domain name>$

The dollar sign following a domain name means that the pattern ends with the specified domain.

FQDN: ^host1\.ca\.com$ matches only host1.ca.com

(But ^host1\.ca\.com without the ending $ operator could match:

host1.ca.comaaaaaaa)

Examples

Remote IP Address Patterns

Specifies any combination of the following, where IP addresses are static rather than dynamic. Click Add to create each row.

Remote Host Name Patterns

Specifies a group of remote hosts with a list of fully qualified domain names (FQDN) or regular expression patterns for a subdomain. Select Add to create a row for each pattern entry.

For example: