Japan IBM Storage User Group

FlashSystem・Spectrum Virtualize・Storwize系の紛らわしいコマンド

By Keitaro Imai posted Sat June 13, 2020 11:24 AM

  
Spectrum Virtualizeには多くのコマンドが提供されていますが、この設定を確認するのには、どれを打てば良いんだっけ?
というような結構紛らわしいコマンドがいくつかありますので紹介します。


①システム全体の容量の使用率、ソフトウェアのバージョン、MM/GM/GMCVの1ペアあたりのバックグラウンド・コピーの速度(relationship_bandwidth_limit)、EasyTierのTier情報、レイヤー、圧縮ボリュームの有無、状況等の確認はlssytemです。
バックグラウンド・コピー速度や、レイヤーの変更はchsystemになります。

lssytem
IBM_Storwize:V7KG2_2:superuser>lssystem
id 000001002080040A
name V7KG2_2
location local
partnership
total_mdisk_capacity 33.8TB
space_in_mdisk_grps 33.8TB
space_allocated_to_vdisks 5.19TB
total_free_space 28.6TB
total_vdiskcopy_capacity 21.65TB
total_used_capacity 5.04TB
total_overallocation 64
total_vdisk_capacity 21.54TB
total_allocated_extent_capacity 5.24TB
statistics_status on
statistics_frequency 1
cluster_locale en_US
time_zone 255 Asia/Tokyo
code_level 7.8.1.1 (build 135.5.1706201148000)
console_IP 172.28.20.59:443
id_alias 000001002060040A
gm_link_tolerance 300
gm_inter_cluster_delay_simulation 0
gm_intra_cluster_delay_simulation 0
gm_max_host_delay 5
email_reply XX@abc.com
email_contact AAAA BBBB
email_contact_primary 000000000
email_contact_alternate
email_contact_location SANCoC
email_contact2
email_contact2_primary
email_contact2_alternate
email_state running
inventory_mail_interval 7
cluster_ntp_IP_address 172.28.20.104
cluster_isns_IP_address
iscsi_auth_method none
iscsi_chap_secret
auth_service_configured no
auth_service_enabled no
auth_service_url
auth_service_user_name
auth_service_pwd_set no
auth_service_cert_set no
auth_service_type tip
relationship_bandwidth_limit 1000
tier tier0_flash
tier_capacity 739.00GB
tier_free_capacity 179.00GB
tier tier1_flash
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier tier_enterprise
tier_capacity 11.75TB
tier_free_capacity 8.12TB
tier tier_nearline
tier_capacity 21.31TB
tier_free_capacity 20.26TB
easy_tier_acceleration off
has_nas_key no
layer replication
rc_buffer_size 48
compression_active yes
compression_virtual_capacity 2.26TB
compression_compressed_capacity 503.94GB
compression_uncompressed_capacity 649.54GB
cache_prefetch on
email_organization IBM_Japan
email_machine_address IBM_MK
email_machine_city Mihama
email_machine_state XX
email_machine_zip 2610026
email_machine_country JP
total_drive_raw_capacity 63.76TB
compression_destage_mode off
local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
high_temp_mode off
topology standard
topology_status
rc_auth_method none
vdisk_protection_time 15
vdisk_protection_enabled no
product_name IBM Storwize V7000
odx off
max_replication_delay 0
partnership_exclusion_threshold 315
gen1_compatibility_mode_enabled no
ibm_customer
ibm_component
ibm_country
tier0_flash_compressed_data_used 0.00MB
tier1_flash_compressed_data_used 0.00MB
tier_enterprise_compressed_data_used 549.85GB
tier_nearline_compressed_data_used 0.00MB


②ボリューム、ホストの定義数、コピーサービスやRAIDに割り当て済みのビットマップメモリー容量、IO Groupが圧縮をサポートするか、暗号化が有効か、NPIVが有効かなどの確認はlsiogrpです。
ビットマップ・サイズ、NPIVのモードの変更はchiogrpになります。

lsiogrp
IBM_Storwize:V7KG2_2:superuser>lsiogrp 0
id 0
name io_grp0
node_count 2
vdisk_count 140
host_count 34
flash_copy_total_memory 1024.0MB
flash_copy_free_memory 1023.5MB
remote_copy_total_memory 127.0MB
remote_copy_free_memory 126.5MB
mirroring_total_memory 20.0MB
mirroring_free_memory 19.9MB
raid_total_memory 40.0MB
raid_free_memory 24.9MB
maintenance no
compression_active yes
accessible_vdisk_count 138
compression_supported yes
max_enclosures 21
encryption_supported yes
flash_copy_maximum_memory 2048.0MB
site_id
site_name
fctargetportmode disabled
compression_total_memory 37817.9MB



