Oracle® Solaris Cluster 시스템 관리 설명서

인쇄 보기 종료

업데이트 날짜: 2015년 10월
 
 

클러스터 구성을 보는 방법

phys-schost# 프롬프트는 전역 클러스터 프롬프트를 반영합니다. 전역 클러스터에서 이 절차를 수행합니다.

이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다.

Oracle Solaris Cluster Manager GUI를 통해서도 클러스터 구성을 확인할 수 있습니다. GUI 로그인 지침은 Oracle Solaris Cluster Manager에 액세스하는 방법을 참조하십시오.

시작하기 전에

root 역할이 아닌 사용자로 status 하위 명령을 사용하려면 solaris.cluster.read RBAC 권한 부여가 필요합니다.

  • 전역 클러스터 또는 영역 클러스터의 구성을 봅니다.
    % cluster show

    전역 클러스터의 한 노드에서 이 절차의 모든 단계를 수행합니다.

    전역 클러스터 노드에서 cluster show 명령을 실행하면 클러스터에 대한 세부 구성 정보 및 영역 클러스터를 구성한 경우 해당 클러스터에 대한 정보가 표시됩니다.

    clzonecluster show 명령을 사용하여 영역 클러스터에 대한 구성 정보만 볼 수도 있습니다. 영역 클러스터의 등록 정보에는 영역 클러스터 이름, IP 유형, 자동 부트 및 영역 경로가 포함됩니다. show 하위 명령은 영역 클러스터 내에서 실행되며 특정 영역 클러스터에만 적용됩니다. 영역 클러스터 노드에서 clzonecluster show 명령을 실행하면 특정 영역 클러스터에 표시되는 객체에 대한 상태만 검색됩니다.

    cluster 명령에 대한 추가 정보를 표시하려면 세부 정보 표시 옵션을 사용합니다. 자세한 내용은 cluster(1CL) 매뉴얼 페이지를 참조하십시오. clzonecluster에 대한 자세한 내용은 clzonecluster(1CL) 매뉴얼 페이지를 참조하십시오.

예 1-5  전역 클러스터 구성 보기

다음 예에서는 전역 클러스터에 대한 구성 정보를 나열합니다. 영역 클러스터가 구성되어 있으면 해당 정보도 나열됩니다.

phys-schost# cluster show
=== Cluster ===

Cluster Name:                                   cluster-1
clusterid:                                       0x4DA2C888
installmode:                                     disabled
heartbeat_timeout:                               10000
heartbeat_quantum:                               1000
private_netaddr:                                 172.11.0.0
private_netmask:                                 255.255.248.0
max_nodes:                                       64
max_privatenets:                                 10
num_zoneclusters:                                12
udp_session_timeout:                             480
concentrate_load:                                False
global_fencing:                                  prefer3
Node List:                                       phys-schost-1
Node Zones:                                      phys_schost-2:za

=== Host Access Control ===

Cluster name:                                 clustser-1
Allowed hosts:                                 phys-schost-1, phys-schost-2:za
Authentication Protocol:                       sys

=== Cluster Nodes ===

Node Name:                                    phys-schost-1
Node ID:                                       1
Enabled:                                       yes
privatehostname:                               clusternode1-priv
reboot_on_path_failure:                        disabled
globalzoneshares:                              3
defaultpsetmin:                                1
quorum_vote:                                   1
quorum_defaultvote:                            1
quorum_resv_key:                               0x43CB1E1800000001
Transport Adapter List:                        net1, net3

--- Transport Adapters for phys-schost-1 ---

Transport Adapter:                          net1
Adapter State:                               Enabled
Adapter Transport Type:                      dlpi
Adapter Property(device_name):               net
Adapter Property(device_instance):           1
Adapter Property(lazy_free):                 1
Adapter Property(dlpi_heartbeat_timeout):    10000
Adapter Property(dlpi_heartbeat_quantum):    1000
Adapter Property(nw_bandwidth):              80
Adapter Property(bandwidth):                 10
Adapter Property(ip_address):                172.16.1.1
Adapter Property(netmask):                   255.255.255.128
Adapter Port Names:                          0
Adapter Port State(0):                       Enabled

