cheatsheet.txt 5.56 KB
Newer Older
Johannes Kiesel's avatar
Johannes Kiesel committed
1 2
WEBIS CHEATSHEET
================
3

4 5 6
archiveuser          Archive one or all useraccount(s) on a standard webis machine
    all                  Utility Tool to archive all user accounts on a standard webis machine
    singleuser           Utility Tool to archive a single user account on a standard webis machine
Kai Lorenz's avatar
Kai Lorenz committed
7

Johannes Kiesel's avatar
Johannes Kiesel committed
8
betamng              Low level scripts for managing Betaweb.
9 10 11 12
    activate_vnc_all     Activate vnc on all nodes of the hostlist
    bios_cpu_test_all    Starts bios cpu test on all nodes of the hostlist
    change_lcd_msg_all   Change lcd message of every node of betaweb to betaweb???
    check_dimms          Check for warnings concerning RAM modules in idrac for all betaweb machines
Johannes Kiesel's avatar
Johannes Kiesel committed
13
    clear_idrac_log      
14 15 16
    do_all               Run a command sequential on all betamng nodes
    enable_pxe_bios_boot_all Enable pxe bios boot on all hosts: experimental! hope and prey
    get_bios_boot_settings_all Get boot settings from all nodes
Johannes Kiesel's avatar
Johannes Kiesel committed
17
    get_idrac_log        
18 19 20 21 22 23 24 25 26
    pssh                 Run a command parallel on all betamng nodes
    read_all_macs        Printout system dump of all hosts for extracting mac addresses
    set_critical_temp_shutdown Set settings for shutdown on critical temperature
    ssh                  Open ssh session to one of the betamng nodes (racadm can be used)
    start_all            Start every node of betamng (parallel)
    status_all           Get power status of every node of betamng
    stop_all             Shutdown every node of betamng
    virtualscreen        Open java vnc session to one of the betamng nodes, via idrac
    vnc                  Open vnc session to one of the betamng nodes
27

Johannes Kiesel's avatar
Johannes Kiesel committed
28 29
betaweb              High level scripts for betaweb, e.g. hadoop management.
    check_ram            
30
    htop                 Show system load of all betaweb nodes using clusterssh and htop
31
    restart_hadoop_ressourcemanager Restart hadoop ressource manager on betaweb020 and restarts nodemanager
Johannes Kiesel's avatar
Johannes Kiesel committed
32 33
    rolling_restart      Restart betaweb nodes one after another
    rolling_state        Apply Salt state on nodes one after another
34
    ssh                  SSH into all betaweb nodes using clusterssh
35
    status               Get status of betaweb via salt
36

Johannes Kiesel's avatar
Johannes Kiesel committed
37
core                 Core functions of the Webis command.
38 39 40 41
    checker              Check codestyle of project
    install              Install webis to PATH
    remove               Remove webis from PATH
    update               Update the webis command from Git
Johannes Kiesel's avatar
Johannes Kiesel committed
42
    update-cheatsheet    Update local copy of code-webis-cmd/cheatsheet.txt
43
    version              Get webis version
Johannes Kiesel's avatar
Johannes Kiesel committed
44

Johannes Kiesel's avatar
Johannes Kiesel committed
45
cvs                  Helper scripts for working with the Webis CVS server
Johannes Kiesel's avatar
Johannes Kiesel committed
46
    onboard              Create a new user on the webis virtual machine (webis VM)
Johannes Kiesel's avatar
Johannes Kiesel committed
47
    status               Checks what changed in this CVS directory without doing anything
Johannes Kiesel's avatar
Johannes Kiesel committed
48 49
    update               Update this CVS directory, deleting directories that were deleted on the server

Johannes Kiesel's avatar
Johannes Kiesel committed
50 51 52 53
elasticsearch        Helper scripts for managing Elasticsearch on the Betaweb cluster.
    restart_nodes        Restart Elasticsearch cluster
    start_nodes          Restart Elasticsearch cluster
    stop_nodes           Restart Elasticsearch cluster
54 55 56

git                  Helper scripts for working with the Webis Git server and GitLab instance.
    clone-deps           Clone dependencies for current project from GitLab
Johannes Kiesel's avatar
Johannes Kiesel committed
57 58 59
    clone-groups         Check out groups of webis gitlab projects at once
    cvs2git              Import all CVS modules into new Git repositories and push
    cvstree2git          Try to clone all projects in the current CVS tree from Git.
60
    gitlab               Gitlab commandline interface that comes with python-gitlab
Johannes Kiesel's avatar
Johannes Kiesel committed
61 62
    init                 Initialize GitLab API client
    onboard              Set up the correct Gitlab group permissions for a new student or Hiwi
63
    update-project       Clone or update the given Git project from GitLab.
Johannes Kiesel's avatar
Johannes Kiesel committed
64
    web-admin            Display a web-admin view for Gitlab (need to have a token with admin access)
65

Kai Lorenz's avatar
Kai Lorenz committed
66
k8s                  Kubernetes tools
67 68
    connect-test-cluster Connect kubectl to the testing cluster
    login                Set up OpenID authentication for kubernetes access
Johannes Kiesel's avatar
Johannes Kiesel committed
69
    setup-user-namespaces Set up k8s access per gitlab groups
Kai Lorenz's avatar
Kai Lorenz committed
70 71 72 73

pki                  Webis TLS PKI Tools
    cert                 

Johannes Kiesel's avatar
Johannes Kiesel committed
74
util                 General helper tools and utilities
Johannes Kiesel's avatar
Johannes Kiesel committed
75
    authorized-ssh-keys  Collect all SSH keys in use across salt minions' user accounts
76 77 78
    backup-btrfs-vol     Take a snapshot of a btrfs subvolume and back up its contents to another location
    list-buw-dns         List all assigned Webis host names / IP addresses at BUW
    login                Get user name for a university login
79
    mturk-manager-frontend Start the MTurk manager frontend on your machine
Johannes Kiesel's avatar
Johannes Kiesel committed
80
    parallel-idrac       Execute idrac command in parallel across multiple hosts
Johannes Kiesel's avatar
Johannes Kiesel committed
81 82
    patch-jar            Add files from one jar to another
    read-from-clipboard  Print the clipboard to standard output
Johannes Kiesel's avatar
Johannes Kiesel committed
83
    salt-restart         restart a salt minion on a targeted machine
Johannes Kiesel's avatar
Johannes Kiesel committed
84
    sshproxy             Set up an SSH proxy tunnel for accessing digital library content or university-restricted URLs
85
    tasks                Execute lists of tasks in parallel
86
    webis-web-permissions Find files with missing group write permission on gonzo
Johannes Kiesel's avatar
Johannes Kiesel committed
87
    write-to-clipboard   Fill the clipboard from standard input
88

Johannes Kiesel's avatar
Johannes Kiesel committed
89 90
webis20              Storage Management Scripts, need direct access to RAID Controller and MegaCLI installed
    lsi                  
91 92


Johannes Kiesel's avatar
Johannes Kiesel committed
93
Generated using *webis core update-cheatsheet*. If you find this file to be outdated, rerun this command and push the updated file to the Git server.