isilon - isi命令

 

configuration console模式

isi config      //可以修改configuration 设置,进入 “configuration console”模式后,命令就不需要isi开头了

isilon01-1# isi config
Welcome to the PowerScale configuration console.
Copyright (c) 2001-2022 Dell Inc. All Rights Reserved.
Enter 'help' to see list of available commands.
Enter 'help <command>' to see help for a specific command.
Enter 'quit' at any prompt to discard changes and exit.

        Node build: Isilon OneFS 9.4.0.0 B_9_4_0_007(RELEASE)
        Node serial number: SV200-000NZR-DSX9

isilon01 >>>      //进入了 configuration console模式,命令就不需要isi开头了

isilon01 >>> help
Documented commands (type help <topic>):
========================================
changes  deliprange  help       ipset     migrate  netmask  remove    timezone
commit   encoding    interface  joinmode  mtu      quit     shutdown  version
date     exit        iprange    lnnset    name     reboot   status    wizard

isilon01 >>> version

Isilon OneFS 9.4.0.0 (Release, Build B_9_4_0_007(RELEASE), 2022-03-17 00:45:04, 0x904005000000007)
isilon01 >>> name

The cluster name is currently set to 'isilon01'

isilon01 >>> date

Current date and time: 2022/08/07 06:26:56 CST
isilon01 >>> iprange

Interface int-a IP Ranges:
        10.1.1.1-10.1.1.254
Interface int-b IP Ranges:
        10.2.2.2-10.2.2.254
Interface failover ip ranges:
        10.3.3.3-10.3.3.254
isilon01 >>> interface

Information for int-a interface:
  Netmask       :  255.255.255.0
  MTU           :  1500 (shared)
  IP Ranges     :  10.1.1.1-10.1.1.254
  Flags         :  Enabled

Information for int-b interface:
  Netmask       :  255.255.255.0
  MTU           :  1500 (shared)
  IP Ranges     :  10.2.2.2-10.2.2.254
  Failover IPs  :  10.3.3.3-10.3.3.254
  Flags         :  Cluster Traffic, Failover, Enabled
isilon01 >>>  

isilon01 >>> status advanced
……
Device IP information:
ID              | int-a           | int-b            | failover
----------------+-----------------+------------------+----------------------
1               | 10.1.1.1        | 10.2.2.2         | 10.3.3.3
----------------+-----------------+------------------+----------------------

Device health:
LNN  | ID  | Cluster IP      | GUID                                 | Type        | Status |
-----+-----+-----------------+--------------------------------------+-------------+--------+
1    | 1   | 10.3.3.3        | 000c290caaa31c58ee62b81bbdacc3fdc04a | Storage     | Okay   |
-----+-----+-----------------+--------------------------------------+-------------+--------+
isilon01 >>> lnnset 1 5          //lnnset 命令用来change LNN; 当node加入cluster时,会分配一个唯一的node ID,如果remove再重新加入cluster,会分配一个新的ID;

Node 1 changed to Node 5. Change will be applied on 'commit'

isilon01 >>>

 

cluster shutdown

isilon01 >>> shutdown all           //关闭整个cluster
isilon01 >>> shutdown 4         //通过LNN,关闭某个node

Caution: Do not shut down nodes using the UNIX “shutdown -p” command, “halt” command, or “reboot” command. Using the UNIX command may result in RAM not flushing properly.

 

isi命令

OneFS supports management isi commands:

isilon01-1# man isi
isi(8)                  FreeBSD System Manager's Manual                 isi(8)



NAME
       isi -- OneFS cluster administration.

DESCRIPTION
       The isi command allows a variety of operations to be performed on an
       PowerScale cluster.  These commands are generally independent, and few
       flags are shared.  The base command provides a --help flag to retrieve
       general usage information, and additionally each subcommand provides a
       --help flag to retrieve usage information for that specific command.  A
       full description of each subcommand and its arguments and parameters
       follows.

SYNOPSIS
       isi antivirus      - Manage antivirus settings and policies.
       isi api            - Manage the Platform API.
       isi audit          - Manage audit configuration or perform manual
       deletion.
       isi auth           - Manage authentication, identities and role-based
       access.
       isi batterystatus  - Get the status of the batteries in a node.
       isi certificate    - Configure cluster TLS certificates.
       isi cloud          - Manage CloudPool accounts and pools.
       isi cluster        - Manage cluster-wide settings.
       isi compression    - View and manage filesystem compression technology
       settings and statistics.
       isi config         - Manage general cluster settings.
       isi dedupe         - Manage Dedupe settings.
       isi devices        - Manage drives and nodes.
       isi diagnostics    - Manage configuration for cluster diagnostic tools.
       isi dm             - Command Line Interface (CLI) for Datamover
……

 

PAPI

Platform Application Programming Interface (PAPI),可以通Platform API;过脚本化的命令配置cluster; API接口

posted @ 2022-08-07 00:35  凡事预则立,不预则废  阅读(377)  评论(0)    收藏  举报