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.
-
Login to our Quobyte web console
-
Click
Volumes
on the left. -
Verify the PI does not already have a tenant/volume.
- Enter
{PI-Login-ID}
intoFilter
box.
- Enter
-
Tenant
->Create tenant...
Tenant name
:{PI-Login-ID}grp
-
Find the new Tenant with the
Filter
box. -
Click the three vertical dots next to the PI's tenant name
-
Edit tenant quota...
-
Ensure
Unit: Binary (Default decimal)
is set. -
Logical quota
->Any type
-
Switch dropdown to
TiB
-
Enter quota
-
-
Save
-
-
-
Click the three vertical dots next to the PI's tenant name
-
Create tenant volume...
-
Volume name
:{PI-Login-ID}grp
-
Owner user name
:{PI-Login-ID}
-
Owner group name
:{PI-Login-ID}grp
-
POSIX permission mask
:2770
-
Create
-
-
-
Verify the new volume exists:
df -h /quobyte/{PI-Login-ID}grp/
-
Farm only, update Hippo
-
Move state to
Active
-
Edit Order
-
+ Add Metadata
nas
->Quobyte
-
-
-
Create/update ServiceNow ticket to let them know their new storage is available to be used:
- Access path, on both Farm and Hive is
/quobyte/{PI-Login-ID}grp/
- Access path, on both Farm and Hive is
-
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.
-
SSH to
quobyte.hpc
. -
export PI={PI-Login-ID}
-
export PIQuota={Quota-in-TiB}
-
Verify the PI tenant does not already exist.
-
sudo /opt/hpccf/sbin/qmgmt.sh tenant resolve ${PI}grp
- Look for:
FATAL: Operation failed due to invalid input: 'No such tenant:
- Look for:
-
-
Create the tenant:
sudo /opt/hpccf/sbin/qmgmt.sh tenant create ${PI}grp
-
Create the volume:
sudo /opt/hpccf/sbin/qmgmt.sh volume create "${PI}grp/${PI}grp" ${PI} ${PI}grp 2770
-
Set the quota:
sudo /opt/hpccf/sbin/qmgmt.sh quota create TENANT ${PI}grp LOGICAL_DISK_SPACE $(( ${PIQuota} * 1024**4))