Skip to main content
Version: 2.0.15

Reseller Packages

Reseller packages are limit templates for reseller accounts, the same way User Packages are for users. Pick a package when creating a reseller, or let your billing system create resellers on a package through the API, and its limits are applied automatically.

INFORMATION

Resellers is an Enterprise-only feature.

Each package sets:

FieldDescription
NameUsed to pick the package in OpenAdmin, OpenCLI, the API and billing systems. Letters, numbers, - and _ only, up to 64 characters.
DescriptionOptional note, for example 10 accounts, 50 GB.
Max AccountsHow many user accounts resellers on this package can have. 0 means unlimited.
Max Disk UsageTotal disk space for all accounts of the reseller, in GB. 0 means unlimited.
User PackagesWhich User Packages resellers on this package can assign to their users.

Resellers created without a package get the default limits from /etc/openpanel/openadmin/config/reseller_template.json.

List reseller packages​

Navigate to OpenAdmin > Hosting Plans > Reseller Packages. The table shows each package's name and description, Max Accounts, Max Disk, the number of User Packages it allows and how many resellers are on it (hover the number to see who). Click the arrows next to a column name to sort the table by that column, unlimited (0) sorts as the largest value.

Reseller Packages page listing packages with their max accounts, max disk, number of user packages and resellers on each Reseller Packages page listing packages with their max accounts, max disk, number of user packages and resellers on each

Create a reseller package​

On OpenAdmin > Hosting Plans > Reseller Packages click Create New, fill in the name, description, Max Accounts and Max Disk Usage, tick the User Packages resellers on it can assign, and click Create.

Create New reseller package form with name, description, max accounts, max disk usage and the user packages resellers can assign Create New reseller package form with name, description, max accounts, max disk usage and the user packages resellers can assign

Edit a reseller package​

Click the package name, or open the package's Edit menu and click Edit, change the limits and click Save. The page header lists the resellers on the package.

Edit page of a reseller package listing the resellers on it, with its limits and allowed user packages Edit page of a reseller package listing the resellers on it, with its limits and allowed user packages

Saving a package applies the new limits to every reseller on it. If a reseller already has more accounts or uses more disk than the new limits allow, they keep their old limits and the notice lists them.

Delete a reseller package​

Open the package's Edit menu, click Delete and confirm. Delete isn't shown while resellers are on the package, move them to another package first.

Edit menu of a reseller package with the Edit and Delete options Edit menu of a reseller package with the Edit and Delete options

Create a reseller on a package​

On Accounts > Resellers click Create New, set the username and password, pick the package from Reseller Package and click Create.

Move a reseller to another package​

Use this to upgrade or downgrade a reseller. Moving to a package with fewer accounts or less disk than the reseller already uses is refused with a message saying what to free up first.

On Accounts > Resellers open Edit Plans & Limits for the reseller, pick the package under Reseller Package and click Apply Package.

Edit Plans & Limits page of a reseller with the Reseller Package picker and the Apply Package button above the custom limits Edit Plans & Limits page of a reseller with the Reseller Package picker and the Apply Package button above the custom limits

Limits changed by hand on Edit Plans & Limits stay until the reseller's package is edited or another package is applied, then they're replaced by the package's limits.

How limits are enforced​

  • Max Accounts - the reseller can't create a new user, and no user can be moved to them, once they have this many accounts.
  • User Packages - users of the reseller can only be created on, or changed to, the allowed packages. This also applies when an administrator does it for the reseller.
  • Max Disk Usage - a soft limit. Once the reseller's users together reach it, the reseller can't create new users, users can't be moved to them, and their users can't be changed to a package with more disk space. Existing accounts keep working. Disk usage is recalculated by the files-calculate_resellers_storage cron job, so it can take a while to catch up.