ONTAP Discussions

Copying ONTAP images to Controller

JoshAbe
9,302 Views

I have a situation to do an image upgrade on a couple of nodes that's not in our network anymore. The only option is to connect to the console port, setup the cluster and upgrade the image. I already completed a boot option-4 (clean up) on both nodes. 

 

The challenge now is how to transfer the image from my laptop to the controllers using the http server on my laptop meaning that my laptop NIC should be able to talk to a port on the controllers (e0a, e0b, e0M etc). I can setup any of these ports on the controllers with an IP address (same subnet as my latop IP) during the initial cluster setup but I am wondering how to transfer the image to the controller using the http server when my only one laptop NIC is connected to the console port on the controller. Will I be able to get this job done using a small 4-port switch. 

 

I am not sure if my laptop NIC will be able to talk to the controller console port through this switch. It will be a great help if I could get an answer how to make all these  cable/port connections on to the 4-port swtich and to get the image upgrade done before I ship it out to another location.

12 REPLIES 12

aborzenkov
9,196 Views
Use e0M interface - it shares external connection with SP (via built-in switch).

aborzenkov
9,194 Views
Also if you setup system as new, it makes sense to simply install software from special boot menu, instead of going through normal update routine.

JoshAbe
8,117 Views

So basically the connections are as below as I understand it.

 

Console port to a port on the switch

e0M to any port on the switch

Laptop NIC to any port on the switch

 

and use regular ethernet patch cord for the cable connections. Not sure the console port will work this way though. I tried but I was not able to get in to the console session. Can anybody confirm if it is supposed to work this way?

 

 

aborzenkov
8,086 Views
It is not clear what you call "console port". Console port on FAS is not LAN, it is RS232 and should go to COM port on you PC. You can also connect to console via SP, which on this case is using management *LAN* port which is shared with e0M.

JoshAbe
7,858 Views

Sorry, that's my mistake. Actually the console port goes to the USB port on the laptop using an USB adapter and I should be able to connect the network port directly to e0M without the need for a switch. I totally forgot about it. Thanks for reminding that. 

JoshAbe
7,769 Views

The console port + e0M NIC connection didn't work for me. The laptop and the controllers were not able to talk to each other due to some reasons. The way it worked for me is by using option - 7 from the boot menu and transfer and upload the image. However, I don't think this is a good way to downgrade to an older version of image for production systems because I had issues during the reboot. The system failed to detect a root volume and went in panic mode. It was okay in my case to wipe all the drives and rebuild the system with the new image. I got the job done anyway but I would like to encourage further discussions on what went wrong during my attempts to talk to the controller's cluster/node shell through e0M or the other ports in order to copy the image from my laptop. I tried various methods using direct cable connections, using a switch etc. without any luck.

 

 

 

 

 

SeanHatfield
7,765 Views

Using option 7 for reverts may work for going down a P release, but when you cross a version boundary you need to first issue the revert commands from within ONTAP.  Otherwise, the disks will have labels the old code will not understand, features may be enabled on the cluster the old code can't support, etc.

 

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

aborzenkov
7,696 Views

@JoshAbe wrote:

The way it worked for me is by using option - 7 from the boot menu and transfer and upload the image. However, I don't think this is a good way to downgrade to an older version of image for production systems


You never said anything about downgrade. You said that you were going to reinitialize filer and then upgrade to new version.

jimmclean
6,524 Views

The method I've used many times over the last few years - serial connection to my USB-serial adapter on my laptop, boot controller to boot menu, pick install new software, configure one of the gig ports on the controller (e0i, e0j,e0k,e0l as an example).  Set my laptop LAN port to a random IP - 10.10.10.1.  Controller reboots to configure e0i, give it an IP 10.10.10.2, provide the http address from my laptop  http://10.10.10.1/91P8_q_image.tgz  and it connects, downloads to the controller, asks a few questions about whether this will be the default boot image etc...reboot and we're good.

 

Ensure your laptop firewall is turned off...I don't know how many times, I've forgotten to do this and the controller won't be able to connect to the web service with it on.

COG
6,373 Views

Hi Jimmclean,

 

Could you detail out how you configured one of the gig ports on the controller (e0i, e0j,e0k,e0l as an example)? Did you have an ONTAP already installed and you were doing an upgrade? How would you install ONTAP on a brand new controller via the serial port?

JoshAbe
6,522 Views

Well, my challenge here is  copying the ONTAP image to the controllers working in the cluster shell regardless of upgrade/downgrade as detailed previously. The boot menu optioin-7 gives us the option to setup a port to transfer the image that works for me. But I am wondering what needs to be done to transfer the image, working in the cluster shell.

SeanHatfield
7,755 Views

I used to do this a lot in the field.  I kept a USB powered switch in my toolkit just for this purpose.  I would connect my laptop and all the e0M ports to my staging switch, then go node by node with a console cable running SP Setup at the LOADER prompt.  Then I would connect to the SP ports over the network (which shared the e0M port on those platforms), use the option 7 menus to load any required code updates, and run through cluster setup.  

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public