export/import users from CS, Local User Setup

Answered Question
Aug 31st, 2009
User Badges:

Is there a way to export users and import them into Common Services, Local User Setup from one LMS server to another?

Correct Answer by Joe Clarke about 7 years 9 months ago

See the NMSROOT/bin/AddUserCli.pl script. You can directly import from another LMS server using the command:


NMSROOT/bin/perl NMSROOT/bin/AddUserCli.pl -import PROTOCOL HOST PORT USERNAME PASSWORD


For example:


NMSROOT/bin/perl NMSROOT/bin/AddUserCli.pl -import http nms-cricket 1741 admin admin

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Mon, 08/31/2009 - 08:33
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

See the NMSROOT/bin/AddUserCli.pl script. You can directly import from another LMS server using the command:


NMSROOT/bin/perl NMSROOT/bin/AddUserCli.pl -import PROTOCOL HOST PORT USERNAME PASSWORD


For example:


NMSROOT/bin/perl NMSROOT/bin/AddUserCli.pl -import http nms-cricket 1741 admin admin

syntaxmonster Mon, 11/16/2009 - 05:22
User Badges:

Hi,


i tried to import the user database from one LMS server to another with the following command:

C:\CSCOpx>"C:\CSCOpx\bin\perl C:\CSCOpx\bin\AddUserCli.pl -import HTTP 172.18.3.

38 1741 admin ***"

The filename, directory name, or volume label syntax is incorrect.


I keep getting this error message and i don't have a clue why its not working.

I've imported the certificate from the source LMS Server into common services->peer server certificate setup.


Any hints are much appreciated.

Actions

This Discussion