Using packager
The Packager node will provide access to the types of package which are applicable to the operating system of the respective device, that is, under a Windows client you will be able to create MSI, snapshot and custom packages, on a Linux device rpm and custom packages, while on a MacOS computer you can only create custom packages. The types of packages are indicated also via their icons:
Icon | Package Type |
---|---|
Custom Package | |
MSI Package | |
RPM Package | |
Snapshot Package |
The Packager nodes have a subnode for each type of package which can be created on the respective device.
The following topics provide more information about using Packager node:
Publishing a package to the master
When you publish an package you make it available to the general public in you network by placing it on the master. To publish a package, proceed as follows:
- Select the package to be published in the left window pane.
- Click Edit > Publish to Master
.
The package will copied to the master server and added automatically to the Packages node with its existing name. - If the package already exists on the master and was tagged with a renaming order when being sent to the device for modification, a window appears to inform you of this fact. Click OK to acknowledge.
Then the Properties dialog displays on the screen, in which you must enter a new name for the package. - Click OK to confirm.
You can follow the status of the publication process in the Package Status line in the right window pane of the package. Be aware that the status Package successfully published to the direct parent. only indicates that the package has arrived at the parent of the current device and not yet at the master. The status Package successfully published to target device. indicates, that the package has arrived at the master and is available for general use.
Publishing a package to a relay
A package does not necessarily have to be made available to the whole network, it can just be needed and thus be published to a specific group of devices. To do so the package can be published to a relay. Be aware that packages cannot be published to relays installed on Window 95/98/ME operating systems, these cannot be used as Storage Relays. To publish a package to a relay, proceed as follows:
- Select the package to be published to the relay in the left window pane.
- Click Edit > Publish to Relay
.
The Select a Storage Relay pop-up menu displays the list of all available relays. - Select the desired relay from one of the list boxes.
The package will copied to the relay and added automatically to its Packages node with its existing name.
You can follow the status of the publication process in the Package Status line in the right window pane of the package. Be aware that the status Package successfully published to the direct parent. only indicates that the package has arrived at the parent of the current device and not yet at the target relay. The status Package successfully published to target device. indicates, that the package has arrived at the target relay and the master has received this information, thus the package is now available for general use.
Referencing a package
A package can also only be referenced by the master, that is, the master receives all information about the package but not the package itself. The package in this case is stored in a specific location, which, for example, can also be a removable unit such as a CD/DVD or a USB key, and a relay which requires the package for itself or its clients will verify the given location before requesting it from the master. To reference a package, proceed as follows:
- Select the package to be referenced in the left window pane.
- Click Edit > Reference Package
.
All information about the package is directly sent to the master.
Deploying packages from Amazon Web Services S3 (AWS S3)
BMC Client Management can use AWS S3 to store packages instead of using relay servers on each site. To utilize the capabilities of AWS S3 to store and deploy packages, perform the following tasks:
To configure AWS S3 settings
- From the BMC Client Management console, select Global Settings > AWS > Configuration node.
- Right-click and select the Properties menu item from the appearing pop-up menu.
- Define the following values in the Properties pop-up window:
- Click
and select the proxy device from the Select the AWS Proxy pop-up window.
- For long term credentials, enter the values in the Access and Secret fields.
- For short term credentials, enter the values in the Access, Secret and Assume Role fields.
- Click
- Click OK.
To synchronize AWS S3 buckets with BMC Client Management objects
The buckets related to AWS S3 need to be referenced as bucket objects in BMC Client Management. You have to synchronize AWS S3 with BMC Client Managment to create these objects.
- From the BMC Client Management console, select Global Settings > AWS > Buckets node.
- Right-click and select Synchronize buckets.
After you synchronize the buckets, the existing buckets in AWS S3 are populated as child nodes under the main bucket nodes in BMC Client Management.
To publish packages through the AWS S3 bucket
After you create the bucket objects in BMC Client Management, you can use them to publish and deploy the packages. You can publish a package through AWS S3 by performing either of the following steps:
Publish through wizard:
- From the BMC Client Management console, select Wizards> Package Creation.
- Select the package in the Package Factory pop-up window and click Next.
- In the Package Creation Wizard pop-up window, perform all the steps and navigate to the Publication step.
- Select Publish to Amazon, and then select the bucket that needs to be used for publication.
- Click Finish.
Publish through packager:
- From the BMC Client Management console, select Packages> Package Factory> Custom Packages> Packager.
- Right-click the relevant package and select Publish to Amazon.
The Select a bucket pop-up window displays the list of all available buckets. - Select the relevant bucket and click OK.
To deploy the packages
When packages are published on AWS S3, the BMC Client Management agent associated to the package makes requests to get the package to the master server. The process is automatic. To ensure that the deployment is successful, perform the following:
- In case you have published the same package across several regions, you can configure the preferred region at the client level. If the particular package exists in the region, the agent will get it from the region, or else it will get the package from another region. You need to set the 'AWS Bucket Region' parameter in the File Store configuration settings. For more information, see Setting-the-File-Store-module-parameters.
- In case you have published the package on both AWS S3 and the master server, you can force the download of the package from the master server, if the client is connected to VPN. You need to set the 'AWS on VPN' parameter in the File Store configuration settings. For more information, see Setting-the-File-Store-module-parameters.
Sending a package back to a packager
A package, once published to the master, might have to be modified again later on, either on the device it was created on or on another device. Make sure that the device you intend to send the package to is enabled with the Package Factory , that is, it is a Packager, and that it's operating system is compatible with the package type, otherwise it cannot be modified. To send the package for modification to a device, proceed as follows.
- In the Packagers tab of the package to be sent to another device select Edit > Send Package
.
The Send Package to Packager pop-up menu appears. - Select the device to which to send the package to from one of the list boxes.
- You can also specify if the package is to be renamed when it is being uploaded to the master again. In this case mark the Force Rename check box below the list of devices.
- Click OK to confirm and to close the window.
The package is now sent to the device, you can follow the progress via the Status value of the table.