kailas.asm
山とシステム管理屋のメモサイト
開始行:
#contentsx
**LPAR [#lcab618f]
***LPAR割り当てリソース情報取得[#c80c50c5]
-プロセッサー
hscroot@hmc:~> lshwres -m Server01 -r proc --level lpar ...
lpar_name=lpar01,
lpar_id=1,
curr_proc_mode=ded,
curr_min_procs=1,
curr_procs=1,
curr_max_procs=2,
curr_sharing_mode=share_idle_procs,
pend_proc_mode=ded,
pend_min_procs=1,
pend_procs=1,
pend_max_procs=2,
pend_sharing_mode=share_idle_procs,
run_procs=1,
-メモリ
hscroot@hmc:~> lshwres -m Server01 -r mem --level lpar -...
lpar_name=lpar01,
lpar_id=1,
curr_min_mem=1536,
curr_mem=1776,
curr_max_mem=2048,
pend_min_mem=1536,
pend_mem=1776,
pend_max_mem=2048,
run_min_mem=1536,
run_mem=1776,
curr_min_num_huge_pages=0,
curr_num_huge_pages=0,
curr_max_num_huge_pages=0,
pend_min_num_huge_pages=0,
pend_num_huge_pages=0,
pend_max_num_huge_pages=0,
run_num_huge_pages=0
-I/Oスロット
hscroot@hmc:~> lshwres -m Server01 -r io --rsubtype slot...
unit_phys_loc=U789C.001.DQDJ428,
bus_id=519,
phys_loc=C3,
drc_index=21010207,
lpar_name=06-CEC72,
lpar_id=1,slot_io_pool_id=none,
description=イーサネット・コントローラー,
feature_codes=none,
pci_vendor_id=8086,
pci_device_id=105E,
pci_subs_vendor_id=1014,
pci_subs_device_id=0340,
pci_class=0200,
pci_revision_id=06,
bus_grouping=0,
iop=0,
parent_slot_drc_index=none,
drc_name=U789C.001.DQDJ428-P1-C3
***LPARリソースの追加・削除・移動 [#yf368a94]
リソースの操作はHMCから「chhwres」コマンドで操作できる。
|-r|リソースタイプ|proc,mem,io,virtualio|
|-m|対象管理サーバ|管理サーバ名|
|-o|オペレーション|a:追加, r:削除, m:移動|
|-p|対象パーティション|パーティション名(移動オペレーショ...
|-t|ターゲットパーティション|移動オペレーションにおいての...
|-w|タイムアウト|タイムアウト値(分)|
-専用プロセッサー
lpar01からlpas02へ1プロセッサを移動
hscroot@hmc:~> chhwres -r proc -m Server01 -o m -p lpar0...
-共用プロセッサー
--Processing Unitの増減例
0.1 processing unitsを追加
hscroot@hmc:~> chhwres -r proc -o a -p lpas01 -m Server0...
--仮想プロセッサの増減例
1 processorを削除
hscroot@hmc:~> chhwres -r proc -o r -p lpar01 -m Server0...
-メモリ
lpar01に128MBメモリを追加する場合。ほか、移動削除はプロセ...
chscroot@hmc:~> hhwres -r mem -m Server01 -o a -p lpar01...
-I/Oスロット
lpar01のテープドライブをlpar02へ移動させる。
+AIX上でデバイス切り離し
lpar01のAIX上にて
++切り離すデバイスの確認
# lsdev -Cl rmt0 -F parent
sas1
# lsdev -Cl sas1 -F parent
sissas1
# lsdev -Cl sissas1 -F parent
pci1
++AIXからデバイス切り離し実施
# rmdev -l pci1 -R
rmt0 定義済み
sasdrawer0 定義済み
ses3 定義済み
sas1 定義済み
cd0 定義済み
sata1 定義済み
sissas1 定義済み
pci1 定義済み
+HMCにてI/Oスロットの移動・削除
++H/Wロケーションコードの確認
hscroot@hmc:~> lshwres -r io -m Server01 --rsubtype slot...
T9,RAID Controller,21010200
T7,Universal Serial Bus UHC Spec,21010201
C1,POWER GXT145 PCI Express Graphics Accelerator,21010204
C2,Ethernet controller,21010205
C9,Empty slot,21010206
C3,Empty Slot,21010207
C4,Empty slot,21010202
C5,RAID Controller,21010203
++リソース移動実施
lpar01からlpar02へ移動させる場合(指定するロケーションコー...
hscroot@hmc:~> chhwres -r io -m Server01 --rsubtype slot...
+AIXでH/W認識
lpar02のAIX上にて
# cfgmgr
**AIX [#m37713e3]
*** LPARリソース[#cc98918e]
# lparstat -i
Node Name : lpar01
Partition Name : lpar01
Partition Number : 1
Type : Shared-SMT
Mode : Uncapped
Entitled Capacity : 0.80
Partition Group-ID : 32769
Shared Pool ID : 0
Online Virtual CPUs : 8
Maximum Virtual CPUs : 10
Minimum Virtual CPUs : 1
Online Memory : 1152 MB
Maximum Memory : 2048 MB
Minimum Memory : 128 MB
Variable Capacity Weight : 100
Minimum Capacity : 0.60
Maximum Capacity : 1.00
Capacity Increment : 0.01
Maximum Physical CPUs in system : 2
Active Physical CPUs in system : 2
Active CPUs in Pool : 2
Unallocated Capacity : 0.00
Physical CPU Percentage : 10.00%
Unallocated Weight : 0
# lparstat 1 4
System configuration: type=Shared mode=Uncapped smt=On l...
%user %sys %wait %idle physc %entc lbusy vcsw phint
----- ---- ----- ----- ----- ----- ------ ---- -----
0.1 0.4 0.0 99.5 0.01 0.8 0.1 724 0
0.0 0.3 0.0 99.7 0.01 0.6 0.1 726 0
0.0 0.3 0.0 99.7 0.01 0.6 0.0 730 0
0.0 0.3 0.0 99.7 0.01 0.6 0.0 510 0
# lparstat 1 4
System configuration: type=Shared mode=Uncapped smt=On l...
%user %sys %wait %idle physc %entc lbusy app vcsw...
----- ---- ----- ----- ----- ----- ------ --- ----...
0.1 0.4 0.0 99.5 0.01 0.8 0.0 1.00 571...
3.6 0.4 0.0 95.9 0.04 4.6 0.8 0.95 691...
0.0 0.3 0.0 99.7 0.01 0.6 0.1 0.99 712...
0.0 0.3 0.0 99.7 0.01 0.7 0.0 0.99 720...
***RMCサービスの操作 [#dea212f8]
DLAPRによるリソースの動的再配置はLPAR側においてもRMCサー...
-RMCデーモンの操作
--停止
# /usr/sbin/rsct/bin/rmctl -z
# lssrc -g rsct_rm
Subsystem Group PID Status
IBM.ERRM rsct_rm inoperat...
IBM.AuditRM rsct_rm inoperat...
IBM.CSMAgentRM rsct_rm inoperat...
IBM.ServiceRM rsct_rm inoperat...
IBM.HostRM rsct_rm inoperat...
IBM.DRM rsct_rm inoperat...
IBM.LPRM rsct_rm inoperat...
--起動
# /usr/sbin/rsct/bin/rmctl -A
--HMCへの接続
RMCサービスの再起動のみではHMCへの再接続が実施されない。...
# /usr/sbin/rsct/bin/rmctl -p
-リソースクラス情報の表示
lpar01は2台のHMCから管理されていることがわかる。
# lsrsrc IBM.ManagementServer
Resource Persistent Attributes for IBM.ManagementServer
resource 1:
Name = "192.168.1.3"
Hostname = "192.168.1.3"
ManagerType = "HMC"
LocalHostname = "192.168.1.81"
ClusterTM = "9078-160"
ClusterSNum = ""
ActivePeerDomain = ""
NodeNameList = {"lpar01"}
resource 2:
Name = "192.168.1.4"
Hostname = "192.168.1.4"
ManagerType = "HMC"
LocalHostname = "192.168.1.81"
ClusterTM = "9078-160"
ClusterSNum = ""
ActivePeerDomain = ""
NodeNameList = {"lpar01"}
-RMC構成の再初期化COLOR(crimson){(緊急時のみ)}
# /usr/sbin/rsct/install/bin/recfgct
0513-071 The ctcas Subsystem has been added.
0513-071 The ctrmc Subsystem has been added.
0513-059 The ctrmc Subsystem has been started. Subsystem...
-スナップショットの取得
スナップは/tmp/ctsuptに出力される
# /usr/sbin/rsctb/bin/ctsnap
Log directory set to /tmp/ctsupt
...........................................................
----
#counter
終了行:
#contentsx
**LPAR [#lcab618f]
***LPAR割り当てリソース情報取得[#c80c50c5]
-プロセッサー
hscroot@hmc:~> lshwres -m Server01 -r proc --level lpar ...
lpar_name=lpar01,
lpar_id=1,
curr_proc_mode=ded,
curr_min_procs=1,
curr_procs=1,
curr_max_procs=2,
curr_sharing_mode=share_idle_procs,
pend_proc_mode=ded,
pend_min_procs=1,
pend_procs=1,
pend_max_procs=2,
pend_sharing_mode=share_idle_procs,
run_procs=1,
-メモリ
hscroot@hmc:~> lshwres -m Server01 -r mem --level lpar -...
lpar_name=lpar01,
lpar_id=1,
curr_min_mem=1536,
curr_mem=1776,
curr_max_mem=2048,
pend_min_mem=1536,
pend_mem=1776,
pend_max_mem=2048,
run_min_mem=1536,
run_mem=1776,
curr_min_num_huge_pages=0,
curr_num_huge_pages=0,
curr_max_num_huge_pages=0,
pend_min_num_huge_pages=0,
pend_num_huge_pages=0,
pend_max_num_huge_pages=0,
run_num_huge_pages=0
-I/Oスロット
hscroot@hmc:~> lshwres -m Server01 -r io --rsubtype slot...
unit_phys_loc=U789C.001.DQDJ428,
bus_id=519,
phys_loc=C3,
drc_index=21010207,
lpar_name=06-CEC72,
lpar_id=1,slot_io_pool_id=none,
description=イーサネット・コントローラー,
feature_codes=none,
pci_vendor_id=8086,
pci_device_id=105E,
pci_subs_vendor_id=1014,
pci_subs_device_id=0340,
pci_class=0200,
pci_revision_id=06,
bus_grouping=0,
iop=0,
parent_slot_drc_index=none,
drc_name=U789C.001.DQDJ428-P1-C3
***LPARリソースの追加・削除・移動 [#yf368a94]
リソースの操作はHMCから「chhwres」コマンドで操作できる。
|-r|リソースタイプ|proc,mem,io,virtualio|
|-m|対象管理サーバ|管理サーバ名|
|-o|オペレーション|a:追加, r:削除, m:移動|
|-p|対象パーティション|パーティション名(移動オペレーショ...
|-t|ターゲットパーティション|移動オペレーションにおいての...
|-w|タイムアウト|タイムアウト値(分)|
-専用プロセッサー
lpar01からlpas02へ1プロセッサを移動
hscroot@hmc:~> chhwres -r proc -m Server01 -o m -p lpar0...
-共用プロセッサー
--Processing Unitの増減例
0.1 processing unitsを追加
hscroot@hmc:~> chhwres -r proc -o a -p lpas01 -m Server0...
--仮想プロセッサの増減例
1 processorを削除
hscroot@hmc:~> chhwres -r proc -o r -p lpar01 -m Server0...
-メモリ
lpar01に128MBメモリを追加する場合。ほか、移動削除はプロセ...
chscroot@hmc:~> hhwres -r mem -m Server01 -o a -p lpar01...
-I/Oスロット
lpar01のテープドライブをlpar02へ移動させる。
+AIX上でデバイス切り離し
lpar01のAIX上にて
++切り離すデバイスの確認
# lsdev -Cl rmt0 -F parent
sas1
# lsdev -Cl sas1 -F parent
sissas1
# lsdev -Cl sissas1 -F parent
pci1
++AIXからデバイス切り離し実施
# rmdev -l pci1 -R
rmt0 定義済み
sasdrawer0 定義済み
ses3 定義済み
sas1 定義済み
cd0 定義済み
sata1 定義済み
sissas1 定義済み
pci1 定義済み
+HMCにてI/Oスロットの移動・削除
++H/Wロケーションコードの確認
hscroot@hmc:~> lshwres -r io -m Server01 --rsubtype slot...
T9,RAID Controller,21010200
T7,Universal Serial Bus UHC Spec,21010201
C1,POWER GXT145 PCI Express Graphics Accelerator,21010204
C2,Ethernet controller,21010205
C9,Empty slot,21010206
C3,Empty Slot,21010207
C4,Empty slot,21010202
C5,RAID Controller,21010203
++リソース移動実施
lpar01からlpar02へ移動させる場合(指定するロケーションコー...
hscroot@hmc:~> chhwres -r io -m Server01 --rsubtype slot...
+AIXでH/W認識
lpar02のAIX上にて
# cfgmgr
**AIX [#m37713e3]
*** LPARリソース[#cc98918e]
# lparstat -i
Node Name : lpar01
Partition Name : lpar01
Partition Number : 1
Type : Shared-SMT
Mode : Uncapped
Entitled Capacity : 0.80
Partition Group-ID : 32769
Shared Pool ID : 0
Online Virtual CPUs : 8
Maximum Virtual CPUs : 10
Minimum Virtual CPUs : 1
Online Memory : 1152 MB
Maximum Memory : 2048 MB
Minimum Memory : 128 MB
Variable Capacity Weight : 100
Minimum Capacity : 0.60
Maximum Capacity : 1.00
Capacity Increment : 0.01
Maximum Physical CPUs in system : 2
Active Physical CPUs in system : 2
Active CPUs in Pool : 2
Unallocated Capacity : 0.00
Physical CPU Percentage : 10.00%
Unallocated Weight : 0
# lparstat 1 4
System configuration: type=Shared mode=Uncapped smt=On l...
%user %sys %wait %idle physc %entc lbusy vcsw phint
----- ---- ----- ----- ----- ----- ------ ---- -----
0.1 0.4 0.0 99.5 0.01 0.8 0.1 724 0
0.0 0.3 0.0 99.7 0.01 0.6 0.1 726 0
0.0 0.3 0.0 99.7 0.01 0.6 0.0 730 0
0.0 0.3 0.0 99.7 0.01 0.6 0.0 510 0
# lparstat 1 4
System configuration: type=Shared mode=Uncapped smt=On l...
%user %sys %wait %idle physc %entc lbusy app vcsw...
----- ---- ----- ----- ----- ----- ------ --- ----...
0.1 0.4 0.0 99.5 0.01 0.8 0.0 1.00 571...
3.6 0.4 0.0 95.9 0.04 4.6 0.8 0.95 691...
0.0 0.3 0.0 99.7 0.01 0.6 0.1 0.99 712...
0.0 0.3 0.0 99.7 0.01 0.7 0.0 0.99 720...
***RMCサービスの操作 [#dea212f8]
DLAPRによるリソースの動的再配置はLPAR側においてもRMCサー...
-RMCデーモンの操作
--停止
# /usr/sbin/rsct/bin/rmctl -z
# lssrc -g rsct_rm
Subsystem Group PID Status
IBM.ERRM rsct_rm inoperat...
IBM.AuditRM rsct_rm inoperat...
IBM.CSMAgentRM rsct_rm inoperat...
IBM.ServiceRM rsct_rm inoperat...
IBM.HostRM rsct_rm inoperat...
IBM.DRM rsct_rm inoperat...
IBM.LPRM rsct_rm inoperat...
--起動
# /usr/sbin/rsct/bin/rmctl -A
--HMCへの接続
RMCサービスの再起動のみではHMCへの再接続が実施されない。...
# /usr/sbin/rsct/bin/rmctl -p
-リソースクラス情報の表示
lpar01は2台のHMCから管理されていることがわかる。
# lsrsrc IBM.ManagementServer
Resource Persistent Attributes for IBM.ManagementServer
resource 1:
Name = "192.168.1.3"
Hostname = "192.168.1.3"
ManagerType = "HMC"
LocalHostname = "192.168.1.81"
ClusterTM = "9078-160"
ClusterSNum = ""
ActivePeerDomain = ""
NodeNameList = {"lpar01"}
resource 2:
Name = "192.168.1.4"
Hostname = "192.168.1.4"
ManagerType = "HMC"
LocalHostname = "192.168.1.81"
ClusterTM = "9078-160"
ClusterSNum = ""
ActivePeerDomain = ""
NodeNameList = {"lpar01"}
-RMC構成の再初期化COLOR(crimson){(緊急時のみ)}
# /usr/sbin/rsct/install/bin/recfgct
0513-071 The ctcas Subsystem has been added.
0513-071 The ctrmc Subsystem has been added.
0513-059 The ctrmc Subsystem has been started. Subsystem...
-スナップショットの取得
スナップは/tmp/ctsuptに出力される
# /usr/sbin/rsctb/bin/ctsnap
Log directory set to /tmp/ctsupt
...........................................................
----
#counter
ページ名: