cheatsheet.txt 5.17 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
    restart_hadoop_ressourcemanager Restart hadoop ressource manager on betaweb020 and restarts nodemanager
Johannes Kiesel's avatar
Johannes Kiesel committed
31 32
    rolling_restart      Restart betaweb nodes one after another
    rolling_state        Apply Salt state on nodes one after another
33
    status               Get status of betaweb via salt
34

Johannes Kiesel's avatar
Johannes Kiesel committed
35
core                 Core functions of the Webis command.
36 37 38 39
    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
40
    update-cheatsheet    Update local copy of code-webis-cmd/cheatsheet.txt
41
    version              Get webis version
Johannes Kiesel's avatar
Johannes Kiesel committed
42

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

Johannes Kiesel's avatar
Johannes Kiesel committed
48 49 50 51
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
52 53 54

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
55 56 57
    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.
58
    gitlab               Gitlab commandline interface that comes with python-gitlab
Johannes Kiesel's avatar
Johannes Kiesel committed
59 60
    init                 Initialize GitLab API client
    onboard              Set up the correct Gitlab group permissions for a new student or Hiwi
61
    update-project       Clone or update the given Git project from GitLab.
Johannes Kiesel's avatar
Johannes Kiesel committed
62
    web-admin            Display a web-admin view for Gitlab (need to have a token with admin access)
63

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

pki                  Webis TLS PKI Tools
    cert                 

Johannes Kiesel's avatar
Johannes Kiesel committed
72
util                 General helper tools and utilities
73 74 75
    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
Johannes Kiesel's avatar
Johannes Kiesel committed
76 77
    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
78
    salt-restart         restart a salt minion on a targeted machine
Johannes Kiesel's avatar
Johannes Kiesel committed
79
    sshproxy             Set up an SSH proxy tunnel for accessing digital library content or university-restricted URLs
80
    tasks                Execute lists of tasks in parallel
81
    webis-web-permissions Find files with missing group write permission on gonzo
Johannes Kiesel's avatar
Johannes Kiesel committed
82
    write-to-clipboard   Fill the clipboard from standard input
83

Johannes Kiesel's avatar
Johannes Kiesel committed
84 85
webis20              Storage Management Scripts, need direct access to RAID Controller and MegaCLI installed
    lsi                  
86 87


Johannes Kiesel's avatar
Johannes Kiesel committed
88
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.