Any customer with more than a handful of servers will struggle to take advantage of Ops Center's full features, unless they embrace the use of groups. The ability to group a number of like servers into a logical target, that can then be operated on, means you can do a single action instead of running the same action hundreds of times, once for each server in the group. Grouping also allows you to view and manage your environment in line with your current organizational units and business practices.
Groups avoid the need to select individual servers and can be used as a target for:
Groups can also:
Groups are totally logical constructs. An asset (Server, OS, Zone, LDOM) can be a member of as many groups as you like. Deleting a group, does not delete the assets it contains. While most often groups will contain assets of all the same type (eg: System LOMs), as this will give you a group where an action like "power off" makes sense to all the members of the group, it is also possible to create a group that is made up of differing asset types eg: all the assets (OS/LOM/Zones) that are part of a physical server. This type of group would normally be used to restrict the permissions of users so that they could only view/manage the servers for which they are responsible. A key fact to remember when thinking about groups is that an asset that is a member of one group is not precluded from being a member of other groups.
As a starting point, Ops Center provides a number of predefined groups found under the [ Navigation ==> Assets ] menu.
While most of the groupings are what you would expect, there are a few that require a little more explanation.
[ All Assets ] - Not really a group as everything turns up here
[ Engineered Systems ] - A grouping of all discovered Engineered Systems (SPARC SuperCluster). Note that each Engineered System is also its own sub-group
[ Operating Systems ] - Grouping based on OS type, release and version
[ Servers ] - Grouping based on physical servers
[ Chassis ] - 6000/8000 blade based chassis and their server blades
[ Network Switches ] - Managed InfiniBand and network switches. Ops Center only manages a limited number of switch models and these will normally be found as part of an Engineered System (Exadata/Exalogic/SPARC Super Cluster).
[ Racks ] - Both Engineered System racks and manually declared racks. It is not commonly known that you can declare all the racks in your data center in Ops Center and place all your servers in their respective racks, giving you a useful data center view.
All the predefined groups are useful but as you can see, they are based on broad brush physical characteristics of a server and its OS. There is no allowance for how you actually use your servers. For that you will need to build your own "User Defined Groups".
User Defined Groups are an extremely powerful addition to Ops Center and allow you to model your application, organizational units and business constraints into Ops Center's management interface. Basically, it makes Ops Center capable of working much more in alignment with the way your business operates. Before we go onto how to create "User Defined Groups", let's go over, in a little more detail, what you could use them for:
These are just a few of the many things for which groups can be used. Setting up groups will greatly decrease your day to day workload and increase the manageability of your environment. Without the use of grouping, it is unlikely that you will be able to scale your Ops Center environment efficiently beyond about 30 servers.
First select the "Create Group" action [ Navigation ==> All Assets ==> Create Group ]
Static groups are just as the name suggests, you define a group and place static members in it.
The default action of the "Configure Group" wizard is to create a Static Group. As long as the "Configure group rules" checkbox is unchecked this will be a static group.
Give the group a name (mandatory), a description (Optional), and one or more group tags (Optional) and click "Next" and "Finish" to complete the wizard and launch the job that creates the group.
Tagging is another powerful feature that will be the topic of another blog, but in summary, it is a way of storing an arbitrary tag (value pair) with an asset or group, which means you can store any important information with the asset, such as Asset Number, Production status, etc.
Now, one by one, navigate to your servers and manually add the server to the group you have created.
Select your individual servers page and select the "Add Asset to Group" action.
Select the Group you want to add to (our example group is "Static Group") and the click then [Add Assets to Group] button.
Dynamic (smart) groups are once again much as the label says. An asset(server/OS etc) will become part of the group based on it matching one or many criteria. The criteria is evaluated every time the group is accessed. So if you deploy a new server, create a zone or update any other matched attribute, it will change the group membership. The next time you access the group its membership will be automatically updated to include the current view of the environment. There is a large number of attributes that can be used to make criteria and the criteria can be combined to make complex grouping rules. There is more than enough to discuss on building these rules for another blog, but today, let's just go with a single example to give you the feel for the capabilities of dynamic grouping.
We will launch the "Create Group" wizard, as we did for the static group, but this time we will give it a more descriptive name and description. Last but not least, we will check the "Configure group rules" check-box, which will make the group we create a dynamic group.
Rules can be as simple as "hostname" starts with "prod" or as complex as having multiple rules each with multiple criteria matches. This is why I will be going into more details on building these rule sets in another blog in the next few weeks.
For this example, I have chosen a moderate level of complexity. We have a single rule, but we will only match on any asset that has all 4 of the attributes set.
Click [Next] to see the preview screen and to check that we matched the assets we want.
You can see that we have matched on 4 Solaris 11 zones. Now let's see how that looks in the BUI [Navigation==>Assets ==>All User Defined Groups (pull-down)].
You see we have our static group and our dynamic group we have just created.
OK, let's create a second group, but this time for managed Non Global zones of the 10.187.56.0/24 network.
Create a new name and description.
Configure our rule, but this time look for Non Global Zones on the 10.187.56.0 network.
Preview shows no matching hosts, which in this case is correct, as I have not deployed a zone on that network yet. Finish the wizard and now let's look in the BUI to see what we have.
Checking the [All User Defined Groups] pull-down, we now see our static group and 2 different S11 NGZ groups, one with 4 members and one with no members. (I was not quite consistent with the group naming, but I could fix that using the [Modify Group action].)
Now if I go off and deploy a few new zones, we can then see what our smart groups look like. I have deployed 2 zones on the 10.187.56.0 subnet and one more zone on the 192.168.20.0 subnet.
As you can see, the new zones automatically appear in the correct groups.
There are far too many attributes to go through here ( a few are listed below) and I will be writing a further blog to show you how to use some of the more useful ones.
But I will call out one special criteria (attribute) that is probably the most useful one of all - the Semantic tag. A Semantic tag is an arbitrary tag or a tag/value pair that can be added to any asset to basically store descriptive information about that asset. You can add a tag to an asset by simply clicking the [Edit Tag] action.
Examples of Semantic Tags (Key):
| Tag Name ||Description|
|PRODUCTION||Describes the production status|
|SALES||Describes the business unit that owns the server|
Examples of Semantic Tags/Value pairs (Key and Value):
|PRODUCTION_STATUS||DEV/UAT/PROD||The value describes the production status DEV/UAT/PROD |
| Admin_By ||firstname.lastname@example.org||The value describes the name/group of the administrator of the system (could even be their email) |
|Business_Unit||SALES/ENGINEERING/ACCOUNTS||The value describes the business unit that owns the server |
|Application||DataBase/Web/ApplicationServer||The value describes the application running on the asset |
As you can see, you can create a Semantic Tag to store any information about your server that you require. These tags and tag/value pair scan be used as attributes to create Dynamic groups.
Configure a group using a "Semantic Tag Key & Value".
And the group based on the tag/value pair is ready to use.
One final feature of groups is that you can nest them (have a group that contains 1 or more other groups).
Create a group as before. This time click the check-box for "Configure subgroups".
Then you must drag the subgroups you want to include to the "Selected Group" icon.
Repeat this procedure until you have all your required groups selected.
Now click [Next], [Next] and [Finish], then check what our new group looks like.
You can see the S11-Zones group contains both S11 NGZ groups.
And by highlighting the S11-Zones group, we can see its membership and incident information for all included assets.
I hope this has given you a good understanding of groups and how they can make your use of Ops Center more productive.