VMware Cloud Community
mib1964
Contributor
Contributor

access datastore esxi

how can i copy a file to my esxi datastore from my workstation windows xp ?

Reply
0 Kudos
15 Replies
Kiil
Contributor
Contributor

Maybe there are an easyer way to do this, heres one suggestion:

1. Log in to the unsupported shell and enable ssh. Then you can use FastSCP/VeeamSCP to copy files.

How to log into unsupported shell and enable ssh:

A. At configuration screen (where you hit F2 to log in to configuration or F12 to restart/reboot), press "Alt + F1".

B. type unsupported

C. type your root password (you will be prompted for it)

D. # vi /etc/inetd.conf

find the line "# ssh stream tcp nowait root /sbin/dropbearmulti dropbear ++min=0" and remove # (uncomment)

:wq!

E. Now the inetd.conf file has to be re-read. Find the inetd pid:

  1. ps x | grep inetd

  2. kill -HUP <inetd pid>

Now you can log in with an ssh client like Putty, or you can use your favorite scp/sftp tool to copy files.

Message was edited by: Kiil

Bjørn-Ove Kiil
Reply
0 Kudos
Erik_Zandboer
Expert
Expert

Hi,

Copying a VM from workstation to ESX will generally NOT work (well, copying will work, but the VM will not run on ESX(i)). Fortunately, it is made VERY simple if you use converter Smiley Happy Point to the workstation VM, point to the ESXi host, and press CONVERT... Works like a dream without issues!

Visit my blog at http://www.vmdamentals.com
Reply
0 Kudos
mib1964
Contributor
Contributor

it does'nt work, i have the message

connexion rejected on 172.18.1.35:22

??

Reply
0 Kudos
Erik_Zandboer
Expert
Expert

What does not work? Check the previous post, copying a workstation VM to ESX(i) will not work. Use converter instead.

Visit my blog at http://www.vmdamentals.com
Reply
0 Kudos
mib1964
Contributor
Contributor

Hi,

after a reboot, the message is "channel has been closed"

what does it means ?

Reply
0 Kudos
mib1964
Contributor
Contributor

hi,

when i try to connect with Fastscp, the message is 'the channel is closed"

Reply
0 Kudos
mib1964
Contributor
Contributor

when i try to convert, i dont know what is the destination "Location" in step 2 ?

Reply
0 Kudos
Erik_Zandboer
Expert
Expert

The destination would be your ESXi host, so use the IP address of the management internface of your ESXi host there, together with its credentials.

Visit my blog at http://www.vmdamentals.com
Reply
0 Kudos
marvinms
Enthusiast
Enthusiast

Maybe I am missing what you are asking but, if you are logged into the VI Client, you could simply browse the data store and upload files from the PC you are connecting from.

Connect to the host, click the Configuration tab, then "Storage" under the Hardware window. You should be able right click on the data store in the right pane and transfer files.

Good luck,

Reply
0 Kudos
Kiil
Contributor
Contributor

Are there any firewalls between your desktop and the ESXi host ?

As other said, you cannot just copy VMware Workstation VM's directly and use them in ESX, you have to convert them.

So, maybe I misunderstood what you wanted, because I just thought you wanted copy a file...for some reason 😕

/Kiil

Bjørn-Ove Kiil
Reply
0 Kudos
mib1964
Contributor
Contributor

ok, now it's working with the VI Client.

but, how can i use the convert directly to send my image in my esxi datastore ??

Reply
0 Kudos
fox15rider
Contributor
Contributor

You cannot use the VM Converter to convert a physical workstation directlly to an ESXi machine. Your VM Desktop image should give you an option to convert to VMware Infrastructure Virtual Machine on the destination screen. On the next screen put the IP address of your ESXi box along with its root username and password.

Reply
0 Kudos
nick_couchman
Immortal
Immortal

You cannot use the VM Converter to convert a physical workstation directlly to an ESXi machine.

Really? Because I've done exactly that - installed the VMware Converter agent onto a physical machine, then pointed VMware Converter at it for the source, then at the ESX(i) server for the destination and converted it just fine...

Reply
0 Kudos
fox15rider
Contributor
Contributor

My bad I didnt finish my sentance.. You cannot use the converter to convert to a physical box to a ESXi box unless you have the paid version of the VM Converter.

Reply
0 Kudos
nick_couchman
Immortal
Immortal

Yes... there you are correct - if you have Starter edition you'll have to go from Physical machine to Standalone, then from Standalone to ESX(i).

Reply
0 Kudos