Transport Adapter:                          net3
Adapter State:                               Enabled
Adapter Transport Type:                      dlpi
Adapter Property(device_name):               net
Adapter Property(device_instance):           3
Adapter Property(lazy_free):                 0
Adapter Property(dlpi_heartbeat_timeout):    10000
Adapter Property(dlpi_heartbeat_quantum):    1000
Adapter Property(nw_bandwidth):              80
Adapter Property(bandwidth):                 10
Adapter Property(ip_address):                172.16.0.129
Adapter Property(netmask):                   255.255.255.128
Adapter Port Names:                          0
Adapter Port State(0):                       Enabled

--- SNMP MIB Configuration on phys-schost-1 ---

SNMP MIB Name:                              Event
State:                                       Disabled
Protocol:                                    SNMPv2

--- SNMP Host Configuration on phys-schost-1 ---

--- SNMP User Configuration on phys-schost-1 ---

SNMP User Name:                             foo
Authentication Protocol:                     MD5
Default User:                                No

Node Name:                                    phys-schost-2:za
Node ID:                                       2
Type:                                          cluster
Enabled:                                       yes
privatehostname:                               clusternode2-priv
reboot_on_path_failure:                        disabled
globalzoneshares:                              1
defaultpsetmin:                                2
quorum_vote:                                   1
quorum_defaultvote:                            1
quorum_resv_key:                               0x43CB1E1800000002
Transport Adapter List:                        e1000g1, nge1

--- Transport Adapters for phys-schost-2 ---

Transport Adapter:                          e1000g1
Adapter State:                               Enabled
Adapter Transport Type:                      dlpi
Adapter Property(device_name):               e1000g
Adapter Property(device_instance):           2
Adapter Property(lazy_free):                 0
Adapter Property(dlpi_heartbeat_timeout):    10000
Adapter Property(dlpi_heartbeat_quantum):    1000
Adapter Property(nw_bandwidth):              80
Adapter Property(bandwidth):                 10
Adapter Property(ip_address):                172.16.0.130
Adapter Property(netmask):                   255.255.255.128
Adapter Port Names:                          0
Adapter Port State(0):                       Enabled

Transport Adapter:                          nge1
Adapter State:                               Enabled
Adapter Transport Type:                      dlpi
Adapter Property(device_name):               nge
Adapter Property(device_instance):           3
Adapter Property(lazy_free):                 1
Adapter Property(dlpi_heartbeat_timeout):    10000
Adapter Property(dlpi_heartbeat_quantum):    1000
Adapter Property(nw_bandwidth):              80
Adapter Property(bandwidth):                 10
Adapter Property(ip_address):                172.16.1.2
Adapter Property(netmask):                   255.255.255.128
Adapter Port Names:                          0
Adapter Port State(0):                       Enabled

--- SNMP MIB Configuration on phys-schost-2 ---

SNMP MIB Name:                              Event
State:                                       Disabled
Protocol:                                    SNMPv2

--- SNMP Host Configuration on phys-schost-2 ---

--- SNMP User Configuration on phys-schost-2 ---

=== Transport Cables ===

Transport Cable:                              phys-schost-1:e1000g1,switch2@1
Cable Endpoint1:                               phys-schost-1:e1000g1
Cable Endpoint2:                               switch2@1
Cable State:                                   Enabled

Transport Cable:                              phys-schost-1:nge1,switch1@1
Cable Endpoint1:                               phys-schost-1:nge1
Cable Endpoint2:                               switch1@1
Cable State:                                   Enabled

Transport Cable:                              phys-schost-2:nge1,switch1@2
Cable Endpoint1:                               phys-schost-2:nge1
Cable Endpoint2:                               switch1@2
Cable State:                                   Enabled

Transport Cable:                              phys-schost-2:e1000g1,switch2@2
Cable Endpoint1:                               phys-schost-2:e1000g1
Cable Endpoint2:                               switch2@2
Cable State:                                   Enabled

=== Transport Switches ===

Transport Switch:                             switch2
Switch State:                                  Enabled
Switch Type:                                   switch
Switch Port Names:                             1 2
Switch Port State(1):                          Enabled
Switch Port State(2):                          Enabled

Transport Switch:                             switch1
Switch State:                                  Enabled
Switch Type:                                   switch
Switch Port Names:                             1 2
Switch Port State(1):                          Enabled
Switch Port State(2):                          Enabled


=== Quorum Devices ===

Quorum Device Name:                           d3
Enabled:                                       yes
Votes:                                         1
Global Name:                                   /dev/did/rdsk/d3s2
Type:                                          shared_disk
Access Mode:                                   scsi3
Hosts (enabled):                               phys-schost-1, phys-schost-2

