1. syslog보기
# errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
F3931284 0204110613 I H ent1 ETHERNET NETWORK RECOVERY MODE
EC0BCCD4 0204110613 T H ent1 ETHERNET DOWN
# errpt -aj F3931284 |pg <-- 자세히보기
# errclear 0 <-- 삭제하기
2. 시스템정보확인
# lsdev -Cc processor <-- 물리적인 프로세스갯수
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
# bindprocessor -q <-- 논리적인 프로세스갯수( 2cpu/4core)
The available processors are: 0 1 2 3
# prtconf |pg <-- 시스템 전체현황 요약
System Model: IBM,9110-51A
Machine Serial Number: 064631
Processor Type: PowerPC_POWER5
Number Of Processors: 2
Processor Clock Speed: 2097 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 1 intf1-Server
Memory Size: 3920 MB
Good Memory Size: 3920 MB
Platform Firmware level: SF240_298
Firmware Version: IBM,SF240_298
Console Login: enable
Auto Restart: true
Full Core: false
# lslpp -l |grep java <-- AP패키지정보
Java14.ext.javahelp 1.4.2.0 COMMITTED Java SDK 32-bit JavaHelp
Java14_64.ext.javahelp 1.4.2.0 COMMITTED Java SDK 64-bit JavaHelp
cluster.adt.es.java.demo.monitor
# oslevel -s <-- os정보
# refresh -s inetd <-- inetd 재기동
0513-095 The request for subsystem refresh was completed successfully.
3. 볼륨정보확인
# lsvg
rootvg
# lsvg -l rootvg <-- PV가 2개면 미러링
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 16 32 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 2 4 2 open/syncd /
hd2 jfs2 10 20 2 open/syncd /usr
hd9var jfs2 4 8 2 open/syncd /var
hd3 jfs2 4 8 2 open/syncd /tmp
hd1 jfs2 2 4 2 open/syncd /data1
hd10opt jfs2 2 4 2 open/syncd /opt
fwdump jfs2 1 2 2 open/syncd /var/adm/ras/platform
fslv00 jfs2 80 160 2 open/syncd /App
fslv01 jfs2 400 800 2 open/syncd /home
fslv02 jfs2 20 20 1 open/syncd /oracle
# lspv <-- PV정보
hdisk0 00cce25d027c51b7 rootvg
hdisk1 00cce25d02a0ed8c rootvg
hdisk2 00cce25d024fb6e1 None
hdisk3 00cce25d02b285d6 None
hdisk4 00cce25d02b286a2 None
hdisk5 00cce25db4569f0a datavg active
hdisk6 00cce25db456f951 datavg active
hdisk7 00cce25db4571980 datavg active
hdisk8 00cce25db4571e73 datavg active
hdisk9 00cce25db4572689 datavg active
hdisk10 00cce25de1f67e77 datavg active
# mpio_get_config -Av <-- 스토리지정보
Frame id 0:
Storage Subsystem worldwide name: 60ab800765aaa00004dbf344a
Controller count: 2
Partition count: 1
Partition 0:
Storage Subsystem Name = ''
hdisk LUN # Ownership User Label
hdisk5 0 A (preferred) test_dev_lun0
hdisk6 1 A (preferred) test_dev_lun1
hdisk7 2 A (preferred) test_dev_lun2
hdisk8 3 A (preferred) test_dev_lun3
hdisk9 4 A (preferred) test_dev_lun4
hdisk10 5 A (preferred) test_dev_lun5
# lscfg -vpl fcs0 <-- fc카드 정보확인
fcs0 U7879.001.DQD0AHZ-P1-C4-T1 FC Adapter
Part Number.................46K6838
Serial Number...............1B83304590
Manufacturer................001B
EC Level....................A
Customer Card ID Number.....280D
FRU Number.................. 46K6838
Device Specific.(ZM)........3
Network Address.............10000000C97E5BD5
ROS Level and ID............02C82774
Device Specific.(Z0)........1036406D
Device Specific.(Z1)........00000000
Device Specific.(Z2)........00000000
Device Specific.(Z3)........03000909
Device Specific.(Z4)........FFC01231
Device Specific.(Z5)........02C82774
Device Specific.(Z6)........06C32715
Device Specific.(Z7)........07C32774
Device Specific.(Z8)........20000000C97E5BD5
Device Specific.(Z9)........BS2.71X4
Device Specific.(ZA)........B1D2.70A5
Device Specific.(ZB)........B2D2.71X4
Device Specific.(ZC)........00000000
Hardware Location Code......U7879.001.DQD0AHZ-P1-C4-T1
PLATFORM SPECIFIC
Name: fibre-channel
Model: LP11000
Node: fibre-channel@1
Device Type: fcp
Physical Location: U7879.001.DQD0AHZ-P1-C4-T1
4. 네트웍정보확인 및 IP변경
# ifconfig -a <-- IP확인
en2: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 10.10.10.254 netmask 0xffffff00 broadcast 10.10.10.255
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
# netstat -nr <-- G/W확인
Routing tables
Destination Gateway Flags Refs Use If Exp Groups
Route Tree for Protocol Family 2 (Internet):
default 10.10.10.1 UG 2 11994 en2 - -
10.10.10.0 10.10.10.254 UHSb 0 0 en2 - - =>
10.10.10/24 10.10.10.254 U 1 7 en2 - -
10.10.10.190 127.0.0.1 UGHS 0 0 lo0 - -
10.10.10.255 10.10.10.254 UHSb 0 0 en2 - -
127/8 127.0.0.1 U 11 431 lo0 - -
Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 - -
# netstat -i <-- MAC주소확인
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en2 1500 link#2 0.9.6b.dd.21.72 5636641 0 13806 2 0
en2 1500 10.10.10 test1 5636641 0 13806 2 0
lo0 16896 link#1 431 0 1021 0 0
lo0 16896 127 loopback 431 0 1021 0 0
lo0 16896 ::1 431 0 1021 0 0
# lsdev -Ccadapter <-- 어뎁터형식 확인
ent0 Available 05-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 05-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Available EtherChannel / IEEE 802.3ad Link Aggregation <-- 채널링됨
fcs0 Available 08-08 FC Adapter
fcs1 Available 09-08 FC Adapter
ide0 Available 0C-08 ATA/IDE Controller Device
lai0 Available 07-00 GXT135P Graphics Adapter
sisscsia0 Available 03-08 PCI-X Ultra320 SCSI Adapter
sisscsia1 Available 0B-08 PCI-X Ultra320 SCSI Adapter
usbhc0 Available 04-08 USB Host Controller (33103500)
usbhc1 Available 04-09 USB Host Controller (33103500)
vsa0 Available LPAR Virtual Serial Adapter
# entstat -d ent2 <-- 랜카드 상세정보
-------------------------------------------------------------
ETHERNET STATISTICS (ent2) :
Device Type: EtherChannel
Hardware Address: 00:09:6b:dd:21:7e
Elapsed Time: 8 days 6 hours 13 minutes 30 seconds
Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 14133 Packets: 16664843
Bytes: 1315828 Bytes: 1171692888
Interrupts: 0 Interrupts: 13987487
Transmit Errors: 0 Receive Errors: 0
Packets Dropped: 0 Packets Dropped: 0
Bad Packets: 0
Max Packets on S/W Transmit Queue: 8
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 2
Broadcast Packets: 591 Broadcast Packets: 16662536
Multicast Packets: 0 Multicast Packets: 0
No Carrier Sense: 0 CRC Errors: 0
DMA Underrun: 0 DMA Overrun: 0
# smitty tcpip <-- IP변경시 사용
TCP/IP
Move cursor to desired item and press Enter.
Minimum Configuration & Startup <-- 선택
Further Configuration
Use DHCP for TCPIP Configuration & Startup
IPV6 Configuration
Quality of Service Configuration & Startup
Configure IP Security (IPv4)
Configure IP Security (IPv6)
+--------------------------------------------------------------------------+
| Available Network Interfaces |
| |
| Move cursor to desired item and press Enter. |
| |
| en0 05-08 Standard Ethernet Network Interface |
| en1 05-09 Standard Ethernet Network Interface |
| en2 Standard Ethernet Network Interface <-- 선택 |
| et0 05-08 IEEE 802.3 Ethernet Network Interface |
| et1 05-09 IEEE 802.3 Ethernet Network Interface |
| et2 IEEE 802.3 Ethernet Network Interface |
| |
| F1=Help F2=Refresh F3=Cancel |
| Esc+8=Image Esc+0=Exit Enter=Do |
F1=Help | /=Find n=Find Next |
Esc+9=Shell+--------------------------------------------------------------------------+
Minimum Configuration & Startup
To Delete existing configuration data, please use Further Configuration menus
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* HOSTNAME [test1]
* Internet ADDRESS (dotted decimal) [10.10.10.190] <-- 변경
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en2
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default Gateway
Address (dotted decimal or symbolic name) [10.10.10.1] <-- 변경
Cost [0] #
Do Active Dead Gateway Detection? no +
Your CABLE Type N/A +
START Now no <-- yes로 변경 +
# smitty chinet <-- IP변경값 적용안될시 여기서 수정
+--------------------------------------------------------------------------+
| Available Network Interfaces |
| |
| Move cursor to desired item and press Enter. |
| |
| en0 05-08 Standard Ethernet Network Interface |
| en1 05-09 Standard Ethernet Network Interface |
| en2 Standard Ethernet Network Interface <-- 선택 |
| et0 05-08 IEEE 802.3 Ethernet Network Interface |
| et1 05-09 IEEE 802.3 Ethernet Network Interface |
| et2 IEEE 802.3 Ethernet Network Interface |
| |
| F1=Help F2=Refresh F3=Cancel |
| Esc+8=Image Esc+0=Exit Enter=Do |
| /=Find n=Find Next |
+--------------------------------------------------------------------------+
Change / Show a Standard Ethernet Interface
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Network Interface Name en2
INTERNET ADDRESS (dotted decimal) [10.10.10.190] <-- 변경
Network MASK (hexadecimal or dotted decimal) [255.255.255.0]
Current STATE up +
Use Address Resolution Protocol (ARP)? yes +
BROADCAST ADDRESS (dotted decimal) []
Interface Specific Network Options
('NULL' will unset the option)
rfc1323 []
tcp_mssdflt []
tcp_nodelay []
tcp_recvspace []
tcp_sendspace []
Apply change to DATABASE only no +
# lsattr -El ent2 <-- 랜카드 설정값보기
adapter_names ent0 EtherChannel Adapters True
alt_addr 0x000000000000 Alternate EtherChannel Address True
auto_recovery yes Enable automatic recovery after failover True
backup_adapter ent1 Adapter used when whole channel fails True
hash_mode default Determines how outgoing adapter is chosen True
mode standard EtherChannel mode of operation True
netaddr 0 Address to ping True
noloss_failover yes Enable lossless failover after ping failure True
num_retries 3 Times to retry ping before failing True
retry_time 1 Wait time (in seconds) between pings True
use_alt_addr no Enable Alternate EtherChannel Address True
use_jumbo_frame no Enable Gigabit Ethernet Jumbo Frames True
5. 클러스터 정보확인
# lssrc -g cluster <-- 클러스터그룹 확인
Subsystem Group PID Status
clsmuxpdES cluster 524448 active
clstrmgrES cluster 462932 active
clinfoES cluster 475334 active
# smitty clstop <-- 클러스터 중지시
Stop Cluster Services
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Stop now, on system restart or both now +
Stop Cluster Services on these nodes [db1] +
BROADCAST cluster shutdown? true +
* Shutdown mode graceful +
# smitty clstart <-- 클러스터 시작시
Start Cluster Services
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Start now, on system restart or both now +
Start Cluster Services on these nodes [db1] +
BROADCAST message at startup? true +
Startup Cluster Information Daemon? true +
Reacquire resources after forced down ? false +
# lssrc -ls clstrmgrES <-- 클러스터 상세확인
Current state: ST_STABLE
i_local_nodeid 0, i_local_siteid -1, my_handle 1
ml_idx[1]=0 ml_idx[2]=1
There are 0 events on the Ibcast queue
There are 0 events on the RM Ibcast queue
CLversion: 7
sccsid = "@(#)36 1.142 src/43haes/usr/sbin/cluster/hacmprd/main.C,hacmp.pe,51haes_r520,0747A_hacmp520 8/1/07 13:37:"
local node vrmf is 5200
cluster fix level is "0"
The following timer(s) are currently active:
Current DNP values
DNP Values for NodeId - 1 NodeName - db1
PgSpFree = 2286848 PvPctBusy = 0 PctTotalTimeIdle = 97.210184
DNP Values for NodeId - 2 NodeName - db2
PgSpFree = 2352388 PvPctBusy = 0 PctTotalTimeIdle = 97.285360
# lslpp -l |grep cluster <-- 패치키정보
'재테크' 카테고리의 다른 글
크리스마스 캐롤과 캐롤의 역사에 대한 상식들 (0) | 2022.11.25 |
---|---|
넷앱(NET APP) 스토리지 명령어 (0) | 2022.11.18 |
외장하드 인식안될때 자가복구방법 (0) | 2022.11.15 |
윈도우10크랙 윈도우10 정품인증 윈도우10방화벽 윈도우10 (0) | 2022.11.14 |
전력저장장치(ESS) 관련주 총정리 (0) | 2022.11.13 |
댓글