8 Krypton

Export the usermapper DB and Import

Hi All,

We are planning to migrate CIFS file system form NS702G and NS480.So before that we are planning to export usermapper DB from NS702G and import on NS480. Do any have idea how to export the usermapper DB form NS702G and import on NS480?

Thanks,
Tags (2)
0 Kudos
11 Replies
8 Krypton

Re: Export the usermapper DB and Import

Hi,

Do the following :


On NS702G :
# server_usermapper server_2 -E -u user
# server_usermapper server_2 -E -g group

On NS480 :
# server_usermapper server_2 -d
# server_usermapper server_2 -Import -u user
# server_usermapper server_2 -Import -g group
# server_usermapper server_2 -e


It's recommended that you are on the same major version ( 5.5, 5.6 ) on both boxes.


Gustavo Barreto.
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

No need of giving any path?

What will server_usermapper server_2 -d will do and what will server_usermapper server_2 -e?
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

Hi,

the -E(xport) option will create the files on your current directory.

server_usermapper server_2 -d will disable the usermapper service and server_usermapper server_2 -e will enable it.

You can safely disable it, since the secmap cache should take care of all mappings.


Gustavo Barreto.
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

bonus question: what will "man server_usermapper" do ? :-)
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

now that's a trick question :D
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

So When I export the usermapper DB were will I find that path.So that When I import that I should give the path right?
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

I exported on my NS720G and I got the output as Done
when I am trying to Import on my NS480
I am geeting an error
[nasadmin@RNO-NAS-PR01-NEW >$ server_usermapper server_2 -Import -u user
server_2 :
Error 4402: server_2 : user : no such file
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

does the file named user exist in that directory you are running the command from ?

If yes and you can read it and it still doesnt work please open a service request
0 Kudos
8 Krypton

Re: Export the usermapper DB and Import

trick or treat :-)
0 Kudos