Re: [galaxy-dev] how to set FTP quota?

2012-01-19 Thread Nate Coraor
Hi Leon,

Jen is correct.  As far as the FTP directory, we use the MaxStoreFileSize 
directive in ProFTPd to limit the size of any single file uploaded.

--nate

On Jan 17, 2012, at 10:22 PM, Jennifer Jackson wrote:

 Hi Leon,
 
 I can let you know that there is a hard limit of 50G per file allowed for any 
 dataset FTP'd and moved into a history. Datasets will exist for 3 days in the 
 user-specific holding area before they are automatically purged, if not 
 moved into a history first. While in that holding area, the data are not 
 counted toward or managed by the Galaxy quota system. For more details about 
 exactly how ProFTPd is configured (outside of Galaxy), Nate may be able to 
 jump in with more help if needed. Or maybe you just wanted to double check 
 that the Galaxy quota system was not linked into the initial FTP?
 
 When the time comes, to get started with the Galaxy quota system, you will 
 want to make some adjustments in the universe_wsgi.ini, specifically to this 
 section:
 
 # Enable Galaxy's Upload via FTP interface.  You'll need to install and
 # configure an FTP server (we've used ProFTPd since it can use Galaxy's
 # database for authentication) and set the following two options.
 
 # This should point to a directory containing subdirectories matching users'
 # email addresses, where Galaxy will look for files.
 #ftp_upload_dir = None
 
 # This should be the hostname of your FTP server, which will be provided to
 # users in the help text.
 #ftp_upload_site = None
 
 # Enable enforcement of quotas.  Quotas can be set from the Admin interface.
 #enable_quotas = False
 
 These instruction have the details for setting up quotas (data after it has 
 been imported into a history as a dataset): 
 http://wiki.g2.bx.psu.edu/Admin/Disk%20Quotas
 
 Hopefully this helps, but please let us know if you need more help.
 
 Best,
 
 Jen
 Galaxy team
 
 On 1/16/12 7:41 AM, Leon Mei wrote:
 Dear Galaxy team,
 
 We just installed ProFTPd (the same as Galaxy Main) on our Galaxy
 server. Now we would like to implement a FTP quota. I am wondering how
 Galaxy main handles this. Could you give us some hints? And does the
 disk quota counting script include the FTP directory?
 
 Thanks very much,
 Leon
 
 --
 Hailiang (Leon) Mei
 Netherlands Bioinformatics Center
 BioAssist NGS Taskforce
  - https://wiki.nbic.nl/index.php/Next_Generation_Sequencing
 Skype: leon_meiMobile: +31 6 41709231
 
 
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
 
   http://lists.bx.psu.edu/
 
 -- 
 Jennifer Jackson
 http://usegalaxy.org
 http://galaxyproject.org/wiki/Support
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
 
 http://lists.bx.psu.edu/


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/


Re: [galaxy-dev] how to set FTP quota?

2012-01-17 Thread Jennifer Jackson

Hi Leon,

I can let you know that there is a hard limit of 50G per file allowed 
for any dataset FTP'd and moved into a history. Datasets will exist for 
3 days in the user-specific holding area before they are automatically 
purged, if not moved into a history first. While in that holding area, 
the data are not counted toward or managed by the Galaxy quota system. 
For more details about exactly how ProFTPd is configured (outside of 
Galaxy), Nate may be able to jump in with more help if needed. Or maybe 
you just wanted to double check that the Galaxy quota system was not 
linked into the initial FTP?


When the time comes, to get started with the Galaxy quota system, you 
will want to make some adjustments in the universe_wsgi.ini, 
specifically to this section:


# Enable Galaxy's Upload via FTP interface.  You'll need to install and
# configure an FTP server (we've used ProFTPd since it can use Galaxy's
# database for authentication) and set the following two options.

# This should point to a directory containing subdirectories matching users'
# email addresses, where Galaxy will look for files.
#ftp_upload_dir = None

# This should be the hostname of your FTP server, which will be provided to
# users in the help text.
#ftp_upload_site = None

# Enable enforcement of quotas.  Quotas can be set from the Admin interface.
#enable_quotas = False

These instruction have the details for setting up quotas (data after it 
has been imported into a history as a dataset): 
http://wiki.g2.bx.psu.edu/Admin/Disk%20Quotas


Hopefully this helps, but please let us know if you need more help.

Best,

Jen
Galaxy team

On 1/16/12 7:41 AM, Leon Mei wrote:

Dear Galaxy team,

We just installed ProFTPd (the same as Galaxy Main) on our Galaxy
server. Now we would like to implement a FTP quota. I am wondering how
Galaxy main handles this. Could you give us some hints? And does the
disk quota counting script include the FTP directory?

Thanks very much,
Leon

--
Hailiang (Leon) Mei
Netherlands Bioinformatics Center
BioAssist NGS Taskforce
  - https://wiki.nbic.nl/index.php/Next_Generation_Sequencing
Skype: leon_meiMobile: +31 6 41709231


___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

   http://lists.bx.psu.edu/


--
Jennifer Jackson
http://usegalaxy.org
http://galaxyproject.org/wiki/Support
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/


[galaxy-dev] how to set FTP quota?

2012-01-16 Thread Leon Mei
Dear Galaxy team,

We just installed ProFTPd (the same as Galaxy Main) on our Galaxy server.
Now we would like to implement a FTP quota. I am wondering how Galaxy main
handles this. Could you give us some hints? And does the disk quota
counting script include the FTP directory?

Thanks very much,
Leon

-- 
Hailiang (Leon) Mei
Netherlands Bioinformatics Center
BioAssist NGS Taskforce
 - https://wiki.nbic.nl/index.php/Next_Generation_Sequencing
Skype: leon_meiMobile: +31 6 41709231
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/