Manually upgrading client agents via device groups on Linux systems
Agents can be upgraded via device groups instead of individually. To use this type of upgrade one or more Linux device groups need to be created. While it is possible to create these groups during the upgrade procedure it, BMC recommends that you prepare them beforehand.
To upgrade client agents via a device group, you need to execute the following two procedures:
- Creating the Linux target groups:
For Linux systems, two different upgrade packages are available, one for 32-bit Linux and another for 64-bit Linux . Depending on the population of your network, you might therefore only need to create one of the following groups or both. These groups must contain all clients and relays that are running on the respective Linux operating system. To populate these groups, two queries need to be created: One that finds all devices with the respective operating system version and a second one that finds either the clients or the relays. Both can be based on existing queries. - Upgrading the BCM agents on Linux devices via device groups
Creating the 32-bit Linux group
- Go to the Queries node.
- Select the folder Operating Systems .
Select the folder UNIX .
- Select the query Linux Devices , duplicate it and give it a new name, for example, 32 Bit Linux Devices .
- Select the new query and go to its Criteria tab.
- Select AND as the Query Operator above the criteria table.
- Select Edit > Add Criterion
.
The Select Criterion pop-up menu displays. - Select the criterion Operating System Name .
- Change the Operator to Contains .
- Enter 32 in the Value box.
- Click Add
to add the criterion to the list.
- Click OK to confirm the new query content and to close the window.
- Activate the query by selecting the green colored option active instead of the currently displayed red option inactive in the Query Status list box above the table.
- Now select the new query in the hierarchy to the left, right-click and select the Create Device Group
menu option.
The new group is automatically created directly under the Device Groups top node with the same name as that of the query, that is, 32 Bit Linux Devices . Find the query Client Devices , duplicate it and give it a new name, for example, All Clients and Relays .
- Select the new query and go to its Criteria tab.
- Select OR as the Query Operator above the criteria table.
- Select Edit > Add Criterion
.
The Select Criterion pop-up menu displays. - Select the criterion Topology Type .
- Click Find
.
The Search Criteria pop-up window appears. - Select the Relay topology type and click OK .
- Modify the Operator to Equal to .
- Click Add
to add the criterion to the list.
- Click OK to confirm the new query content and to close the window.
- Activate the query by selecting the green colored option active instead of the currently displayed red option inactive in the Query Status list box above the table.
- Go to the Device Groups top node and select the group 32 Bit Linux Devices .
- Select its Dynamic Population > Queries subnode.
- Click Assign Query
.
- Find the newly created query All Clients and Relays , select it and click OK .
A Properties window appears. - Select the Only Devices with an Agent option as the Device Type and click OK .
The second query is directly assigned to the group.
The new group is now created using both queries to find its population and is ready to be used for upgrading all 32-bit Linux agents.
Creating the 64-bit Linux group
- Go to the Queries node.
- Select the folder Operating Systems .
Select the folder UNIX .
- Select the query Linux Devices , duplicate it and give it a new name, for example, 64 Bit Linux Devices .
- Select the new query and go to its Criteria tab.
- Select AND as the Query Operator above the criteria table.
- Click Edit > Add Criterion
.
The Select Criterion pop-up menu displays. - Select the criterion Operating System Name .
- Change the Operator to Contains .
- Enter 64 in the Value box.
- Click Add
to add the criterion to the list.
- Click OK to confirm the new query content and to close the window.
- Activate the query by selecting the green colored option active instead of the currently displayed red option inactive in the Query Status list box above the table.
- Now select the new query in the hierarchy to the left, right-click and click the Create Device Group
menu option.
The new group is automatically created directly under the Device Groups top node with the same name as that of the query, that is, 64 Bit Linux Devices . Find the query Client Devices , duplicate it and give it a new name, for example, All Clients and Relays .
- Select the new query and go to its Criteria tab.
- Select OR as the Query Operator above the criteria table.
- Select Edit > Add Criterion
.
The Select Criterion pop-up menu displays. - Select the criterion Topology Type .
- Click Find
.
The Search Criteria pop-up window appears. - Select the Relay topology type and click OK .
- Modify the Operator to Equal to .
- Click Add
to add the criterion to the list.
- Click OK to confirm the new query content and to close the window.
- Activate the query by selecting the green colored option active instead of the currently displayed red option inactive in the Query Status list box above the table.
- Go to the Device Groups top node and select the group 64 Bit Linux Devices .
- Select its Dynamic Population > Queries subnode.
- Click Assign Query
.
- Find the newly created query All Clients and Relays , select it and click OK .
A Properties window appears. - Select the Only Devices with an Agent option as the Device Type and click OK .
The second query is directly assigned to the group.
The new group is now created using both queries to find its population and is ready to be used for upgrading all 64-bit Linux agents.
Upgrading the CM agents on Linux devices via device groups
Now that all necessary groups have been created, the upgrade packages can be created, assigned and distributed to these target groups. Proceed as follows:
In the console select the Tools> Create Upgrade Packages
menu item.
One custom package ( .cst ) per .zip file is created in the same location together with its respective operational rule and is placed in a specifically created folder called Client Management Upgrade or BMC Client Management Oneoff under the Packages / Operational Rules top nodes.- Go to the Operational Rules> Client Management Upgrade node and select the operational rule to upgrade the agents, for example,
- Linux32Upgrade / Linux32Oneoff for agents on 32-bit Linux devices
- Linux64Upgrade / Linux64Oneoff for all agents installed on 64-bit Linux systems.
- Go to the Assigned Objects> Device Groups subnode.
- Select Edit> Assign Device Group
.
A pop-up window appears in which you can define if the operational rule is automatically activated with the default schedule. Click Yes .
The Assign to Device Group pop-up window appears.
- Click the All
button in the left window bar.
The list in the right part of the window now displays all available device groups. - Select the device group created in the preceding step, which contains all devices of the operating system to be upgraded, for example
- 32 Bit Linux Devices all Linux 32-bit devices
- 64 Bit Linux Devices all Linux 64-bit devices
- Click OK to confirm the assignment and close the window.
The device group is assigned with the default timer, which schedules the execution once and immediately. - Go to the Assigned Objects> Devices subnode.
After the assignment process is finished and the upgrade package has arrived at the targets, the agents are automatically upgraded.
This is the case when the status is green and Executed displays in the Status box for the respective device.
The attributes Agent Version Major and Agent Version Minor should display the values 12 and 0 now. If you are applying a hotfix, the Agent Revision number should have increased by one.