UNSOLVED

markwragge

updated

16 years ago

M

markwragge

71 Posts

0

2260

November 15th, 2010 05:00

failover of nfs share using celerra replication

Hi, i have successfully tested a failover of a VDM and CIFS server using celerra replicator. The process mounted the CIFS server at DR with a different IP address that was updated in DNS so that clients accessing the share were directed automatically to the new IP address.

I would like to test a failover of the NFS share. This share currently has an IP address and the servers access this share by IP address. This IP address range is not available at the DR site. How will the NFS share become available at the DR site - as it will have a different IP address the servers would have to mount this share on the new IP address. Is this correct?

What is the best way to mount an NFS share at production so that when it fails over to DR it can be accessed? Is there a way i can do this without having to mount the share with a different IP address at DR?

Should the NFS share have a hostname associated with it and then the share should be accessed by servers using hostname?

Thanks for any advice with these questions.

Mark

  • sebbyr

    99 Posts

    1252

    1

    Posted November 15th, 2010 06:00

    The best way would be for the clients to mount the NFS exports via hostname.  The DR side will need IPs that are accessible by the clients.

    Thanks.

    Sebby Robles

    eServices

    EMC Celerra Support

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1252

    1

    Posted November 15th, 2010 07:00

    Even if you use a VDM with a CIFS server and have that CIFS server change the IP address through dynamic DNS then existing NFS clients still have to unmount and re-mount.

    For an existing NFS mount a NFS client never does a DNS lookup again – even if it would then still the MAC address and fsid of the DR servers would be different resulting in stale file handles.

    NFS (and Unix clients) aren’t cluster-aware like CIFS.

    A well behaved CIFS application (“Wolfpack aware”) will try to map a share again after its been disconnected (with the new IP if the server has changed it in DNS/NetBIOS/WINS… in the meantime)

    Rainer

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1252

    1

    Posted November 15th, 2010 07:00

    Hi,

    you have to re-mount since the file handle for the NFS exported files are going to change (FH includes IP and Mac address and fsid)

    Rainer

  • markwragge

    71 Posts

    1252

    0

    Posted November 15th, 2010 07:00

    I take from the response recieved that i can assign a host name to an NFS IP address and mount the host name. Wether or not i do this i must unmount and re-mount the NFS share.

    Thanks, mark

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1252

    0

    Posted November 15th, 2010 08:00

    The NFS client and server dont really care about names – they talk via IP addresses and the server doesn’t care which “name” the client maybe used

    Sure you can mount using a hostname – but if you change that hostname – IP lookup result it is not going to effect any existing mounts – only new mounts