Quorum Device Name:                           qs1
Enabled:                                       yes
Votes:                                         1
Global Name:                                   qs1
Type:                                          quorum_server
Hosts (enabled):                               phys-schost-1, phys-schost-2
Quorum Server Host:                            10.11.114.83
Port:                                          9000


=== Device Groups ===

Device Group Name:                            testdg3
Type:                                          SVM
failback:                                      no
Node List:                                     phys-schost-1, phys-schost-2
preferenced:                                   yes
numsecondaries:                                1
diskset name:                                  testdg3

=== Registered Resource Types ===

Resource Type:                                SUNW.LogicalHostname:2
RT_description:                                Logical Hostname Resource Type
RT_version:                                    4
API_version:                                   2
RT_basedir:                                    /usr/cluster/lib/rgm/rt/hafoip
Single_instance:                               False
Proxy:                                         False
Init_nodes:                                    All potential masters
Installed_nodes:                               <All>
Failover:                                      True
Pkglist:                                       <NULL>
RT_system:                                     True
Global_zone:                                   True

Resource Type:                                SUNW.SharedAddress:2
RT_description:                                HA Shared Address Resource Type
RT_version:                                    2
API_version:                                   2
RT_basedir:                                    /usr/cluster/lib/rgm/rt/hascip
Single_instance:                               False
Proxy:                                         False
Init_nodes:                                    <Unknown>
Installed_nodes:                               <All>
Failover:                                      True
Pkglist:                                       <NULL>
RT_system:                                     True
Global_zone:                                   True
Resource Type:                                SUNW.HAStoragePlus:4
RT_description:                                HA Storage Plus
RT_version:                                    4
API_version:                                   2
RT_basedir:                                    /usr/cluster/lib/rgm/rt/hastorageplus
Single_instance:                               False
Proxy:                                         False
Init_nodes:                                    All potential masters
Installed_nodes:                               <All>
Failover:                                      False
Pkglist:                                       <NULL>
RT_system:                                     True
Global_zone:                                   True
Resource Type:                                SUNW.haderby
RT_description:                                haderby server for Oracle Solaris Cluster
RT_version:                                    1
API_version:                                   7
RT_basedir:                                    /usr/cluster/lib/rgm/rt/haderby
Single_instance:                               False
Proxy:                                         False
Init_nodes:                                    All potential masters
Installed_nodes:                               <All>
Failover:                                      False
Pkglist:                                       <NULL>
RT_system:                                     True
Global_zone:                                   True
Resource Type:                                SUNW.sctelemetry
RT_description:                                sctelemetry service for Oracle Solaris Cluster
RT_version:                                    1
API_version:                                   7
RT_basedir:                                    /usr/cluster/lib/rgm/rt/sctelemetry
Single_instance:                               True
Proxy:                                         False
Init_nodes:                                    All potential masters
Installed_nodes:                               <All>
Failover:                                      False
Pkglist:                                       <NULL>
RT_system:                                     True
Global_zone:                                   True
=== Resource Groups and Resources ===

Resource Group:                               HA_RG
RG_description:                                <Null>
RG_mode:                                       Failover
RG_state:                                      Managed
Failback:                                      False
Nodelist:                                      phys-schost-1 phys-schost-2

--- Resources for Group HA_RG ---

Resource:                                   HA_R
Type:                                        SUNW.HAStoragePlus:4
Type_version:                                4
Group:                                       HA_RG
R_description:
Resource_project_name:                       SCSLM_HA_RG
Enabled{phys-schost-1}:                      True
Enabled{phys-schost-2}:                      True
Monitored{phys-schost-1}:                    True
Monitored{phys-schost-2}:                    True

Resource Group:                               cl-db-rg
RG_description:                                <Null>
RG_mode:                                       Failover
RG_state:                                      Managed
Failback:                                      False
Nodelist:                                      phys-schost-1 phys-schost-2

--- Resources for Group cl-db-rg ---

Resource:                                   cl-db-rs
Type:                                        SUNW.haderby
Type_version:                                1
Group:                                       cl-db-rg
R_description:
Resource_project_name:                       default
Enabled{phys-schost-1}:                      True
Enabled{phys-schost-2}:                      True
Monitored{phys-schost-1}:                    True
Monitored{phys-schost-2}:                    True

