VMware Cloud Community
mbt
Contributor
Contributor

how to upload ISO files?

I've installed esx4i standalone, but when I try to browse the local datastore from the vcenter client, I do not get the "upload" button. What is the usual procedure for doing this? I assume that I will not be able to ssh/scp/sftp to the box (since there is no service console, right?) so ... how do I make an ISO available locally?

In this situation the ESXi host is remote, and we need to be able to install SLES servers without physically driving to the location. I NEED to get ISO files uploaded!

Reply
0 Kudos
3 Replies
athlon_crazy
Virtuoso
Virtuoso

You can enable ssh for file transfer using scp or Veeam Backup.

http://codeghar.wordpress.com/2009/06/10/ssh-in-esxi/

http://www.techhead.co.uk/vmware-esxi-how-to-enable-ssh-connectivity






vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org

http://www.no-x.org
Reply
0 Kudos
RvdNieuwendijk
Leadership
Leadership

You could use the VMware vSphere PowerCLI cmdlet Copy-DatastoreItem to copy the iso file to the datastore. For example:

$vCenterServer = <YourvCenterServer>
$Datastore = <YourDatastore>
$IsoFile = <YourIsoFile.iso>
Connect-VIserver -Server $vCenterServer
$ds = Get-Datastore -Name $Datastore
New-PSDrive -Name ds -PSProvider VimDatastore -Root '/' -Location $ds
Copy-DatastoreItem -Item "c:\$IsoFile" -Destination "ds:\$IsoFile"
Remove-PSDrive -Name ds

Regards, Robert

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
Reply
0 Kudos
nilesa
Contributor
Contributor

I always forget how to do this and end up searching for it.. only to find solutions that don't quite meet my needs.

The solution I use is to open the vSphere client, select the ESXi server you want to store your file in (shown in the left window pane).

Click on the "configuration" tab in the top-center window pane.  By default the window starts on "Health Status", click on the "Storage" setting.  The top-center window pane should now show your available Datastores.  Select the Datastore you want to use, then right-click and choose "Browse Datastore..."

The Datastore Browser window that appears has buttons for: Making folders, uploading, downloading, and moving files.

Reply
0 Kudos