Linux

Detailed Explanation of Parallel Shell Use Cases

IP Subnet Calculation RHEL Auto-Configure IP Address Parallel terminal GPFS Configuration and Deployment To be continued

  1. IP Subnet Calculation
ipcalc - calculate subnet for given <IP/Prefix> | [Netmask]
    parash.py ipcalc 192.168.0.1/24
    parash.py ipcalc 192.168.0.1 24
    parash.py ipcalc 192.168.0.1/255.255.255.0
    parash.py ipcalc 192.168.0.1 255.255.255.0

2. RHEL Auto-Configure IP Address

ifcfg - automatically assign IP address[es] to the first suitable interface
    parash.py ifcfg
        -h 192.168.1.1/2 -a 10.10.10.1/2=28 -g '10.10.10.14'
        -p 'SHARED_PASS' --default-route --restart-network

    parash.py ifcfg
        <-h HOST[s]>
        [-u USER[s]] [-p PASSWORD[s]]
        <-a ADDRESS[es]> <-g GATEWAY[s]>
        [-r | --default-route] [-w | --restart-network]
        [-o | --bond]
        [--preview]

    parash.py ifcfg
        <-h HOST[s]>
        [-u USER[s]] [-p PASSWORD[s]]
        <-i interface> --show

3. Parallel terminal

multerm -- cli for multiple hosts
    parash.py multerm <-h HOST[s]> [-u USER[s]] [-p PASSWORD[s]]

4. GPFS Configuration and Deployment

gpfs - create GPFS cluster, NSD, filesystem

    parash.py gpfs
        <-h HOST[s]>
        [-u USER[s]] [-p PASSWORD[s]] [-s ADDRESSES] [-b HEARTBEATS]
        <--hb-prefix STR>
        [-n HOSTNAMES] [-x PREFIX]
        [-f DIRECTORY] [-g MMFS] [-d /dev/sdx]
        [-P PRIMARY] [-s SECONDARY]
        [--preview]

To be continued

N
norvyn

独立 iOS 开发者,写字的人。在一座有海的城市,慢慢地做一些小而确定的东西。An independent iOS developer and writer — slowly making small, certain things in a city by the sea.

评论Comments

加载中…Loading…

留下评论Leave a comment