Skip to content

Cheeto

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.

Cheeto is the swissarmytoolknife of account, storage, QoS, group, etc, creation and manipulation. All manipulation is done by hippo-user on the system accounts. BE VERY CAREFUL There are no prompts, and there is no undo.

Show a user

cheeto db user show --site=**cluster** --user=**LoginID**

Dump all user Login IDs in a cluster

cheeto db user show --site=**cluster** --list

Dump all user data in a cluster

cheeto db user show --site=**cluster**

Find a user

cheeto db user show --find jeff

Add a new QoS:

Two step process, first create the Qos, then allow the group to access it.

export GROUP="**GroupName**"

cheeto database slurm new qos --group-limits mem=****G,cpus=**,gpus=** --qosname=${GROUP}-high-qos --site=**cluster**

cheeto database slurm new assoc --group=${GROUP} --partition=high --qos=${GROUP}-high-qos --site=**cluster**

Edit a QoS

cheeto db slurm edit qos --site=**cluster** --qosname=**group-name**-high-qos --group-limits mem=****G,cpus=***,gpus=*

Show an association

export GROUP="**GroupName**"

cheeto db slurm show assoc --site=**cluster** --partition=high --group=${GROUP} --qos=${GROUP}-high-qos

Find the name of a storage:

cheeto db storage show --site=**cluster** --host=**hostname**

Adjust a quota

Use the correct name: value from Find the name of a storage

cheeto db storage edit source --name=**storage-name** --site=**cluster** --quota=**T

Add an approver (sponsor) to a PI group

Note, all approvers must already have an account on the cluster in question.

cheeto database group add sponsor --site=**cluster** --user=**LoginID** --group=**group-name**

Note, there is no error shown if the user does not already have an account, so double check the sponsors list after.

Show members, and sponsors, of a PI group

cheeto db group show --site=**cluster** --group=**group-name**