DX NetOps Manager

Manage Devices in CA PM 

Jun 18, 2018 04:54 AM

This document describes a sample Perl script to manage devices in CA PM from a CSV file in batch.

Use Case

A customer extracts a list of devices (IP Address and host name by IP subnet) from a configuration database and would like to drive actions in CA PM such as

  • add devices to new or existing discovery profile and optionally start the discovery
  • remove devices from the discovery profile and delete the devices from CA PM
  • change devices lifecycle state (set them to maintenance, retire or active)

Approach

Perl script manageDevices.pl
it reads configuration information and the host list from files and performs the given action via remote REST webservice calls

Prerequisites

  • Tested with CA PM 3.5 and 3.6
  • Script host with Perl and access to CA PC port 8181 and CA DA port 8581
  • Perl 5.18 or greater with module REST::Client

 

For more information, like installation, usage examples and notes, please refer to the PDF document attached.

 

 

Your feedback is appreciated so please post any comments in this thread.  As with all free Infrastructure Management Field Developed Utility postings, inquiries should be made through questions or comments in this thread, and the author, Lutz_Holzbecher, will provide a response.

All information downloaded or accessed (including field packs, customized solutions, patches etc.) are provided AS IS and no warranties are provided or made.  For more information you may click here.

Statistics
0 Favorited
14 Views
2 Files
0 Shares
23 Downloads
Attachment(s)
zip file
manageDevicesScript.zip   4 KB   1 version
Uploaded - May 29, 2019
pdf file
manageDevices.pdf   475 KB   1 version
Uploaded - May 29, 2019

Related Entries and Links

No Related Resource entered.