This tier is your tier...

If you happen to have multiple management groups and you need a way of seeing alerts aggregated across all of your Management Groups or you need a way of managing one Management Group via another (proxy) Management Group then tierring is just the ticket. The Operations Manager Command Shell provides explicit support for creating tiers and connecting to tiers. 

 

Start by connecting to the Management Group you want to make your top most tier and run the following commands.

$mgName = "The name for the tier you are creating.";

$msName = "The name of your Root Management Server of the Management Group you would like to tier";

$creds = Get-Credential; # The credentials needed to connect to the Management Group you would like to tier.

$tier = New-Tier -Name: $mgName -ManagementServerName: $msName -Credentials: $creds;

 

That's fairly easy and can be done without using variables. Here is a hypothetical example.

$creds = Get-Credential;

New-Tier -Name: Building10 -ManagementServerName: building10 -Credentials: $creds

 

Now that you have created the tier you need to verify that it works.

Start by creating a connection to the tier you just created.

$creds = Get-Credential; # The credentials need to connect to the tiered Management Group.

Get-Tier | where {$_.Name -eq "Building10"} | New-ManagementGroupConnection

cd \ # Move to the root of the provider as that is where you will discover all available connections.

dir # List all connections to find the connection you just created.

cd localhost.building10 # Set the location to the connection you just created. 

Notice that the tiered connection contains the host name of the Root Management Server from which the tier was acquired to help disambiguate a tiered connection from a direct connection to the same Management Group.

 

You can treat a tiered connection just like any other connection to a Management Group. Keep in mind the data is traveling through the Management Group from which the tier was acquired therefore most operations will be significantly slower than working directly with the Management Group. Some operations can be performed across multiple connections. Take a look at One Provider To Rule Them All! for more info on working with multiple connections.