Difference between revisions of "ComputingManagement"

From Mu2eWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
** to delete any users' files
 
** to delete any users' files
 
** to find largest users
 
** to find largest users
 +
* new disk admin system, on mu2egpvm01
 +
**ifadmin-check-container- See if container is up and healthy
 +
**ifadmin-stop-container
 +
**ifadmin-command
 +
[mu2e-admin@mu2egpvm01 bin]$ ifadmin-command "whoami"
 +
**ifadmin-connect - Open a shell as root in the container.  This gives you command line access, as root, to the nfs mounts.
 +
**ifadmin-rebuild-container - Rebuild the container if anything seems weird.  This should restart the container as well
 +
**ifadmin-start-container - Start the container if, for some reason, it is stopped
 +
**ifadmin-stop-container - Stop the container.
 +
**IMPORTANT NOTE: DO NOT TRY TO RUN CRONS INSIDE THE CONTAINER  Instead, the way to do this is via cron on the host gpvm node, as the {experiment}-admin user.  Put your cron job into /{experiment}/app, and call it using '**ifadmin-command "/{experiment}/app/your_cron"** from the admin user cron on the host interactive node (gpvm node) via **crontab -e**.
 +
**The container should have your experiment password file as well, so you can 'su' to any user as needed.
 
* Docker and Singularity build
 
* Docker and Singularity build
 
** Rob, Andrei and Ray can [https://ssiwiki.fnal.gov/wiki/Container_Build_Service_Home#Adding_users log into] repoadmin@mu2eimagegpvm01 (docker build machine) to add users
 
** Rob, Andrei and Ray can [https://ssiwiki.fnal.gov/wiki/Container_Build_Service_Home#Adding_users log into] repoadmin@mu2eimagegpvm01 (docker build machine) to add users

Revision as of 20:29, 14 June 2021

To do lists for mu2e offline (password protected)

Other links:

 [root@if-admin-mu2e tape]# cd /pnfs/mu2e/tape
 [root@if-admin-mu2e tape]# for i in usr-{etc/bck,nts/nts,sim/{sim,dig}}; do echo $i; mkdir $i/sophie; chown 54683.9914 $i/sophie ;done
    • to delete any users' files
    • to find largest users
  • new disk admin system, on mu2egpvm01
    • ifadmin-check-container- See if container is up and healthy
    • ifadmin-stop-container
    • ifadmin-command
[mu2e-admin@mu2egpvm01 bin]$ ifadmin-command "whoami"
  • interactive node notes
  • Testing that edits work on the exported clone.