Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.58 KB

2017-08-10-cli-demo.md

File metadata and controls

22 lines (14 loc) · 1.58 KB

title: Demonstrating the VC3 client date: 2017-08-10 tags: [demos]

The VC3 Command Line Interface for Administrators

This example shows how the vc3-client interacts with the VC3 information service to create new users, projects and resources, and using these spin up an HTCondor virtual cluster. These commands are meant to be executed by VC3 administrators.

Create new users, projects, and resource profiles

$ vc3-client user-create --firstname Lincoln --lastname Bryant --email [email protected] --institution UChicago lincolnb 
$ vc3-client project-create --owner rwg --members rwg,jhover ATLAS    
$ vc3-client project-adduser ATLAS jcaballero  
$ vc3-client resource-create --owner lincolnb --accesstype batch --accessmethod ssh --accessflavor htcondor --accesshost condor.grid.uchicago.edu --accessport 22 uchicago-grid                                                       
$ vc3-client resource-create --owner lincolnb --accesstype batch --accessmethod ssh --accessflavor slurm --accesshost cori.nersc.gov --accessport 22 nersc-cori                                                                       
<script type="text/javascript" src="https://asciinema.org/a/a6fajD1XmHW1dxEvHvxqwwjb2.js" id="asciicast-40j5dnd6m67yog3y4qa4tw957" async data-size="small" data-theme="monokai"></script>

Watch the service logs when creating new users, projects, and resource profiles.

<script type="text/javascript" src="https://asciinema.org/a/rw3gao3WobjZKe6ZyLZwezrAg.js" id="asciicast-40j5dnd6m67yog3y4qa4tw957" async data-size="small" data-theme="monokai"></script>