VMware Cloud Community
drwolcot
Contributor
Contributor

SRM Test Recovery Plan attempting to mount NFS datastore with wrong server IP

testing SRM with EMC VNXe SRA in lab environment and have one replicated NFS datastore. When testing the recovery plan, datastore is snapshoted and promoted with r/w hosts permissions. However, when it attempts to mount the NFS datastore it is using the wrong storage server IP address in which the export path technically does not exist and fails. Not sure if this is an issue with SRM or the SRA.

Highlighted in red from the logs show that the remote NFS server 10.100.100.30 (src SPB) is mapped to 10.20.12.100 (dst SPA). Not sure where a mapping like this exists other than replication which is configured from 10.100.100.30 (src SPB)  to 10.20.12.101 (dst SPB)

from the vmware-dr-#.log

<Response xmlns="http://www.vmware.com/srm/sra/v2">

-->     <ReplicatedDevices>

-->         <StoragePorts>

-->             <StoragePort type="NFS" id="10.20.12.100"/>

-->             <StoragePort type="NFS" id="10.20.12.101"/>

-->         </StoragePorts>

-->         <TargetDevices>

-->             <TargetDevice state="read-only" key="125_APM00112004849_0000_469_APM00132612165_0000">

-->                 <Name>Dst-NFSB_Datastore1.00</Name>

-->             </TargetDevice>

-->         </TargetDevices>

-->     </ReplicatedDevices>

--> </Response>

2015-11-30T11:58:12.255-05:00 [06004 verbose 'StorageProvider' opID=7766543d:4d0e] Recovering NFS datastore 'NFSB_Datastore1' with URL 'ds:///vmfs/volumes/aa6bae62-3f81fc2e/'

2015-11-30T11:58:12.255-05:00 [06004 verbose 'StorageProvider' opID=7766543d:4d0e] NFS volume '/app_10_sg_9_root' is not mounted yet

2015-11-30T11:58:12.284-05:00 [06004 verbose 'Storage' opID=7766543d:4d0e] Mapped IP address of the remote NFS server: '10.100.100.30' -> '10.20.12.100'

2015-11-30T11:58:12.286-05:00 [06004 verbose 'StorageProvider' opID=7766543d:4d0e] Datastore name 'NFSB_Datastore1' is already taken. Will use 'NFSB_Datastore1 (2)'.

2015-11-30T11:58:12.286-05:00 [06004 verbose 'StorageProvider' opID=7766543d:4d0e] Recovering NFS datastore 'NFSB_Datastore1 (2)' with URL 'ds:///vmfs/volumes/aa6bae62-3f81fc2e/' by mounting '/app_10_sg_9_root' from '10.20.12.100' on 3 hosts ['vim.HostSystem:host-188', 'vim.HostSystem:host-192', 'vim.HostSystem:host-401']

2015-11-30T11:58:12.313-05:00 [06004 verbose 'HostDomain' opID=7766543d:4d0e] Enabling garbage collection of task queues

2015-11-30T11:58:12.335-05:00 [05044 verbose 'QsProvider'] Created entry iterator [class Dr::QueryService::ObjectEntryIterator:000000000BBF3960] from generation 2867. Max generation 2868

2015-11-30T11:58:12.354-05:00 [05044 verbose 'QsProvider'] All data up to generation '2868' is sent to IS

2015-11-30T11:58:12.884-05:00 [06008 error 'StorageProvider' opID=7766543d:4d0e] Failed to mount NFS volume '10.20.12.100:/app_10_sg_9_root' on host 'host-188': (vim.fault.PlatformConfigFault) {

SRA Log

2015-11-30 11:58:11,590 [com.emc.vnxe.platform.VnxeArray]: Filtering storage ports:

2015-11-30 11:58:11,590 [com.emc.vnxe.platform.VnxeArray]: Using storage port: 10.20.12.100

2015-11-30 11:58:11,590 [com.emc.vnxe.platform.VnxeArray]: Using storage port: 10.20.12.101

2015-11-30 11:58:11,590 [com.emc.vnxe.platform.VnxeArray]: Ignoring mgmt port: 10.20.4.17

2015-11-30 11:58:11,949 [com.emc.sra.SraController]:

**** Response ****

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Response xmlns="http://www.vmware.com/srm/sra/v2">

    <TestFailoverStartResults>

        <TargetDevices>

            <TargetDevice key="125_APM00112004849_0000_469_APM00132612165_0000">

                <Snapshot id="app_10_sg_9">

                    <Identity>

                        <NfsName>/app_10_sg_9_root</NfsName>

                    </Identity>

                    <RecoveryPoint id="rp-app_10_SRM-TEST-FAILOVER">

                        <Name>Latest</Name>

                        <Time>2015-11-30T17:08:08.000-05:00</Time>

                    </RecoveryPoint>

                </Snapshot>

            </TargetDevice>

        </TargetDevices>

        <StoragePorts>

            <StoragePort type="NFS" id="10.20.12.100"/>

            <StoragePort type="NFS" id="10.20.12.101"/>

        </StoragePorts>

    </TestFailoverStartResults>

</Response>

0 Kudos
3 Replies
drwolcot
Contributor
Contributor

Hmmmm....... crickets?

0 Kudos
vbrowncoat
Expert
Expert

I would recommend opening a case with EMC. It looks like an issue with their SRA. I would also suggest you read the SRA documentation in detail if you haven't already.

Does a regular failover work? Is it just the test that isn't working?

0 Kudos
drwolcot
Contributor
Contributor

I've just opened a case with EMC and still waiting.

I have not performed a full failover, just a test.

0 Kudos