Thanks a lot for response, going to develop one basic module
for one group of dataservers(30-40), which will have only DBI connection. Above code will be helpful to start. Will post my code once I done.
Thanks