I ran into an issue in the lab today trying to upload ISO files into a vCenter env. Problem was, every time I tried to load an ISO up I got a “Failed to connect to NFC server”.

This was up in Ravello (similar to AWS), so I could imagine me copying a file locally from my PC to AWS through vCenter Web interface would break some things. So I used an alternative that worked perfectly. BTW — I even allowed all TCP and UDP ports so I knew it wasnt a firewall issue.

FailedNFCServer

Enabled SSH off your datastore host (I gave one of my ESXi 5.5 hosts enough disk space to host ISOs) and SSH to it. Once again, Linux skills come into play in learning where these files live.

login as: root
Using keyboard-interactive authentication.
Password:
The time and date of this login have been sent to the system logs.

VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.

The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # 

From here, cd to /vmfs/volumes and then choose your Datastore. I created on in the web interface called “New Folder” (how creative lol).pwd

/vmfs/volumes # ls -al
total 2052
drwxr-xr-x 1 root root 512 Aug 12 21:51 .
drwxr-xr-x 1 root root 512 Aug 12 21:30 ..
drwxr-xr-x 1 root root 8 Jan 1 1970 55c29361-73e15dd7-e993-2cc2601a14f5
drwxr-xr-t 1 root root 1400 Aug 6 21:05 55c29367-ece6139d-3ed9-2cc2601a14f5
drwxr-xr-x 1 root root 8 Jan 1 1970 55c29368-3358af34-bd48-2cc2601a14f5
drwxr-xr-x 1 root root 8 Jan 1 1970 766ec37f-4508f1e1-503d-83b566147de4
drwxr-xr-x 1 root root 8 Jan 1 1970 cbf26e7c-57f715b6-9817-853dc3bd25e3
lrwxr-xr-x 1 root root 35 Aug 12 21:51 datastore1 (1) -> 55c29367-ece6139d-3ed9-2cc2601a14f5
/vmfs/volumes # cd datastore1\ \(1\)/
/vmfs/volumes/55c29367-ece6139d-3ed9-2cc2601a14f5 # ls
New Folder

WinSCP

From here, fire up an SCP client. I was on a Windows machine so I loaded up trusty WinSCP and SSHed to the ESXi box. Once I connected I was able to copy my ISO files directly to the ESXi’s datastore instead of trying to mess with DNS off my cloud hosted vCenter appliance. So much easier than messing with DNS or host files!

William Zambrano

William Zambrano

NYC networkers is run by William Zambrano, a passionate network engineer who has been in the IT industry for eight years who posts up blog articles, YouTube videos, and holds meetup.com events in the NYC area. He lives in Queens, New York and has consulted in various different companies in the NY area. Previously William worked as a Cisco Certified Systems Instructor (CCSI) but now currently works for Arista Networks serving as a Systems Engineer. William can be reached by email at willzambrano@gmail.com

More Posts - Website

Follow Me:
Twitter