Skip to content

New PI share

Warning

This documentation is for internal use. It may be of interest to users who are curious about our internal processes and architecture, but should not be mistaken for describing services that we offer or stable infrastructure that end users should rely upon. If you find yourself submitting a ticket about something on this page, you are probably making a mistake.

GUI

All PIs get their own Quobyte Tenent, within which we create a volume.

  1. Login to our Quobyte web console

  2. Click Volumes on the left.

  3. Verify the PI does not already have a tenant/volume.

    1. Enter {PI-Login-ID} into Filter box.
  4. Tenant -> Create tenant...

    1. Tenant name: {PI-Login-ID}grp
  5. Find the new Tenant with the Filter box.

  6. Click the three vertical dots next to the PI's tenant name

    1. Edit tenant quota...

      1. Ensure Unit: Binary (Default decimal) is set.

      2. Logical quota -> Any type

        1. Switch dropdown to TiB

        2. Enter quota

      3. Save

  7. Click the three vertical dots next to the PI's tenant name

    1. Create tenant volume...

      1. Volume name: {PI-Login-ID}grp

      2. Owner user name: {PI-Login-ID}

      3. Owner group name: {PI-Login-ID}grp

      4. POSIX permission mask: 2770

      5. Create

  8. Verify the new volume exists:

    1. df -h /quobyte/{PI-Login-ID}grp/
  9. Farm only, update Hippo

    1. Move state to Active

    2. Edit Order

      1. + Add Metadata

        1. nas -> Quobyte
  10. Create/update ServiceNow ticket to let them know their new storage is available to be used:

    1. Access path, on both Farm and Hive is /quobyte/{PI-Login-ID}grp/
  11. Research!

CLI

PREREQUISITE: update qmgmt.sh to use a r/w user.

  • Option: create a dedicated script that takes a PI name and quota and does all the work.

    • Show currently allocated quota in dedicated script.

  1. SSH to quobyte.hpc.

  2. export PI={PI-Login-ID}

  3. export PIQuota={Quota-in-TiB}

  4. Verify the PI tenant does not already exist.

    1. sudo /opt/hpccf/sbin/qmgmt.sh tenant resolve ${PI}grp

      1. Look for: FATAL: Operation failed due to invalid input: 'No such tenant:
  5. Create the tenant: sudo /opt/hpccf/sbin/qmgmt.sh tenant create ${PI}grp

  6. Create the volume: sudo /opt/hpccf/sbin/qmgmt.sh volume create "${PI}grp/${PI}grp" ${PI} ${PI}grp 2770

  7. Set the quota: sudo /opt/hpccf/sbin/qmgmt.sh quota create TENANT ${PI}grp LOGICAL_DISK_SPACE $(( ${PIQuota} * 1024**4))