Go to main content
Oracle® ZFS Storage Appliance インストールガイド

印刷ビューの終了

更新: 2016 年 12 月
 
 

初期構成の実行 (CLI)

段階的なユーティリティーであるこの手順を使用して、コマンド行インタフェース (CLI) を使用することによって、アプライアンスのネットワークインタフェース、ドメインネームサービス (DNS)、時間設定、ネームサービス、ディレクトリサービス、ストレージ、およびリモートサポートの初期構成を完了させます。


注 -  クラスタ化コントローラを設置する場合は、初期構成の実行 (BUI)の説明に従って、初期構成に BUI を使用することを強くお勧めします。

各ステップはステップのヘルプを出力することから始まり、このヘルプは help と入力して再度出力できます。各ステップを完了するには done コマンドを使用します。例では、既存の設定 (DHCP サーバーから取得される) をチェックし、「done」と入力して受け入れます。これらをカスタマイズするには、各コンテキスト (datalinksdevices および interfaces) を入力し、help と入力して、そのコンテキストで使用できるアクションを表示します。

始める前に

  • システムの構成の説明に従ってシステムが構成されていることを確認します。

  • この手順では、ネットワークインタフェースの構成を完了したばかりで、CLI へのアクセスに同じ管理クライアントを使用していることを想定しています。

  1. システムの構成時に作成した管理パスワードを使用してログインします。
    hostname console login: root
    Password: 
    To setup your system, you will be taken through a series of steps; as the setup
    process advances to each step, the help message for that step will be
    displayed.
              
    Press any key to begin initial configuration ...
  2. アプライアンスネットワークインタフェースを構成します。

    詳細は、次のトピックを参照してください。


    注 -  管理インタフェースを今すぐ作成するか、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の 管理インタフェースの構成のタスクを使用して別の時点で作成することもできます。
    aksh: starting configuration with "net" ... 
              
    Configure Networking. Configure the appliance network interfaces. The first
    network interface has been configured for you, using the settings you provided
    at the serial console. 
              
    Subcommands that are valid in this context:
    
       datalinks            => Manage datalinks
              
       devices              => Manage devices
              
       interfaces           => Manage interfaces
              
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help" or "script".
    
       show                 => Show information pertinent to the current context
    
       abort                => Abort this task (potentially resulting in a
                               misconfigured system)
    
       done                 => Finish operating on "net"
    
    hostname:maintenance system setup net> devices show
    Devices:
    
         DEVICE UP       MAC                      SPEED          
           igb0 true     0:14:4f:8d:59:aa         1000 Mbit/s    
           igb1 false    0:14:4f:8d:59:ab         0 Mbit/s       
           igb2 false    0:14:4f:8d:59:ac         0 Mbit/s       
           igb3 false    0:14:4f:8d:59:ad         0 Mbit/s       
    
    hostname:maintenance system setup net> datalinks show
    Datalinks:
    
       DATALINK CLASS          LINKS       LABEL
           igb0 device         igb0        Untitled Datalink
    
    hostname:maintenance system setup net> interfaces show
    Interfaces:
    
    INTERFACE    STATE    CLASS    LINKS       ADDRS                  LABEL
    igb0         up       ip       igb0        192.168.2.80/22        Untitled Interface
    
    hostname:maintenance system setup net> done

    管理インタフェースを今すぐ作成するには、例として次の手順を使用します。

    1. maintenance system setup net に移動し、interfaces と入力します。
      hostname:maintenance system setup net> interfaces
    2. show と入力し、インタフェースを表示します。cd .. と入力して、次の手順のためのコンテキストに戻ります。
      hostname:maintenance system setup net interfaces> show
      Interfaces:
      
      INTERFACE    STATE      CLASS      LINKS      ADDRS                   LABEL
      igb0         up         ip         igb0       192.0.2.11/24           Untitled Interface
      hostname:maintenance system setup net interfaces> cd ..
    3. 「無題のインタフェース」というラベルの付いたインタフェースのルーティングを構成します。cd .. と入力して、次の手順のための適切なコンテキストに戻ります。

      詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の ネットワークルーティングの構成を参照してください。

      hostname:maintenance system setup net> routing
      hostname:maintenance system setup net routing> create
      hostname:maintenance system setup net route (uncommitted)> set destination=0.0.0.0
                              destination = 0.0.0.0 (uncommitted)
      hostname:maintenance system setup net route (uncommitted)> set mask=0
                                     mask = 0 (uncommitted)
      hostname:maintenance system setup net route (uncommitted)> set interface=igb0
                                interface = igb0 (uncommited)
      hostname:maintenance system setup net route (uncommitted)> set gateway=192.0.2.1
                                  gateway = 192.168.56.101 (uncommitted)
      hostname:maintenance system setup net route (uncommited)> set family=IPv4
                                   family = IPv4 (uncommitted)
      hostname:maintenance system setup net route (uncommitted)> commit
      hostname:maintenance system setup net routing> cd ..
    4. interfaces と入力し、「無題のインタフェース」というラベルの付いたインタフェースを選択し、show と入力してインタフェースのプロパティーを表示します。
      hostname:maintenance system setup net> interfaces
      hostname:maintenance system setup net interfaces> select igb0
      hostname:maintenance system setup net interfaces igb0> show
      Properties:
      
                                           state = up
                                        curaddrs = 192.0.2.11/24
                                           class = ip
                                           label = Untitled Interface
                                          enable = true
                                           admin = true
                                           links = igb0
                                         v4addrs = 
                                          v4dhcp = true
                                         v6addrs = 
                                          v6dhcp = false
    5. IPv4 アドレスを設定し、プロトコルを DHCP から静的に変更し、これが管理インタフェースであることを示す新しいラベルを設定します。cd ../.. と入力して、次の手順のための適切なコンテキストに戻ります。
      hostname:maintenance system setup net interfaces igb0> set v4addrs=192.0.2.11/24
                                    v4addrs = 192.168.1.101/24 (uncommitted)
      hostname:maintenance system setup net interfaces igb0> set v4dhcp=false
                                     v4dhcp = false (uncommitted)
      hostname:maintenance system setup net interfaces igb0(uncommitted)> set label=management-controller
                                    label = management-controller (uncommitted)
      hostname:maintenance system setup net interfaces igb0 (uncommitted)> commit
      hostname:maintenance system setup net interfaces igb0> cd ../..
  3. ドメインネームサービス (DNS) を構成します。

    詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の DNS 構成を参照してください。

    Configure DNS. Configure the Domain Name Service.
    
    Subcommands that are valid in this context:
    
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help", "script" or "properties".
    
       show                 => Show information pertinent to the current context
    
       commit               => Commit current state, including any changes
    
       abort                => Abort this task (potentially resulting in a
                               misconfigured system)
    
       done                 => Finish operating on "dns"
    
       get [prop]           => Get value for property [prop]. ("help properties"
                               for valid properties.) If [prop] is not specified,
                               returns values for all properties.
    
       set [prop]           => Set property [prop] to [value]. ("help properties"
                               for valid properties.) For properties taking list
                               values, [value] should be a comma-separated list of
                               values.
    
    hostname:maintenance system setup dns> show
    Properties:
                          <status> = online
                            domain = sun.com
                           servers = 198.51.100.1
    
    hostname:maintenance system setup dns> set domain=sf.fishworks.com
                            domain = sf.fishworks.com (uncommitted)
    hostname:maintenance system setup dns> set servers=198.51.100.2
                           servers = 198.51.100.2 (uncommitted)
    hostname:maintenance system setup dns> commit
    hostname:maintenance system setup dns> done
    aksh: done with "dns", advancing configuration to "ntp" ...
  4. 時間情報プロトコル (NTP) を構成して、アプライアンスのクロックを同期します。

    注 -  SMB および Active Directory を使用してファイルシステムをシェアしている場合、ユーザー認証エラーが発生しないように、クライアントのクロックをアプライアンスのクロックの 5 分以内のところまで同期させる必要があります。クロック同期を確保する方法の 1 つは、同じ NTP サーバーを使用するようにアプライアンスと SMB クライアントを構成することです。

    詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の NTP 構成を参照してください。

    Configure Time. Configure the Network Time Protocol.
    
    Subcommands that are valid in this context:
    
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help", "script" or "properties".
    
       show                 => Show information pertinent to the current context
    
       commit               => Commit current state, including any changes
    
       abort                => Abort this task (potentially resulting in a
                               misconfigured system)
    
       done                 => Finish operating on "ntp"
    
       enable               => Enable the ntp service
    
       disable              => Disable the ntp service
    
       get [prop]           => Get value for property [prop]. ("help properties"
                               for valid properties.) If [prop] is not specified,
                                returns values for all properties.
    
       set [prop]           => Set property [prop] to [value]. ("help properties"
                               for valid properties.) For properties taking list
                               values, [value] should be a comma-separated list of
                               values.
    
    hostname:maintenance system setup ntp> set servers=0.pool.ntp.org
                           servers = 0.pool.ntp.org (uncommitted)
    hostname:maintenance system setup ntp> commit
    hostname:maintenance system setup ntp> done
    aksh: done with "ntp", advancing configuration to "directory" ...
  5. ネームサービスを構成します。

    詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の サービスの構成を参照してください。


    注 -  Active Directory にはドメインモードとワークグループモードの 2 つのモードがあり、それによって SMB ユーザーの認証方法が決まります。ドメインモードでは、SMB クライアントは Active Directory ドメインコントローラ経由で認証されるため、アプライアンスの時間とドメインコントローラの時間が 5 分以内のところまで同期されるようにする必要があります。

    NIS はあまりセキュアではない古いディレクトリプロトコルであるため、大部分が LDAP によって置き換えられます。NIS と LDAP は同じドメイン名の設定を使用しているため、NIS と LDAP を同時に実行することはお勧めしません。


    Configure Name Services. Configure directory services for users and groups. You
    can configure and enable each directory service independently, and you can
    configure more than one directory service.
    
    Subcommands that are valid in this context:
    
       nis                  => Configure NIS
    
       ldap                 => Configure LDAP
    
       ad                   => Configure Active Directory
    
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help" or "script".
    
       show                 => Show information pertinent to the current context
    
       abort                => Abort this task (potentially resulting in a
                               misconfigured system)
    
       done                 => Finish operating on "directory"
    
    hostname:maintenance system setup directory> nis
    hostname:maintenance system setup directory nis> show
    Properties:
                          <status> = online
                            domain = sun.com
                         broadcast = true
                         ypservers = 
    
    hostname:maintenance system setup directory nis> set domain=fishworks
                            domain = fishworks (uncommitted)
    hostname:maintenance system setup directory nis> commit
    hostname:maintenance system setup directory nis> done
    hostname:maintenance system setup directory> done
    aksh: done with "directory", advancing configuration to "support" ...
  6. ストレージプールを構成します。

    詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の ストレージの構成を参照してください。

    Configure Storage.
    
    Subcommands that are valid in this context:
    
        help [topic]         => Get context-sensitive help. If [topic] is specified,
                              it must be one of "builtins", "commands", "general",
                              "help", "script" or "properties".
    
        show                 => Show information pertinent to the current context
    
        commit               => Commit current state, including any changes
    
        done                 => Finish operating on "storage"
    
        config <pool>        => Configure the storage pool
    
        unconfig             => Unconfigure the storage pool
    
        add                  => Add additional storage to the storage pool
    
        import               => Search for existing or destroyed pools to import
    
        scrub <start|stop>   => Start or stop a scrub
    
        get [prop]           => Get value for property [prop]. ("help properties"
                              for valid properties.) If [prop] is not specified,
                              returns values for all properties.
    
        set pool=[pool]      => Change current pool
    
    hostname:maintenance system setup storage> show
    Properties:
                              pool = pool-0
                            status = online
                           profile = mirror
                       log_profile = -
                     cache_profile = -
    hostname:maintenance system setup storage> done
    aksh: done with "storage", advancing configuration to "support" ...
  7. リモートサポートを構成します。

    注 -  リモートサポートを今すぐ構成するか、別の時点で構成できます。Oracle サポートアカウントがない場合は、リモートサポートを構成せずに done と入力して、リモートサポートの構成をあとで実行します。あとでリモートサポートを構成するか、Oracle サポートアカウントを取得する方法の詳細については、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.6.x の フォンホーム構成を参照してください。
    Remote Support. Register your appliance and configure remote monitoring.
    
    Subcommands that are valid in this context:
    
       tags                 => Configure service tags
    
       scrk                 => Configure phone home
    
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help" or "script".
    
       show                 => Show information pertinent to the current context
    
       abort                => Abort this task (potentially resulting in a
                               misconfigured system)
    
       done                 => Finish operating on "support"
    
     hostname:maintenance system setup support> done
     aksh: initial configuration complete!

次のステップ

関連トピック