Showing posts with label network. Show all posts
Showing posts with label network. Show all posts

Tuesday, June 28, 2011

NetApp Training Brain Dump: ONTAP 8.0 Simulator Network

Problems explained simply.

In a previous post I covered installing the simulator and working through a couple bugs.  Now for another challenge: network configuration.  And you can't set a NIC to DHCP in ONTAP, which makes things a bit more difficult.

Here's a rundown on the NICs you have:


Bridged: you can consider your bridged card as being on the same network as your host card. So it should have an IP address of 192.168.2.x if your host OS is at 192.168.2.4.

NAT: a nat card is the equivalent of having multiple devices connected to one of those home router. You talk to your local network when doing local stuff. When accessing the internet, your router translates your internal IP address and uses the external IP (WAN) address of your router to send your request to the Internet. When an answer comes back, the reverse translation is done.

Host-only: They are normally used to connect to other VM's on the same network or the host.

Let's work with the bridged connection, which should be NIC3, referred to as e0c in ONTAP.  E means ethernet, 0 mean's it's onboard, and c meaning the third port.  Go ahead and right click each connection in the lower right hand corner of your VMware screen: they should look little monitors.  Disconnect NIC1, NIC2, and NIC4.
Credit: Me!
Now set the IP: in the console of ONTAP type ifconfig e0c netmask  
e.g., ifconfig e0c 192.168.2.4 netmask 255.255.255.0

Then type  ifconfig e0c to see the results.  Note that the NIC should show as 'up' - you see this right before the word "flowcontrol" at the bottom.
Credit: Me!
Great, now it's time to test!  I recommend:
  • ping your gateway from ONTAP
  • ping your host system from ONTAP (this was spotty for me)
  • ping ONTAP from your host system
  • PuTTY to port 22 on ONTAP from your host system.
  • PuTTY to port 23 on ONTAP from your host system.  For some reason, I couldn't do this.  Haven't figured that out yet.  
Finally, NetApp has awesomely provided trial licenses for your simulator, covering just about anything you'll want to check out.  NetApp login required!

Continue here if you're still having trouble.  

Monday, May 23, 2011

NetApp Experience: Think on your feet (1)

Volatile /etc/rc file (CL)
This was an interesting one.  When you make a change to the configuration on a NetApp system, it will take effect immediately.  The important thing to realize is that it won’t be permanent unless you save this configuration (by making an identical change to the /etc/rc file), which effects the change to the /etc/rc file.  Unsaved changes are reverted back to the pre-change state any time the memory is cleared, e.g. reboot, power off, etc.  For this customer, we were hot adding*1 expansion FC PCI cards to add a couple stacks of shelves, and literally walked onto a landmine.  

What had happened is the customer had made significant changes to the network settings on the system but not saved them.  When we brought the first CPU module back up, the customer found that it was unresponsive although we could find no problem with it.  The customer and tech lead made the decision to move forward with the change to the second CPU module, at which point the entire system became unresponsive.  This is because the changes the customer had made to the network settings were completely reverted upon reboot, causing a 15 minute outage while we tracked down the problem.

This problem was particularly tough to decipher because there was nothing wrong with the actual system – the issue was invisible to anyone but the admin who had made the changes, who was not on site.  

Take aways: 
- Definitely take a look at the /etc/rc file and make sure it lines up with the current settings.
- Possibly start off by saving the current configuration and backing it up.  I’ll have to look into the pros and cons on this – anyone with thoughts feel free to add in the comments.

*1 A hot add of PCI cards isn’t really a hot add, since it requires you to fail over and shut down one of the CPU modules at a time.  This does require a small outage (30-120s) for the fail back – the failover is just a blip.