Products Configuration

First create a new product group.

Goto the Admin page of your WHMCS portal, select Products/Services from the Setup menu/tab, and click the Create a New Group button.

Here you specify a group name, headline and tagline of your choice, and keep all other default settings.

Once that is done you will create two products:

  • Small Virtual Datacenter
  • Normal Virtual Datacenter

Small Virtual Datacenter

For the Module Settings specify:

  • Module Name: Cockpit
  • Cockpit api URL: see the Cockpit installation documentation
  • Client id: see the Itsyou.online configuration documentation
  • Client secret: see the Itsyou.online configuration documentation
  • VDC blueprint: see the G8 Operator Node Configuration for the following fields:

    • g8.url
    • g8.login
    • g8.password
    • g8.account

    For the Moehaha.com WHMCS reference implementation following blueprint template was used:

          g8client__dubai:
              g8.url: 'du-conv-1.demo.greenitglobe.com'
              g8.login: 'moehaha'
              g8.password: '********'
              g8.account: 'Account of Moehaha.com'
    
          ovc_user__%3$s:
              g8.client.name: '%1$s'
              username: '%3$s'
              email: '%4$s'
              provider: '%5$s'
    
          vdc__%2$s:
              g8.client.name: '%1$s'
              maxMemoryCapacity: 2
              maxVDiskCapacity: 10
              maxCPUCapacity: 2
              maxNASCapacity: 20
              maxArchiveCapacity: 20
              maxNetworkOptTransfer: 5
              maxNetworkPeerTransfer: 15
              maxNumPublicIP: 1
          ovc_user:
              - '%3$s'
    

Normal Virtual Datacenter

Use the same the client id and client secret settings as for the other product.

For the VDC blueprint use the same values as above, as set as part of the G8 Operator Node Configuration for the following fields:

  • g8.url
  • g8.login
  • g8.password
  • g8.account

    The difference is in the last section, where you specify the configuration of the virtual data center:

    g8client__dubai:
        g8.url: 'du-conv-1.demo.greenitglobe.com'
        g8.login: 'moehaha'
        g8.password: '********'
        g8.account: 'Account of Moehaha.com'

    ovc_user__%3$s:
        g8.client.name: '%1$s'
        username: '%3$s'
        email: '%4$s'
        provider: '%5$s'

    vdc__%2$s:
        g8.client.name: '%1$s'
        maxMemoryCapacity: 2
        maxVDiskCapacity: 10
        maxCPUCapacity: 2
        maxNASCapacity: 20
        maxArchiveCapacity: 20
        maxNetworkOptTransfer: 5
        maxNetworkPeerTransfer: 15
        maxNumPublicIP: 1
    ovc_user:
        - '%3$s'

results matching ""

    No results matching ""