| 
  
     
  Allocating Disk Space
  
  Quotas 
    Disk space in Parallels H-Sphere is allocated to customers through quotas, which are set separately for: 
  
    - user's home directory on the web server
 
    - each user mailbox
 
    - each user database
 
   
  Quotas are obligatory plan resources and can't be disabled.
    Customers can't upload and store more MB than the resource quota allows
    (except for My/Pg SQL DBs)
    and will get an error message if they try to do so.
    If end users need to upload more MB than their resource quota allows, they can
    increase it.
    To keep users from increasing resource quota, it can be
    MAX restricted. This is done
     
    
    
  All files with the owner's ID including those outside
    user's home directory (e.g. Transfer, Referrer, Agent and Error logs
    that are used for user website statistics) are counted toward used disk space.
    That's why quota usage may be different from the size of the user home directory. 
  Important: when creating a plan
    for MS SQL DB's service, don't set MS SQL quota of 0MB, as just created MS SQL databases already
    contain system information of 2MB (for MSSQ 2000) or 3MB (for MSSQ 2005) of disk space! 
  
  Summary Disk Usage 
    Every 24 hours a cron script scans end user's FTP home directory, all mailboxes, and DBs
    to summarize the disk space and make up summary disk usage for the last day.
    Summary readings of each daily scan are added up and divided by
    days elapsed from the beginning of the billing month.
    The resulting amount makes up user's average summary disk usage. 
   
  Charging Users for Disk Space
  There are two approaches to charge customers for disk space. To avoid double billing,
    don't use both of them in the same plan. 
  
  Customers are not refunded if they haven't used up all the reserved disk space. 
    If customers reduce prepaid quotas or summary disk usage limit, they are refunded
    as described in Money Returns. 
   
  Enabling/Disabling Summary Disk Usage
  
    
      
        |   | 
        In a Certain Plan | 
        In All User/Reseller Plans | 
       
      
        | Enable | 
        
          
            - Include
              Summary Disk Usage in the plan.
 
            - Log into each existing
              user
              account under this plan and in the
              Control Area on the left (or Quick Access page,
              the Account menu for the Left Menu design)
              press the Add button next to Disk Usage.
 
           
         | 
        
          
            - Log into the CP server as the
              cpanel user.
 
            - Execute the SummaryQuotaUpdate class:
 
              java psoft.hsphere.converter.SummaryQuotasUpdate --enable 
            - Restart Parallels H-Sphere.
 
           
          Summary Disk Usage free units will be set to equal Free
            Disk Quota, its monthly and usage prices will be removed.
          | 
       
      
        | Disable | 
        
              
              Exclude
          Summary Disk Usage from the plan.
         | 
        
          
            - Log into the CP server as the
              cpanel user.
 
            - Execute the SummaryQuotaUpdate class:
 
              java psoft.hsphere.converter.SummaryQuotasUpdate --disable 
            - Restart Parallels H-Sphere.
 
           
         | 
       
    
   
                    
                 |