Creating Models Using the Model Editor in PBScloud.io

Creating a Model Using the Model Editor

The model editor provides a blank canvas to create a model from scratch. To create a model,

  1. Click Model to view the list of available models.
  2. Click Create Model to open the model editor page.
  3. Click the title field, type the title for your model and press enter. In this example, let’s create a PBS Works 13.0 Model which will consist of a head node with the server components, the compute node and graphical node with the agent components.

Creating the Head Node

  1. Click Compute. The list of available node types is displayed.
  2. Click and drag PBS Head Node to the editor. Name it head_node.
  3. To edit the parameters for the head_node, click it and specify
    • Order of deployment : 1 (The server details will be required by agent components)
    • Scalability min and Scalability max : 1 (Deploy head on one node)
  4. Click Applications. The list of available applications is displayed.
  5. Drag and drop Base System to the head_node.
    1. Click the Base System component.
    2. Add three users pbsworksuser, pbsadmin and pbsdata.
    3. Provide 40 GB as OS disk size.
    4. Leave the all the values unlocked so that the user can edit these before deployment.
  6. Drag and drop the NFS Server application to head_node.
    1. Click the NFS Server
    2. Add three nfs_exports values with the Folder paths as /home, /altair, and /stage. Provide the options as (ro,no_root_squash) for all the three folders.
    3. Lock all the values so that these are not displayed to the user during deployment
  7. Drag and drop the NIS Server application head_node.
    1. Click the NIS Server
    2. Leave the NIS Domain field blank and unlocked. User can enter the value before deployment.
  8. Drag and drop the PBS Pro Server 13.0.1 application to head_node.
    1. Click the PBS Pro Server 13.0.1 component.
    2. Enter the user for PBS user for SSH authentication as pbsuser and lock it.
    3. Leave the Software server and License server fields blank and unlocked.
  9. Drag and drop the PBS Application Server 13.0 application to the head_node.
    1. Click the PBS Application Sever 13.0 component.
    2. Unlock and leave the Software server and License server fields blank.

Creating the Compute Node

  1. Click Compute. The list of available node types is displayed.
  2. Drag and drop the PBS Explicit Node to the editor and name it compute_node.
  3. To edit parameters for the compute_node, click it and specify:
    • Order of deployment : 2 (Compute node will be deployed after head node)
    • Scalability max : 128 (Installation on upto 128 nodes)
    • Scalability min : 1 (Installation on 1 machine is required)
  4. Click Applications. The list of available applications is displayed.
  5. Drag and drop Base System to compute_node.
    1. Click the Base System component.
    2. Lock the Users field.
    3. Enter the OS disk size as 32 GB and unlock the field.
  6. Drag and drop the NFS Agent application to compute_node.
    1. Click the NFS Agent component.
    2. Add three nfs_mounts. Provide mountpoint and location as /home, /altair and /stage.
    3. Check the persist across reboots option
    4. Lock all the three values.
  7. Drag and drop the NIS Agent application to compute_node.
    1. Click the NIS Agent component.
    2. Add a Local NIS User with username and password as pbsadmin.
    3. Leave the home directory and NIS Domain blank.
    4. Leave all fields unlocked.
  8. Drag and drop the PBS Pro Compute Agent 13.0.1 to compute_node.
    1. Click the PBS Pro Compute Agent 13.0.1 component.
    2. Enter PBS user for SSH authentication as pbsuser and lock the field.
    3. Leave the parameters blank and unlocked.

Creating the Graphical Node

  1. Click Compute. The list of available node types is displayed.
  2. Drag and drop the PBS Graphical Node to the editor and name it graphical_node.
  3. To edit parameters for the graphical node, click it and specify:
    • Order of deployment : 2
    • Scalability max : 128
    • Scalability min: 1
  4. Click Applications. The list of available applications is displayed.
  5. Drag and drop Base System to graphical_node.
    1. Click the Base System component.
    2. Lock the Users field.
    3. Enter the OS disk size as 32 GB
    4. Unlock the field.
  6. Drag and drop the NFS Agent application to graphical_node.
    1. Click the NFS Agent component.
    2. Add three nfs_mounts. Provide mountpoint and location as /home, /altair and /stage.
    3. Check the persist across reboots option and lock all the three values.
  7. Drag and drop the NIS Agent application to graphical_node.
    1. Click the NIS Agent component.
    2. Add a Local NIS User with username and password as pbsadmin.
    3. Leave the home directory and NIS Domain blank.
    4. Leave all fields unlocked.
  8. Drag and drop the PBS Pro Graphical Agent to graphical_node.
    1. Click the PBS Pro Graphical Agent 13.0.1 component.
    2. Enter PBS user for SSH authentication as pbsuser and lock the field.
    3. Leave other parameters blank and unlocked.

Linking Components.

To link one component to another click and drag the green handle from one component to the green handle of another. In our model, the server and agent components have to be linked.

  1. Link NIS Agent component from compute_node and graphical_node to the NIS Server component in the head_node.
  2. Link NFS Agent component from compute_node and graphical_node to the NFS Server component in the head_node.
  3. Link PBS Pro Compute Agent in the compute_node to the PBS Pro Server 13.01 component.
  4. Link PBS Pro Graphical Agent in the graphical_node to the PBS Pro Server 13.01 component.
  5. Link PBS Access Server 13.0 component to the PBS Pro Graphical Agent component.

Click Save to save your changes to the design. Click Publish to make the model available for deployment. The parameters for all the components is validated. If there are any errors, fix them and publish again.