VMware Solutions Discussions

Can't add ONTAP simulator host to DFM server

HASMIK_HAYRAPETYAN
11,728 Views

Hi all,

I have configured clustered ONTAP simulator after opening virtual machine (downloaded from NetApp site) in VMware workstation - configured Network Adapter to use NAT, created cluster and assigned 192.168.40.1 IP Address to it, created aggregate, lif and volumes.

I am trying to add host from DFM server installed on another machine using the host IP where I have the virtual machine with clustered ONTAP, but it can't recognize the IP and gives error with timeout.

Can you give me a hint what I might done wrong or incomplete?

Regards,

Hasmik

1 ACCEPTED SOLUTION

resqme914
9,948 Views

The snmp on the simulated node is working now.  If you notice, your latest screenshot shows SNMPv1 Passed, whereas it was failing (failed: timeout) in the original screenshot.  I'm not sure what the problem is now.  Maybe the network settings are still incorrect?  I hate to keep asking you to post screenshots, but can you please post your Virtual Machine Settings (I'm interested in the network adapters) and also a screenshot of the CLI command "network interface show"?  I am leaving work for the day so I won't be able to respond until tomorrow.

View solution in original post

18 REPLIES 18

resqme914
11,645 Views

I have a clustered Ontap simulator running on VMware Workstation.  I've always used bridged network adapter instead of NAT, though and I've never had any problems accessing them from System Manager or DFM.  Maybe you could try that?

HASMIK_HAYRAPETYAN
11,645 Views

I have tried that too and that also didn't work

Could you please tell, when you used bridged network adapter, did your VM get public IP? Did you use that IP to connect from DFM?

resqme914
11,645 Views

The installation guide states that in c-mode (and bridged), static IP has to be used...

- Bridged and Custom: Virtual network interface vmnet0 is set to bridged and all other interfaces used by Simulate ONTAP are set to either host-only or custom.

If the virtual network interface vmnet0 is set as bridged, then you can use the physical Ethernet port of your laptop to access all volumes created and mounted by using Data ONTAP. This works only if the IP addresses and subnet are static in clustered Data ONTAP, or if 7-Mode operations support DHCP.

Make sure you assign valid IP addresses to each node and to the cluster ip address.  Here are examples from two simulated nodes:

From simulated node 1:

san-4netappsim12-clu::> network interface show

            Logical    Status     Network            Current       Current Is

Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home

----------- ---------- ---------- ------------------ ------------- ------- ----

san-4netappsim1

            clus1        up/-     169.254.126.236/16 san-4netappsim1

                                                                   e0a     true

            clus2        up/-     169.254.116.222/16 san-4netappsim1

                                                                   e0b     true

            mgmt1        up/-     10.10.202.4/20     san-4netappsim1

                                                                   e0c     true

3 entries were displayed.

san-4netappsim12-clu::>

From simulated node 2:

san-4netappsim12-clu::> network interface show

            Logical    Status     Network            Current       Current Is

Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home

----------- ---------- ---------- ------------------ ------------- ------- ----

san-4netappsim2

            clus1        up/-     169.254.244.215/16 san-4netappsim2

                                                                   e0a     true

            clus2        up/-     169.254.159.54/16  san-4netappsim2

                                                                   e0b     true

            mgmt1        up/-     10.10.202.8/20     san-4netappsim2

                                                                   e0c     true

3 entries were displayed.

san-4netappsim12-clu::>

Make sure you can ping the node ip addresses and the cluster ip address:

C:\Users\ezamora>ping 10.10.202.4

Pinging 10.10.202.4 with 32 bytes of data:

Reply from 10.10.202.4: bytes=32 time=2ms TTL=255

Reply from 10.10.202.4: bytes=32 time=1ms TTL=255

Reply from 10.10.202.4: bytes=32 time=1ms TTL=255

Reply from 10.10.202.4: bytes=32 time=1ms TTL=255

Ping statistics for 10.10.202.4:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\ezamora>ping 10.10.202.8

Pinging 10.10.202.8 with 32 bytes of data:

Reply from 10.10.202.8: bytes=32 time=2ms TTL=255

Reply from 10.10.202.8: bytes=32 time=1ms TTL=255

Reply from 10.10.202.8: bytes=32 time=1ms TTL=255

Reply from 10.10.202.8: bytes=32 time=1ms TTL=255

Ping statistics for 10.10.202.8:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\ezamora>ping 10.10.202.3

Pinging 10.10.202.3 with 32 bytes of data:

Reply from 10.10.202.3: bytes=32 time=2ms TTL=255

Reply from 10.10.202.3: bytes=32 time=1ms TTL=255

Reply from 10.10.202.3: bytes=32 time=1ms TTL=255

Reply from 10.10.202.3: bytes=32 time=1ms TTL=255

Ping statistics for 10.10.202.3:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 1ms, Maximum = 2ms, Average = 1ms

