Go to main content
Oracle® ZFS Storage Appliance 설치 설명서

인쇄 보기 종료

업데이트 날짜: 2016년 12월
 
 

초기 구성 수행(CLI)

단계별 유틸리티인 이 절차에서는 CLI(명령줄 인터페이스)를 통해 어플라이언스에 대해 네트워크 인터페이스, DNS(도메인 이름 서비스), 시간 설정, 이름 서비스, 디렉토리 서비스, 스토리지, 원격 지원 등의 초기 구성을 완료할 수 있습니다.


주 -  클러스터형 컨트롤러를 설치 중인 경우 초기 구성 수행(BUI)에 설명되어 있는 대로 초기 구성에 BUI를 사용하는 것이 좋습니다.

각 단계는 해당 도움말을 표시하면서 시작되며 help를 입력하면 도움말을 다시 표시할 수 있습니다. 각 단계를 완료하려면 done 명령을 사용합니다. 예에서는 기존 설정이 선택되어 있으며(DHCP 서버에서 가져옴) done을 입력하면 수락됩니다. 설정을 사용자정의하려면 각 컨텍스트(datalinks, devicesinterfaces)를 입력하고 해당 컨텍스트에 대해 사용 가능한 작업을 확인하기 위해 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 관리 설명서, 릴리스 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. Untitled Interface(제목 없는 인터페이스)라는 레이블이 지정된 인터페이스에 대한 경로 지정을 구성합니다. cd ..를 입력하여 다음 단계에 해당하는 컨텍스트로 되돌아갑니다.

      자세한 내용은 Oracle ZFS Storage Appliance 관리 설명서, 릴리스 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를 입력하고 Untitled Interface(제목 없는 인터페이스)라는 레이블이 지정된 인터페이스를 선택한 다음 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에서 static(정적)으로 프로토콜을 변경하고, 관리 인터페이스임을 나타내는 새 레이블을 설정합니다. 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 관리 설명서, 릴리스 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(Network Time Protocol)를 구성하여 어플라이언스 시계를 동기화합니다.

    주 -  SMB 및 Active Directory를 사용하여 파일 시스템을 공유하는 경우 클라이언트 시계가 어플라이언스 시계와 5분 내로 동기화되어야 사용자 인증 오류가 발생하지 않습니다. 시계 동기화 확인을 위한 한 가지 방법은 동일한 NTP 서버를 사용하도록 어플라이언스와 SMB 클라이언트를 구성하는 것입니다.

    자세한 내용은 Oracle ZFS Storage Appliance 관리 설명서, 릴리스 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 관리 설명서, 릴리스 OS8.6.x 의 서비스 구성을 참조하십시오.


    주 -  Active Directory에는 도메인과 작업 그룹이라는 두 가지 모드가 있는데 이 모드는 SMB 사용자가 인증되는 방식을 결정합니다. 도메인 모드에서 SMB 클라이언트는 Active Directory 도메인 컨트롤러를 통해 인증되며 이 경우 어플라이언스와 도메인 컨트롤러의 시간은 5분 내에서 일치해야 합니다.

    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 관리 설명서, 릴리스 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. 원격 지원을 구성합니다.

    주 -  지금 원격 지원을 구성할 수도 있고 나중에 구성할 수도 있습니다. 오라클 고객지원센터 계정이 없는 경우 원격 지원을 구성하지 않고 done을 입력한 다음 나중에 완료하십시오. 나중에 원격 지원을 구성하는 방법 또는 오라클 고객지원센터 계정을 획득하는 방법은 Oracle ZFS Storage Appliance 관리 설명서, 릴리스 OS8.6.x 의 Phone Home 구성을 참조하십시오.
    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!

다음 단계

관련 항목