CIFS for SuperMicro IPMI Virtual CD-ROM

Status
Not open for further replies.

pttymuth

Dabbler
Joined
Jul 1, 2013
Messages
24
---~~~{ SOLVED }~~~---

Hello

Has anyone ever mounted a FreeNAS-hosted CIFS share using SuperMicro's IPMI 2.0 for Virtual Meda over LAN?

Virtual Media over LAN is a handy feature that comes with the IPMI firmware included with most SuperMicro hardware. In addition to acting as a BMC, the SuperMicro IPMI lets a user mount an ISO to appear as a USB CD-ROM drive on the remote server.

The ISO needs to be hosted on a Windows Share. For this requirement I've set up a 192.168.0.129 FreeNAS 8.3 CIFS share with guest access. The CIFS Anonymous Access instructions in the FreeNAS wiki were followed to create this share. The full system path to the share's folder is /mnt/myvol2/mfsBSD, the share's name is 'freenas', and I am able to access it with my OS X machine's Samba client. Inside the share is a folder called 'ISOs'. I'm specifically interested in using the IPMI feature to mount an ISO in that folder so my server can boot from it.

For a reason that I haven't been able to determine, the Virtual CD can't be mounted by the IPMI firmware.

The firmware options I've tried are:

Share host: 192.168.0.129​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: 192.168.0.129/freenas​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: 192.168.0.129​
Path to image: \freenas\ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: 192.168.0.129/freenas​
Path to image: \freenas\ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: smb://192.168.0.129/​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: smb://192.168.0.129/freenas​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: smb://192.168.0.129/​
Path to image: \freenas\ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: smb//192.168.0.129/freenas​
Path to image: \freenas\ISOs/mfsbsd-10.0-RELEASE-amd64.iso​
Share host: \\192.168.0.129​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: \\192.168.0.129\​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: \\192.168.0.129\freenas​
Path to image: \ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: \\192.168.0.129​
Path to image: \freenas\ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: \\192.168.0.129\​
Path to image: \freenas\ISOs\mfsbsd-10.0-RELEASE-amd64.iso​
Share host: \\192.168.0.129\freenas​
Path to image: \freenas\ISOs/mfsbsd-10.0-RELEASE-amd64.iso​

No dice from the IPMI firmware with either of these. The OS X Samba client however is able to access the CIFS share.

Has anyone else achieved this before? If so, please let me know what I'm doing wrong.
 

pttymuth

Dabbler
Joined
Jul 1, 2013
Messages
24
SOLVED!

I needed to specify 'guest' as the user. In all the attempts before, I had been leaving both User and Password as blank. The fact that the user and password fields have the word "optional" appended to them is what misled me. Here is the working config that I used:

Share host: 192.168.0.129
Path to image: \freenas\ISOs\mfsbsd-10.0-RELEASE-amd64.iso
User (optional): guest
Password (optional): <blank>
 
Last edited:

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
Yes it works.. You can also upload images etc.. I love it!.. Boot up memtest without leaving my desk is nice..
 

pttymuth

Dabbler
Joined
Jul 1, 2013
Messages
24
It sure is! Sometime this week I'm hoping to boot an mfsBSD image with it for remote installation purposes. It won't be too different from the standard mfsBSD images, except it will have a the aesni and geom_eli kernel modules added to it.
 

leoj3n

Dabbler
Joined
Jan 10, 2014
Messages
18
I'll also add that in SuperMicro IPMI > Virtual Media > CD-ROM Image, you must click "save" before you click "mount". Thanks pttymuth.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Serious necro aside, it's much easier to use the iKVM viewer's virtual media option instead of the one from the IPMI GUI.
 

leoj3n

Dabbler
Joined
Jan 10, 2014
Messages
18
Awesome, didn't realize that was an option. Would have saved me the hassle of creating a windows share. Thanks Ericloewe.
 

pttymuth

Dabbler
Joined
Jul 1, 2013
Messages
24
Serious necro aside, it's much easier to use the iKVM viewer's virtual media option instead of the one from the IPMI GUI.

Yes that option works reliably. I have used it via a laptop connected over VPN from a cafe's wifi. It took me 25min to boot a <20MB mfsBSD ISO, but even with a slow connection, it still worked.

Ericloewe, are you able to mount from your FreeNAS CIFS share using the iKVM viewer?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Yes that option works reliably. I have used it via a laptop connected over VPN from a cafe's wifi. It took me 25min to boot a <20MB mfsBSD ISO, but even with a slow connection, it still worked.

Ericloewe, are you able to mount from your FreeNAS CIFS share using the iKVM viewer?
Only through Window's own mechanisms that present shares to applications as just another folder. Which means this would be useless in 99% of cases, since the ISO would be used to boot the server.
 
Status
Not open for further replies.
Top