C:\Users\ezamora>

Once you are able to ping the cluster IP you should be able to add it to System Manager.  You will also be able to add the cluster ip to dfm (see below):

C:\Windows\system32>dfm cluster add -U ezamora -P xxxxxxxx 10.10.202.4

Added snmp credentials with

        addr: 10.10.202.4, prefix length: 32, prefsnmpVersion: 3, authProtocol:

MD5, hostLogin: ezamora

Added host san-4netappsim12.xxxxx.com (71927).

Hope this helps.

Message was edited by: Edgar Zamora

HASMIK_HAYRAPETYAN
11,644 Views

Thank you very much for your help.

I really had something mixed with IP addresses. Now it's resolved, thanks a lot.

But I still cannot add cluster in DFM server.

I am able to add cluster in the OnCommand System manager which is installed on my local machine where I have cluster node VMs, but I fail to add it on DFM server running in another machine. Here is the error log:

where 10.26.128.251 is my cluster's IP address

I guess still I have something incomplete in my setup.

I would be very grateful if you could assist here.

Regards,

Hasmik

resqme914
11,644 Views

It looks like you haven't enabled or set up snmp yet.  You can enable and setup snmp through the System Manager GUI or in cli, do:

options snmp.enable to see the setting and to enable/disable snmp.  You can use snmp ? to show the snmp commands to set up your snmp settings and community.

HASMIK_HAYRAPETYAN
11,644 Views

I have it, but maybe it's wrong?

Thanks,

Hasmik

HASMIK_HAYRAPETYAN
11,643 Views

And I also set snmp on in cluster :

But still getting the same error on DFM server adding cluster

resqme914
11,643 Views

Please attach screenshot of "snmp" command (just snmp then hit Enter) from cluster CLI.  Also, are you able to ping the cluster ip from the dfm server?

HASMIK_HAYRAPETYAN
11,644 Views

Here you are:

And also I am able to ping from DFM server to my cluster:

Thanks a lot for your support,

Hasmik

resqme914
9,876 Views

On the simulated node(s) you have to set up an snmp community.  From your previous dfm screenshot it looks like you have a "public" community.  You can try that.  Do the following command on simulated node(s) CLI:

snmp community add ro public

I think that should do it.

HASMIK_HAYRAPETYAN
9,876 Views

I did that:

Still doesn't wotk , the same error

HASMIK_HAYRAPETYAN
9,876 Views

Hey look what I got:

But I have my DFM server 5.2 installed in cluster mode. Then what this error means? From the NetApp console I can add only filer hosts??

Thanks,

Hasmik

resqme914
9,876 Views

You can ignore that (from NMC).

Can you please post another screenshot of the dfm cluster add command and the dfm host diag 10.26.128.251?

HASMIK_HAYRAPETYAN
9,876 Views

Here it is:

(I have deleted SNMPv3, whic I had configured before.)

resqme914
9,949 Views

The snmp on the simulated node is working now.  If you notice, your latest screenshot shows SNMPv1 Passed, whereas it was failing (failed: timeout) in the original screenshot.  I'm not sure what the problem is now.  Maybe the network settings are still incorrect?  I hate to keep asking you to post screenshots, but can you please post your Virtual Machine Settings (I'm interested in the network adapters) and also a screenshot of the CLI command "network interface show"?  I am leaving work for the day so I won't be able to respond until tomorrow.

HASMIK_HAYRAPETYAN
8,676 Views

I am very grateful for your time and support 

Here is the screenshot for the first node:

Here is the screenshot for the second node:

What I did for the virtual machine configuration is following:

I changed two Network Adapters (3 and 4) from NAT to Bridged and left Host Only adapters as they were, changed Serial Ports as it is described in documentation. That's it.

Thanks a lot for any advice.

Regards,

Hasmik

resqme914
8,676 Views

Hi.  Your virtual machine settings and IP configuration look good, although you have one extra adapter which I assume you left unconfigured, which is fine.  Did you configure DNS and gateway correctly?  I noticed in the dfm host diag screenshot that your SNMP sysname wasn't fully qualified, whereas the output to mine is. This may be a possible issue.  Here is sample output from event log:

snmp.agent.resp.failed: Could not send response to host : 10.10.202.48 : reason : Failure could be due to either DNS/gateway misconfiguration or takeover/giveback in progress

snmp.agent.resp.failed

16750

This message occurs when the SNMP daemon attempts to send a response, and the attempt fails.

Check your network configuration, primarily the DNS and gateway setup. The SNMP send response might also fail if a takeover/giveback was in progress or a forced reboot was performed

HASMIK_HAYRAPETYAN
8,676 Views

Hi

I didn't manage to make SNMP work. So decided to try to do the same configuration on ESXI host. I do hope it will work.

Thank you very much for your help! I do appriciate your time and support, at least I learnt a lot

Regards,

Hasmik

Public