Here at Dynamic Hosting, we use WHMCS to do our billing. It’s awesome for automation, but something that it lacked out of the box was support for Virtuozzo setups. So, we grabbed the third party module and (after some tweaks) we are now able to provision VPS containers automatically.

The only thing that we then had to take care of was automation of functions on current containers. In order to do so, you’ll need to manually input each environment ID, or EID. These unique identifiers are not available directly through the PIM, you need to find them hidden within the source code.

First, login to PIM

Virtuozzo PIM Login Screen

Expand your hardware node by clicking on the [+] beside it in the left navigation pane.

Then select the container you wish to grab the EID of.

Once you’re into the container’s page, you’ll need to view the frame’s source. This is right click somewhere in the frame -> [View Frame Source (Chrome), This Frame -> View Frame Source (Firefox)]. This will show you the HTML source code.

PIM Souce code (HTML)

Once into this screen, we need to find the Environment ID. Press CTRL+F and enter current-ve-eid into the search. This will bring you do a tag containing the EID of the container (highlighted in yellow below).

PIM Find Environment ID

That’s all there is to it! You can use this value in WHMCS or whatever application that you’re tying into Virtuozzo.

Sorry, comments are closed.