③ノードキャニスターのWWNN、FCポートの速度、WWPN、iSCSI名接続情報、シリアル番号、サービスIPアドレス、ソフトウェアバージョンの確認等はlsnodecanisterです。

lsnodecanister
IBM_Storwize:V7KG2_2:superuser>lsnodecanister 11
id 11
name node1
UPS_serial_number
WWNN 500507680B0023A4
status online
IO_group_id 0
IO_group_name io_grp0
partner_node_id 2
partner_node_name node2
config_node yes
UPS_unique_id
port_id 500507680B2123A4
port_status active
port_speed 8Gb
port_id 500507680B2223A4
port_status active
port_speed 8Gb
port_id 500507680B2323A4
port_status active
port_speed 8Gb
port_id 500507680B2423A4
port_status inactive
port_speed N/A
hardware 500
iscsi_name iqn.1986-03.com.ibm:2145.v7kg22.node1
iscsi_alias
failover_active no
failover_name node2
failover_iscsi_name iqn.1986-03.com.ibm:2145.v7kg22.node2
failover_iscsi_alias
panel_name 02-1
enclosure_id 2
canister_id 1
enclosure_serial_number 78200VV
service_IP_address 192.168.81.59
service_gateway 0.0.0.0
service_subnet_mask 255.255.240.0
service_IP_address_6
service_gateway_6
service_prefix_6
service_IP_mode static
service_IP_mode_6
site_id
site_name
identify_LED off
product_mtm 2076-524
code_level 7.8.1.1 (build 135.5.1706201148000)
serial_number
machine_signature
IBM_Storwize:V7KG2_2:superuser>


④実際に積んでいるCPUの数、スペック、メモリーの容量、アダプターの数、速度等はlsnodecanisterhwです。

lsnodecanisterhw
IBM_Storwize:V7KG2_2:superuser>lsnodecanisterhw 11
id 11
name node1
status online
IO_group_id 0
IO_group_name io_grp0
hardware 500
actual_different no
actual_valid yes
memory_configured 64
memory_actual 64
memory_valid yes
cpu_count 1
cpu_socket 1
cpu_configured 8 core Intel(R) Xeon(R) CPU E5-2628L v2 @ 1.90GHz
cpu_actual 8 core Intel(R) Xeon(R) CPU E5-2628L v2 @ 1.90GHz
cpu_valid yes
adapter_count 6
adapter_location 0
adapter_configured 12Gb/s SAS adapter
adapter_actual 12Gb/s SAS adapter
adapter_valid yes
adapter_location 0
adapter_configured Midplane bus adapter
adapter_actual Midplane bus adapter
adapter_valid yes
adapter_location 0
adapter_configured Four port 1Gb/s Ethernet adapter
adapter_actual Four port 1Gb/s Ethernet adapter
adapter_valid yes
adapter_location 1
adapter_configured Compression accelerator with pass-through
adapter_actual Compression accelerator with pass-through
adapter_valid yes
adapter_location 2
adapter_configured Four port 8Gb/s FC adapter
adapter_actual Four port 8Gb/s FC adapter
adapter_valid yes
adapter_location 3
adapter_configured Four port 10Gb/s Ethernet adapter
adapter_actual Four port 10Gb/s Ethernet adapter
adapter_valid yes
ports_different no


⑤リモートミラーで接続する相手や、バックグラウンド・コピー速度の情報(relationship_bandwidth_limitlink_bandwidth_mbits)、圧縮転送の有無は、lspartnershipです。
変更は、chpartnershipです(relationship_bandwidth_limitはchsystemで実施)

lspartnership
IBM_Storwize:V7KG2_2:superuser>lspartnership 00000200A120687B
id 00000200A120687B
name V7G1_2
location remote
partnership fully_configured
code_level 7.6.1.7 (build 125.2.1702091228000)
console_IP 172.28.20.60:443
gm_link_tolerance 300
gm_inter_cluster_delay_simulation 0
gm_intra_cluster_delay_simulation 0
relationship_bandwidth_limit 1000
gm_max_host_delay 5
type fc
cluster_ip
chap_secret
event_log_sequence
link_bandwidth_mbits 1000
background_copy_rate 50
max_replication_delay 0
compressed no


実際の環境で必要なコマンドのアウトプットをまとめておくとイザというときにすぐ実行できるかと思います。

#flashsystem
#SpectrumVirtualize
#Storwize
#commands
0 comments
1 view

Permalink