Create a cdm Superpackage for Multiple Operating Systems
search cancel

Create a cdm Superpackage for Multiple Operating Systems


Article ID: 35030


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


Sometimes you may want to create a cdm probe that can be deployed to any machine in your environment and automatically configure itself to a specific set of parameters based on the operating system of that machine.  To accomplish this, you should follow the below example.  This example assumes you are configuring the package for two operating systems, Linux and Windows 64-bit.  You can configure as many operating systems as necessary.

Procedure for Windows & Linux


Procedure for Windows  & Linux at 64-bits;  UIM 8.0 or higher


  1. On a Linux system, deploy the cdm probe from the Archive in Infrastructure Manager.  Go into the probe's configuration and set up the cdm probe the way you want it; the configuration you set up here will be used as your default configuration in the new package.
  2. Drag and drop the cdm probe from that system back onto the Archive, Make sure Configuration Only is checked. Click Rename and rename the package cdm_linux.
  3. Right-click on cdm_linux in the Archive and click Edit.
  4. Under Files, right-click the cdm.cfx and Save As.
  5. Save this file somewhere on your system where you can find it later.
  6. Click Cancel from the cdm_linux package setup screen and go back to the Archive.
  7. Repeat steps 1-6 but using a Windows system. When you export the package call it cdm_windows. When you get to step 5, make sure to save the cdm.cfx file in a different folder, so you will know which cdm.cfx is for Windows and which one is for Linux.
  8. Repeat steps 1-6 as needed for other operating systems, making sure to keep track of which cdm.cfx goes with which OS.
  9. Right-click on the existing cdm package in the Archive and select Copy.
  10. Copy/rename the package cdm_custom and click OK.
  11. Right-click on cdm_custom and choose Edit.
  12. You will now see a bunch of sections for different OS's like HP_UX and win_ia64 and so on. For any sections you don't care about, right-click on them and select Delete Section, until you are left with only the sections that apply to the operating system configurations you created in steps 1-6.
  13. Assuming you are using 64-bit Linux, go inside the Linux_23_64 section (for example) and right-click the cdm.cfx file that is already there and remove it.
  14. Right-click in the window and choose Add File. Then locate the cdm.cfx file that you saved from the cdm_linux package in step 5.
  15. Repeat steps 11-12 for the win64 section, using the cdm.cfx file that you saved from the cdm_windows package. Do the same for any other OS's you have configured.
  16. In the package properties the path will be configured to /probes/system/cdm-custom.  Change this to /probes/system/cdm and save the configuration.


Additional Information

Now you have a package called cdm_custom that contains all the cdm binaries, plus the customized .cfx files you created for the various operating systems. This can be deployed to new or existing machines and will install the cdm probe on those machines with the configuration you have defined automatically applied.