I have a quick configuration question regarding usermapper and its setup. I have two Celerra systems. One that will be at our primary site and another at a DR site. I run a CIFS only environment. I have created a VDM and mounted my file systems under it. I have set up replication between the two for the VDM and the file systems, but I am unclear on the recommended way to have the usermapper service running.
Should the primary site be setup as primary and the DR setup as secondary or vice versa?
It could work either way but here are some things to bare in mind:
Only the primary Usermapper server issues UID and GID mappings. These are NOT pushed to the secondary Usermapper server. Instead, if a user requests access to the secondary Usermapper server and he/she does not have a mapping, the secondary contacts the primary, which then issues the mapping back to the secondary Usermapper server, where it is stored as well for the future. If the primary Usermapper server is contacted first, it will issue a mapping directly but not update the Secondary with the new mapping.
What does this mean for DR?
If the primary site fails and you need to failover to DR, then you will be using the site with the Secondary Usermapper. As all UID mappings are cached in what is called the ¿secmap¿ at the root of the VDM, the mappings in ¿secmap¿ are replicated between sites. This means all users that have accessed the NAS previously will have a mapping in ¿secmap¿ and will be allowed access. New users will not be able to gain access as the primary Usermapper server is down and the secondary Usermapper cannot issue mappings.
If you failover to the primary where the primary Usermapper resides, then the ¿secmap¿ cache is still referenced first for users and you are still able to allocate UID's to new users.
Should you failover to the DR site, either for DR or planned maintenance, and there will be a short outage, existing users will still be able to access the data. New users will be denied access until the site with the primary Usermapper server is back online.
If the primary Usermapper server is going to be down for an extended period, ie, loss of primary site, then the primary Usermapper database should be imported into the secondary Usermapper and the secondary Usermapper server converted into the Primary. This should be done with the assistance of EMC, via a logged call.
can usermapper database on primary server be backed-up/exported from time to time to a safe location and then in an event of primary usermapper server being gone (fire/flood) it could be used to get secondary online and turned into primary ?
I am pretty sure this is documented in a KB article somewhere but I cannot find the reference.
I use a control station script that I have written, which backs up the neccessary files and then copies them to the control station at the DR site on a daily basis.
These are the files that you need to rebuild the secondary usermapper as primary. You can call the files anything that makes sense to you and put them where you like. I use /home/nasadmin. I am assuming the usermapper is running on data mover 2. I think you can run usermapper on the control station itself but not sure about the implications of doing so.
I think, in the case of having two Celerras (Main and Disaster Recovery (DR)), the usermapper in main must be Secondary, and the usermapper in DR must be primary.
In this way, Main Celerra will always consult the usermapper in secondary site, that's where the data resides. In case of a disaster, the usermapper in Secondary site will have all the data up to date.
Note: In the case of a fresh installation, In a installation where usermapper in primary has been "customized", you must import usermapper from primary site in secondary site first....
Regards,
Dario
But I'm having this issue when trying to assign Prmary usermapper to secondary site:
2010-07-02 11:08:50: RPC: 5: CLIENT::CLIENT3(MAC19) 0xdc2adb04: Port acquisition failed for Rpc service 536870919 version 3 on host 10.0.3.169 2010-07-02 11:08:50: USRMAP: 3: 10.0.3.169 master unreachable 2010-07-02 11:08:50: USRMAP: 3: Usermapper service not started 2010-07-02 11:08:50: ADMIN: 3: Command failed: usrmapsvc enable master=10.0.3.169 2010-07-02 11:08:53: USRMAP: 6: 4: The Usermapper database has been deleted.
We have a Celerra in CORP. that I replicate VDM's and File Systems to an offsite DR Celerra. I want to be clear in understanding this so bear with me....
We are a CIFS only environment, and we have Windows Domain Controllers, DNS and WINS servers at the DR site as part of our overall strategy. In the event of a disaster where we would need to perform a FAILOVER, shouldnt all domain users be able to access their CIFS shares and thus their data?
I don't understand - once you are failed over your CIFS servers would be running on the DR site and no longer on the CORP site. also your CORP site file systems would be readonly
dave511
5 Posts
915
0
Posted January 31st, 2008 04:00
Only the primary Usermapper server issues UID and GID mappings. These are NOT pushed to the secondary Usermapper server. Instead, if a user requests access to the secondary Usermapper server and he/she does not have a mapping, the secondary contacts the primary, which then issues the mapping back to the secondary Usermapper server, where it is stored as well for the future. If the primary Usermapper server is contacted first, it will issue a mapping directly but not update the Secondary with the new mapping.
What does this mean for DR?
If the primary site fails and you need to failover to DR, then you will be using the site with the Secondary Usermapper. As all UID mappings are cached in what is called the ¿secmap¿ at the root of the VDM, the mappings in ¿secmap¿ are replicated between sites. This means all users that have accessed the NAS previously will have a mapping in ¿secmap¿ and will be allowed access. New users will not be able to gain access as the primary Usermapper server is down and the secondary Usermapper cannot issue mappings.
If you failover to the primary where the primary Usermapper resides, then the ¿secmap¿ cache is still referenced first for users and you are still able to allocate UID's to new users.
Should you failover to the DR site, either for DR or planned maintenance, and there will be a short outage, existing users will still be able to access the data. New users will be denied access until the site with the primary Usermapper server is back online.
If the primary Usermapper server is going to be down for an extended period, ie, loss of primary site, then the primary Usermapper database should be imported into the secondary Usermapper and the secondary Usermapper server converted into the Primary. This should be done with the assistance of EMC, via a logged call.