Resource Group:                               cl-tlmtry-rg
RG_description:                                <Null>
RG_mode:                                       Scalable
RG_state:                                      Managed
Failback:                                      False
Nodelist:                                      phys-schost-1 phys-schost-2

--- Resources for Group cl-tlmtry-rg ---

Resource:                                   cl-tlmtry-rs
Type:                                        SUNW.sctelemetry
Type_version:                                1
Group:                                       cl-tlmtry-rg
R_description:
Resource_project_name:                       default
Enabled{phys-schost-1}:                      True
Enabled{phys-schost-2}:                      True
Monitored{phys-schost-1}:                    True
Monitored{phys-schost-2}:                    True

=== DID Device Instances ===

DID Device Name:                              /dev/did/rdsk/d1
Full Device Path:                              phys-schost-1:/dev/rdsk/c0t2d0
Replication:                                   none
default_fencing:                               global

DID Device Name:                              /dev/did/rdsk/d2
Full Device Path:                              phys-schost-1:/dev/rdsk/c1t0d0
Replication:                                   none
default_fencing:                               global

DID Device Name:                              /dev/did/rdsk/d3
Full Device Path:                              phys-schost-2:/dev/rdsk/c2t1d0
Full Device Path:                              phys-schost-1:/dev/rdsk/c2t1d0
Replication:                                   none
default_fencing:                               global

DID Device Name:                              /dev/did/rdsk/d4
Full Device Path:                              phys-schost-2:/dev/rdsk/c2t2d0
Full Device Path:                              phys-schost-1:/dev/rdsk/c2t2d0
Replication:                                   none
default_fencing:                               global

DID Device Name:                              /dev/did/rdsk/d5
Full Device Path:                              phys-schost-2:/dev/rdsk/c0t2d0
Replication:                                   none
default_fencing:                               global

DID Device Name:                              /dev/did/rdsk/d6
Full Device Path:                              phys-schost-2:/dev/rdsk/c1t0d0
Replication:                                   none
default_fencing:                               global

=== NAS Devices ===

Nas Device:                                   nas_filer1
Type:                                          sun_uss
nodeIPs{phys-schost-2}:                        10.134.112.112
nodeIPs{phys-schost-1                          10.134.112.113
User ID:                                       root
예 1-6  영역 클러스터 구성 보기

다음 예에서는 RAC가 포함된 영역 클러스터 구성의 등록 정보를 나열합니다.

% clzonecluster show
=== Zone Clusters ===

Zone Cluster Name:                              sczone
zonename:                                        sczone
zonepath:                                        /zones/sczone
autoboot:                                        TRUE
ip-type:                                         shared
enable_priv_net:                                 TRUE

--- Solaris Resources for sczone ---

Resource Name:                                net
address:                                       172.16.0.1
physical:                                      auto

Resource Name:                                net
address:                                       172.16.0.2
physical:                                      auto


Resource Name:                                 fs
dir:                                            /local/ufs-1
special:                                        /dev/md/ds1/dsk/d0
raw:                                            /dev/md/ds1/rdsk/d0
type:                                           ufs
options:                                        [logging]

Resource Name:                                 fs
dir:                                            /gz/db_qfs/CrsHome
special:                                        CrsHome
raw:
type:                                           samfs
options:                                        []

Resource Name:                                 fs
dir:                                            /gz/db_qfs/CrsData
special:                                        CrsData
raw:
type:                                           samfs
options:                                        [] 

Resource Name:                                 fs
dir:                                            /gz/db_qfs/OraHome
special:                                        OraHome
raw:
type:                                           samfs 
options:                                        []

Resource Name:                                 fs 
dir:                                            /gz/db_qfs/OraData
special:                                        OraData
raw:
type:                                           samfs 
options:                                        []  

--- Zone Cluster Nodes for sczone ---

Node Name:                                    sczone-1
physical-host:                                 sczone-1
hostname:                                      lzzone-1

Node Name:                                    sczone-2
physical-host:                                 sczone-2
hostname:                                      lzzone-2

clnasdevice show 하위 명령 또는 Oracle Solaris Cluster Manager를 사용하여 전역 또는 영역 클러스터에 대해 구성된 NAS 장치를 볼 수도 있습니다. 자세한 내용은 clnasdevice(1CL) 매뉴얼 페이지를 참조하십시오.