09-03-2007 03:08 AM
Hi folks..
in LMS2.6, anybodies know how I can change the Domain Name (about identity device) for 3000 devices with one cli command o with while cli command script?
TKS
Leonardo
Solved! Go to Solution.
09-03-2007 08:23 AM
You need to use the dcrcli tool to do this. You will need to export the current DCR device list, modify the domain name field (a simple replace all should do), then re-import the resulting list. The dcrcli commands will be:
NMSROOT/bin/dcrcli -u
NMSROOT/bin/dcrcli -u
To avoid being prompted for a password, you will need to set the DCRCLIFILE environment variable first. The value points to a file that has the username and password of the
admin admin
09-03-2007 08:23 AM
You need to use the dcrcli tool to do this. You will need to export the current DCR device list, modify the domain name field (a simple replace all should do), then re-import the resulting list. The dcrcli commands will be:
NMSROOT/bin/dcrcli -u
NMSROOT/bin/dcrcli -u
To avoid being prompted for a password, you will need to set the DCRCLIFILE environment variable first. The value points to a file that has the username and password of the
admin admin
09-03-2007 08:31 AM
ok thanks.. I had suppose this solution
have a nice day
Leonard
09-05-2007 02:46 AM
Hi Joe,
another question about this post:
I done this procedure, but now I need to syncronize the DCR db with the DFM db and the RME db.
This because the DCR have all questioned devices and the syslogs into RME doesn't appear.
Any ideas?
TKS a lot!!
Leonardo
09-05-2007 05:59 AM
Once DCR is updated, all of the other applications are automatically updates as well. You will have to run a re-discovery in DFM, and an inventory collection in RME if the devices have never been contacted before.
09-05-2007 07:08 AM
Tks!
another question:
in the "Export" procedure, is it possible to export also the user defined fields?.
I exported data by DCR, but no UDR are in my csv file!
Have a nice day!
Leonardo
09-05-2007 07:50 AM
This is not done by default, but you can enable it. You have to modify the template XML file in order to do this. This is tricky, but detailed in the online help at
http://server/help/cmf/dcr_export.html. The user-defined field names start with user_defined_field_0, and go to user_defined_field_9.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: