Guide d'installation des systèmes Oracle® ZFS Storage Appliance

Quitter la vue de l'impression

Mis à jour : Février 2016
 
 

Configuration initiale (CLI)

Suivez cette procédure pour effectuer la configuration initiale des interfaces réseau, du DNS (Domain Name Server, serveur de noms de domaines), des paramètres d'heure, des services d'annuaire et du stockage sur l'appareil à l'aide de l'interface de ligne de commande (CLI).


Remarque -  Si vous installez des contrôleurs en cluster, vous devez utiliser la BUI pour la configuration initiale, comme décrit à la section How to Perform Initial Configuration (BUI).

Chaque étape débute par l'affichage de l'aide correspondante, qui peut être affichée à nouveau en saisissant help. Exécutez la commande done après chacune des étapes pour indiquer qu'elle est terminée. Dans les exemples, les paramètres existants (obtenus depuis le serveur DHCP) sont contrôlés et acceptés en saisissant done. Si vous souhaitez les personnaliser, accédez à chaque contexte (liaisons de données, périphériques et interfaces) et saisissez help pour afficher les actions disponibles dans le contexte concerné.

Avant de commencer

Assurez-vous d'avoir configuré l'interface réseau principale comme décrit dans la section How to Configure the Primary Network Interface. Dans la procédure suivante, vous allez utiliser le mot de passe que vous avez créé.

Dans cette procédure, on suppose que vous venez de terminer la configuration de l'interface réseau principale et que vous utilisez le même client d'administration pour accéder à la CLI.

  1. Connectez-vous avec le mot de passe administratif que vous avez créé dans le cadre de la procédure How to Configure the Primary Network Interface.
    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. Configurez les interfaces réseau de l'appareil.
    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
  3. Configurez le DNS (Domaine Name Service, service de noms de domaine).
    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 = 192.168.1.4
    
    hostname:maintenance system setup dns> set domain=sf.fishworks.com
                            domain = sf.fishworks.com (uncommitted)
    hostname:maintenance system setup dns> set servers=192.168.1.5
                           servers = 192.168.1.5 (uncommitted)
    hostname:maintenance system setup dns> commit
    hostname:maintenance system setup dns> done
    aksh: done with "dns", advancing configuration to "ntp" ...
  4. Configurez le protocole NTP (Network Time Protocol) pour synchroniser l'horloge de l'appareil.
    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. Configurez les services de noms.
    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. Configurez des pools de stockage caractérisés par leur redondance de données sous-jacente et prévoyez de l'espace partagé par tous les systèmes de fichiers et LUN.
    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. Configurez le support à distance.
    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!

Rubriques connexes