VMware

This Question is Answered

2 "helpful" answers available (6 pts)
1 2 3 ... 8 Previous Next 114 Replies Last post: Jul 15, 2009 6:37 PM by IT_Architect  

FTP on ESXi 3.5?? posted: Dec 10, 2008 11:37 AM

Click to view wmarques's profile Novice 5 posts since
Dec 10, 2008

I have been bangin my head against our VM server for a while now trying to enable FTP so that we can back up the virtual machine files to another location in case the ESXi server were to meet an untimely end. I do not have the consolidated back up option. I have read multiple documents about removing the # comment from the inetd.conf file and then restarting the services or rebooting the server. I have done all of this and still can not get the ftp to work. I have managed to connect to the console using SSH, but no luck with ftp. When I try to FTP it returns the following...... -ash: ftp: not found

Anyone have this problem?

Re: FTP on ESXi 3.5??

1. Dec 10, 2008 11:59 AM in response to: wmarques
Click to view agomezp's profile Enthusiast 53 posts since
Apr 1, 2008

the reference for ftp and ssg is:

#ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
ssh stream tcp nowait root /sbin/dropbearmulti dropbear ++min=0,swap,group=shell -i

ssh no have problem, ftp not work the reason is /usr/sbin/tcpd don't exist in the esxi system.


Re: FTP on ESXi 3.5??

2. Dec 10, 2008 11:59 AM in response to: wmarques
Click to view agomezp's profile Enthusiast 53 posts since
Apr 1, 2008
the reference for ftp and ssh is:


#ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
ssh stream tcp nowait root /sbin/dropbearmulti dropbear ++min=0,swap,group=shell -i


ssh no have problem, ftp not work the reason is /usr/sbin/tcpd don't exist in the esxi system.

Re: FTP on ESXi 3.5??

4. Dec 10, 2008 12:25 PM in response to: wmarques
Click to view RParker's profile Champion 5,270 posts since
Dec 6, 2006
wmarques wrote:So is there a way to make it work, to create or install the tcpd that is missing? If not, is there another way to back up my files on the ESXi server?

Not yet. You can hot clone them, but other than that your backup solutions for ESX 3i are limited..

You can use VCB but that requires a vCenter to work.

Re: FTP on ESXi 3.5??

5. Dec 10, 2008 1:03 PM in response to: wmarques
Click to view Formatter's profile Hot Shot 230 posts since
Jul 27, 2008

Try Trilead VM explorer. www.Trilead.com

Or have a look at it anyway, I have had success with it.

Re: FTP on ESXi 3.5??

7. Dec 11, 2008 3:32 AM in response to: wmarques
Click to view Formatter's profile Hot Shot 230 posts since
Jul 27, 2008
Glad to be able to help..

Re: FTP on ESXi 3.5??

8. Mar 11, 2009 11:12 AM in response to: wmarques
Click to view dohmj's profile Novice 11 posts since
Mar 3, 2009

This may not be an option, but you can use WinSCP using the SSH protocol to get VM's off your box. That is what I'm doing for single servers.

-JD-

Re: FTP on ESXi 3.5??

9. Mar 11, 2009 9:45 PM in response to: wmarques
Click to view mhasle's profile Novice 10 posts since
Apr 12, 2005

Hi,

Why don't you use the latest version of Veeam FastSCP.

The version 4.0 does support ESXi. It's not FTP, but you can transfert files easily to a windows host... and even schedule it.

Re: FTP on ESXi 3.5??

10. Mar 13, 2009 2:47 PM in response to: mhasle
Click to view birnenschnitzel's profile Novice 10 posts since
Mar 13, 2009
Ok,

all of the existing possibilites do not offer an adequate speed for transferring files between ESXi and other hosts. 7-8 MB was the fastest I could achieve and so I complied proftpd for ESX 3.5 U3. You can download a small packet at this location (sorry for the external link). You will find the file for the next few weeks and the installation instructions are as follows.

  • Enable SSH for console access to your ESXi. Infos are floating around the web
  • Extract the package
  • Copy proftpd to /sbin
  • Copy tcpd to /sbin
  • Copy proftpd.conf to /etc and adapt it to your needs. The provided file should work fine.
  • Edit /etc/inetd.conf according to the included /etc/inetd (include line for ftp)
  • Find inetd process id by "ps | grep inetd"
  • Send reload to inetd by "kill -HUP <inetd_pid>

Afterwards you should be able to logon to your ESXi via FTP as user root and enjoy uploading/downloading at speeds of 30MB/sec and up using GBit interfaces. Maybe an ESXi fan can offer a better mirror for this file for other users. ATTENTION! I take no responsibility for any damages to your servers. Take care for the growth of log files under /var/run and /var/log!

Best regards.

Re: FTP on ESXi 3.5??

11. Mar 29, 2009 7:14 AM in response to: birnenschnitz…
Click to view s1xth's profile Expert 479 posts since
Jul 29, 2008
I am going to try this in my lab environment this week...looks promising! Thanks for posting it!

Re: FTP on ESXi 3.5??

12. Apr 1, 2009 1:23 PM in response to: birnenschnitz…
Click to view DSTAVERT's profile Virtuoso 2,418 posts since
Nov 30, 2003
I can provide a download for this. As soon as I get the file I will post a link. If it is amall enough it should be post-able here.

Re: FTP on ESXi 3.5??

13. Apr 1, 2009 4:08 PM in response to: DSTAVERT
Click to view s1xth's profile Expert 479 posts since
Jul 29, 2008
I have tried to get this to work today and no go. I try to connect to the FTP and it wont connect. When you say edit the FTP line, I deleted the line and pasted in what was included in the conf file that was included in the package, is that correct?

Re: FTP on ESXi 3.5??

14. Apr 1, 2009 4:38 PM in response to: s1xth
Click to view s1xth's profile Expert 479 posts since
Jul 29, 2008
Never mind I figured it out! :-) I didnt put proftpd in the correct location, AND I had to change the permissions to ALL files that I copied over to include execute permissions, once I did this, restarted the process, I was able to log in. I am going to test some transfers now.
1 2 3 ... 8 Previous Next Go to original post

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities