ESXi

 View Only
  • 1.  how to upload ISO files?

    Posted Jun 10, 2010 12:20 PM

    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!



  • 2.  RE: how to upload ISO files?

    Posted Jun 10, 2010 12:38 PM

    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



  • 3.  RE: how to upload ISO files?

    Posted Jun 10, 2010 12:47 PM

    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



  • 4.  RE: how to upload ISO files?

    Posted May 30, 2013 09:20 PM

    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.