NCCについて

技術的な情報発信を目的としておらず、うちの若い子たちに説明するネタをメモとして書きためてます。

# NCCとは
NCCとはNutanix Cluster Checkの略称と思われNutanixのヘルスチェックをするツール？です。
Prism ElementやCVMからCLIで実行することができます。

Prism Elementからだとこんな感じで実行します。

# 実行するとこんな感じ
![ncc.png](https://qiita-image-store.s3.amazonaws.com/0/195654/553a4875-cd42-e601-c9bd-f872e5420f7e.png)

CVMからはncc health_checks run_allを実行します。以下のように171項目くらいのチェックをしてくれます。
(CVMやAHVホスト、IPMIのIPアドレスやらシリアルナンバーやらを含んでいますので、それらは神経質に排除しています。残ってたらこっそり教えてください。しれっと消しますので、、、)

```bash
nutanix@NTNX--A-CVM::~$ ncc health_checks run_all
ncc_version: 3.1.2-84909c57
cluster id: 
cluster name: (clusterName)
node with service vm id 6
    service vm external ip: 
    hypervisor address list: [u'']
    hypervisor version: 
    ipmi address list: [u'']
    software version: 
    software changeset ID: 
    node serial: 
    rackable unit: 
node with service vm id 7
    service vm external ip: 
    hypervisor address list: [u'']
    hypervisor version: 
    ipmi address list: [u'']
    software version: 
    software changeset ID: 
    node serial: 
    rackable unit: 
node with service vm id 8
    service vm external ip:
    hypervisor address list: [u'']
    hypervisor version: 
    ipmi address list: [u']
    software version: 
    software changeset ID: 
    node serial: 
    rackable unit: 
node with service vm id 9
    service vm external ip:
    hypervisor address list: [u'']
    hypervisor version: 
    ipmi address list: [u'']
    software version: 
    software changeset ID: 
    node serial: 
    rackable unit: 

Running : health_checks run_all

[==================================================] 100%
/health_checks/hardware_checks/disk_checks/boot_raid_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/sar_checks/ssd_latency_threshold_check                  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/lsi_firmware_rev_check      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/bmc_bios_version_check                    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/sas_connectivity_status_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_same_ncc_version_check                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/remote_site_checks/remote_site_config_chec
k                                                                      [ FAIL ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/metadata_mounted_check      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/vstore_pd_file_co
unt_check                                                              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/same_hypervisor_version_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/all_flash_nodes_intermixed_check          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_services_status                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/fileserver_checks/fileserver_cvm_checks/file_server_status_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cluster_version_check                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/cassandra_log_crash_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cpu_aes_check                             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/metro_vstore_syml
inks_check                                                             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/email_alerts_check                        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/kernel_memory_usage_check                 [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/stargate_checks/garbage_egroups_size_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/incomplete_disk_removal_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/storage_container_replication_factor_check[ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/host_nic_error_check                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/sufficient_disk_space_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/protection_domain
_file_conflict_check                                                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/host_pingable_check                      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/sspm1633_status_check       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/toshiba_pm3_status_check    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/cloud_checks/aws_instance_type_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/internal_consiste
ncy_group_check                                                        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/check_ntp                                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/cloud_checks/cloud_remote_check  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/storage_pool_space_usage_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/sm863_status_check          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/cloud_checks/aws_instance_check  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/remote_site_checks/remote_site_has_virtual
_ip_check                                                              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/stargate_checks/unresponsive_stargate_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/host_cvm_subnets_check                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/inode_usage_check           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/check_vhdx_disks
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/sp_usage_check                            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/m10_gpu_check                             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/metro_availability_checks/metro_automatic_checkpoint_snapshot_che
ck                                                                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/stargate_checks/dedup_auto_disabled_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/vstore_cg_file_co
unt_check                                                              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/disk_storage_pool_check     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/m2_intel3520_ssd_status_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/content_cache_dedup_ref_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cluster_services_status                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_same_timezone_check                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/cassandra_status_check                 [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/cvm_virtual_hardware_version_check    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/host_disk_usage_check       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/mellanox_nic_driver_version_check        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/ring_balance_check                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/cloud_checks/cloud_remote_version_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/host_swap_rate                        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/fru_fields_correctness_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/sata_dom_wearout_check      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/storage_container_space_usage_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/duplicate_cvm_ip_check                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_connectivity                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/vdisk_count_check                         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/vm_swap_rate                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/snapshot_chain_height_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/hwclock_check                         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/vstore_max_num_of
_vms_supported_check                                                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/10gbe_check                              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/fileserver_checks/fileserver_cvm_checks/file_server_protect_statu
s_check                                                                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_memory_usage_check                    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/metro_availability_checks/backup_snapshots_on_metro_secondary_che
ck                                                                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/nodetool_consistency_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/metro_availability_checks/secondary_metro_pd_in_sync_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/ipmi_checks/ipmi_sensor_threshold_check [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/remote_site_checks/remote_site_connectivit
y_check                                                                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/host_cpu_contention                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/snapshot_space_check                      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/stargate_checks/ondisk_dedup_enabled_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/cvm_memory_reservation_check          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/zkinfo_check_plugin                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/dimm_interop_check                        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/ldap_config_check                         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/pds_share_vms_che
ck                                                                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/remote_support_status_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/gpu_driver_installed_check            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/m60_gpu_check                             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/nic_link_down_check                      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/intel_ssd_configuration_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/protected_vms_on_
nutanix_storage_check                                                  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/fileserver_checks/fileserver_cvm_checks/file_server_remote_site_s
tatus_check                                                            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/backup_schedule_c
heck                                                                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/fio_ecc_errors_check        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/fileserver_checks/fileserver_cvm_checks/multiple_fsvm_on_single_n
ode_check                                                              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/factory_config_validation_check           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/toshiba_pm4_status_check    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/pd_clones_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/disk_id_duplicate_check     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/deleted_file_fd_check       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/degraded_node_check                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/remote_site_checks/remote_site_has_correct
_cluster_info_check                                                    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/zeus_config_ip_address_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/uvm_ide_disk_check                    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/storage_container
_mount_check                                                           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/quad_nic_driver_version_check            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/ssd_firmware_version_check  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/host_rx_packets_drop                  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/vm_checks                             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/metro_availability_checks/unsupported_vm_config_check   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_reboot_check                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/unreserved_available_space_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/recovery_point_av
ailability_check                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cvm_memory_check                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/alert_manager_service_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/metro_availability_checks/data_locality_check           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/snapshot_file_loc
ation_check                                                            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/cassandra_log_memory_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/curator_scan_time_elapsed_check           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/mellanox_nic_status_check                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/zkalias_check_plugin                      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/nvme_status_check           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/remote_site_checks/remote_site_time_sync_c
heck                                                                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/ngt_ca_setup_check                        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/host_connectivity                         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/cluster_services_down_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/cloud_checks/check_cloud_gflags  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/m2_micron5100_ssd_status_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/check_vm_pinning_config                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/linked_clones_on_dedup_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/disk_online_check           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/hostname_resolution_check                 [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/unsupported_vm_co
nfig_vstore_check                                                      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/chassis_cpus_type_check                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/rsyslog_connectivity_check                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/vg_space_usage_check        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/check_erasure_code_config                 [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/http_proxy_check                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/remote_stargate_v
ersion_check                                                           [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/sata_controller_check       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/gflags_diff_check                         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/duplicate_vm_name
s_check                                                                [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/cassandra_keyspace_cf_check            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/fileserver_checks/fileserver_cvm_checks/file_server_upgrade_task_
stuck_check                                                            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/cross_hypervisor_
ngt_installed_check                                                    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/cassandra_checks/cassandra_similar_token_check          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/stargate_checks/oplog_episode_count_check               [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/file_permission_check                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/fileserver_checks/fileserver_cvm_checks/multiple_file_server_vers
ions_check                                                             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/disk_usage_check            [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/sar_checks/hdd_latency_threshold_check                  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/data_protection_checks/protection_domain_checks/aged_third_party_
backup_snapshot_check                                                  [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/sata_dom_status_check       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/inter_cvm_connections_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/inter_cvm_ping_latency_check             [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/sar_checks/sar_stats_threshold_check                    [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/virtual_ip_check                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/pm863a_status_check         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/vm_io_latency_check                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/intel_ecc_errors_check      [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/auto_support_check                        [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/rpo_validation_on_storage_heavy_cluster   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/ipmi_checks/ipmi_sel_correctable_ecc_errors_check
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/aegis_page_check                          [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/network_checks/cvm_time_drift_check                     [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/dns_server_check                          [ INFO ]
-------------------------------------------------------------------------------+
/health_checks/stargate_checks/compression_disabled_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hypervisor_checks/orphan_vm_snapshot_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/m10_m60_gpu_mixed_check                   [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/disk_checks/disk_smartctl_check         [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/system_checks/check_virtual_ip_is_in_cluster_external_subnet
                                                                       [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/ipmi_checks/ipmi_sel_check              [ PASS ]
-------------------------------------------------------------------------------+
/health_checks/hardware_checks/ipmi_checks/ipmi_check                  [ PASS ]
-------------------------------------------------------------------------------+
Detailed information for remote_site_config_check:
Node :
FAIL: Remote site: (RemoteSite Name)
Number of vstores mapped for the local site on the remote site are not same.
Refer to KB 3335 (http://portal.nutanix.com/kb/3335) for details on remote_site_config_check or Recheck with: ncc health_checks data_protection_checks remote_site_checks remote_site_config_check
Detailed information for dns_server_check:
Node :
INFO: Only one name server is configured

Node :
INFO: Only one name server is configured

Node :
INFO: Only one name server is configured

Node :
INFO: Only one name server is configured

Refer to KB 3005 (http://portal.nutanix.com/kb/3005) for details on dns_server_check or Recheck with: ncc health_checks system_checks dns_server_check --cvm_list=,,,
+---------------+
| State | Count |
+---------------+
| Pass  | 169   |
| Info  | 1     |
| Fail  | 1     |
| Total | 171   |
+---------------+
Plugin output written to /home/nutanix/data/logs/ncc-output-latest.log
nutanix@NTNX--A-CVM::~$
```

ここではInfoで「DNSサーバのIPアドレスが1つしか設定されていないよ！」ということと、Failで「レプリケーションの設定がおかしいよ！」と教えてくれてますね。

# 古いNCCを使ってた時に困ったこと
先日、NutanixのAOSを5.0.xから5.1.3にバージョンアップしたのですが、AOS 5.1.3にはNCC3.1.2がバンドルされおり、NCCもバージョンアップされ、抱えていた運用課題を一つ解決することができました。
どのような課題かというと、「CVMが使っていない」ネットワークポートがリンクダウンしても検知されなかったのです。
うちの環境ではデフォルトで作成されているbr0のほか、br1を作成し仮想マシンはbr1を使うようにしているのですが、例えばbr1に属しているNICのLANケーブルが抜けたとしてもNutanix側からは検知できず、スイッチの管理をしているネットワークチームからの連絡や、両方落ちてしまった時に仮想マシンに対して実施している死活監視にひっかかりはじめて、ポートが落ちたことを知ることができます。これを知った時、「うわ、マジかよ」と思った記憶があります。
特にネットワークの分離を考えている方は。NCCはできる限り新しいものを使った方がいいかもしれない。それより変に分離を考えるよりはbr0で完結させるほうがいいと思う。その方がシンプルだし。うちはネットワーク構成上、仕方なくやってるだけだし。。。