Skip to content

Swap

Note

This option is applicable only for VZ virtualization.

This option can be used to customize Swap for SolusVM 2 VZ container ordered through WHMCS.

  1. Login to your WHMCS administrator web interface.
  2. Open System Settings > Configurable Options.
  3. Click Create a New Group or select an existing group.

    Note

    We recommend keeping configurable option group for resource selection separated from other groups. You can use one configurable option group for several resources, but do not mix them with Operating System, Application or Location.

  4. Give your group a name, select the product (the one you created earlier) to assign to the group, and then click Save Changes.

  5. Click Add New Configurable Option. You will open a new browser window where you will specify the option settings.

  6. Give your option a name Swap and select the option type Dropdown.
  7. In the Add Option field, specify the option value following the pattern: SWAP_VALUE|RESOURCE_NAME and then click Save Changes. In the mentioned pattern:

    • SWAP_VALUE is the amount of SWAP (in MiB) you want to allow to have in SolusVM 2 VPS.
    • RESOURCE_NAME is the name of resource option to be displayed in WHMCS.

    In our example, we are adding options to select 8 GB of SWAP (SWAP_VALUE 8192) and 16 GB (SWAP_VALUE 16384) as a configurable option.

  8. Repeat the previous step as many times as many options for SWAP you want to offer. Once finished, click Close Window.

Back to top