2022年12月6日火曜日

CISCO stack 再起動

$ssh col301
COL301> enable
COL301# show switch

Switch# Role Mac Address Priority Version State
------------------------------------------------------------
*1 Active 0042.5a70.3d00 15 V07 Ready
  2 Standby 0038.df83.d080 10 V07 Ready

Stanby機から再起動

COL301# reload slot 2
Proceed with reload?[confirm]

Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready               
 2       Standby  00a7.4280.a800     10     V07     Sync not started    


COL301# show switch
Switch# Role Mac Address Priority Version State
------------------------------------------------------------ 
*1 Active 0042.5a70.3d00 15 V07 Ready
 2 Standby 0038.df83.d080 10 V07 Removed


Switch# Role Mac Address Priority Version State
------------------------------------------------------------ 
*1 Active 0042.5a70.3d00 15 V07 Ready
  2 Standby 0038.df83.d080 10 V07 Initializing


Switch# Role Mac Address Priority Version State
------------------------------------------------------------ 
*1 Active 0042.5a70.3d00 15 V07 Ready
  2 Standby 0038.df83.d080 10 V07 Syncing


Switch# Role Mac Address Priority Version State
------------------------------------------------------------ 
*1 Active 0042.5a70.3d00 15 V07 Ready
  2 Standby 0038.df83.d080 10 V07 Ready


Switch# Role Mac Address Priority Version State
------------------------------------------------------------
*1 Active 0042.5a70.3d00 15 V07 Ready
  2 Standby 0038.df83.d080 10 V07 HA sync in progress

Switch# Role Mac Address Priority Version State
------------------------------------------------------------ 
*1 Active 0042.5a70.3d00 15 V07 Ready
  2 Standby 0038.df83.d080 10 V07 Ready

COL301# show logging
Nov 25 22:02:00.258: %HA_CONFIG_SYNC-6-BULK_CFGSYNC_SUCCEED: Bulk Sync succeeded
Nov 25 22:01:59.517: %SPANTREE-6-PORTDEL_ALL_VLANS: GigabitEthernet1/0/23 deleted from all Vlans (COL301-2)
Nov 25 22:01:59.518: %SPANTREE-6-PORTDEL_ALL_VLANS: GigabitEthernet2/0/23 deleted from all Vlans (COL301-2) 
Nov 25 22:02:01.244: %RF-5-RF_TERMINAL_STATE: 1 ha_mgr: Terminal state reached for (SSO)


上記確認後にActive機再起動

COL301# reload slot 1                               # 1号機再起動

COL301# show switch

COL301# show processes cpu switch 1

Load for five secs: 0%/100%; one minute: 3%; five minutes: 2% Time source is NTP, 16:02:58.456 JST Tue Dec 6 2022 
Core 0: CPU utilization for five seconds: 7%; one minute: 8%; five minutes: 8% 
Core 1: CPU utilization for five seconds: 0%; one minute: 0%; five minutes: 0% 
Core 2: CPU utilization for five seconds: 2%; one minute: 1%; five minutes: 1% 
Core 3: CPU utilization for five seconds: 0%; one minute: 1%; five minutes: 1%

COL301# show processes cpu switch 2
Load for five secs: 3%/0%; one minute: 3%; five minutes: 2% Time source is NTP, 16:03:16.293 JST Tue Dec 6 2022
Core 0: CPU utilization for five seconds: 9%; one minute: 6%; five minutes: 7% 
Core 1: CPU utilization for five seconds: 0%; one minute: 0%; five minutes: 0% 
Core 2: CPU utilization for five seconds: 1%; one minute: 1%; five minutes: 1% 
Core 3: CPU utilization for five seconds: 0%; one minute: 2%; five minutes: 1%


90%を超えるCPUがない事。
COL301# show processes cpu detailed process fed sort | ex 0.0
Core 0: CPU utilization for five seconds: 20%; one minute: 25%; five minutes: 26%
Core 1: CPU utilization for five seconds: 9%; one minute: 19%; five minutes: 35% 
Core 2: CPU utilization for five seconds: 98%; one minute: 83%; five minutes: 43% 
Core 3: CPU utilization for five seconds: 8%; one minute: 24%; five minutes: 47%
PID T C TID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process (%) (%) (%)
5715 L 854223 1999768 345 27.96 27.48 27.54 0 fed <<<< 
5715 L 2 17632 1034530 1534348 0 24.53 24.15 24.10 0 PunjectRx <<<<


# show ip interface brief
# show ru
# copy running-config startup-config



# CRL301を再起動した時のログ

CRL301#show switch
Load for five secs: 3%/0%; one minute: 3%; five minutes: 3%
Time source is NTP, 14:56:47.679 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Standby  00a7.4280.a800     10     V07     Ready

CRL301# reload slot 2
Proceed with reload? [confirm]
CRL301#show switch
Load for five secs: 2%/0%; one minute: 3%; five minutes: 3%
Time source is NTP, 14:57:38.739 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Standby  00a7.4280.a800     10     V07     Ready

CRL301#show switch
Load for five secs: 2%/0%; one minute: 3%; five minutes: 3%
Time source is NTP, 14:57:40.783 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Standby  00a7.4280.a800     10     V07     Sync not started

CRL301#show switch
Load for five secs: 7%/0%; one minute: 4%; five minutes: 3%
Time source is NTP, 14:57:46.154 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Member   0000.0000.0000     0      0       Removed

CRL301#show switch
Load for five secs: 5%/1%; one minute: 3%; five minutes: 3%
Time source is NTP, 15:01:55.270 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Member   00a7.4280.a800     10     V07     Syncing

CRL301#show switch
Load for five secs: 1%/0%; one minute: 3%; five minutes: 3%
Time source is NTP, 15:02:35.511 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Member   00a7.4280.a800     10     V07     Ready

CRL301#show switch
Load for five secs: 5%/0%; one minute: 3%; five minutes: 3%
Time source is NTP, 15:04:11.033 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Standby  00a7.4280.a800     10     V07     HA sync in progress

CRL301#show switch
Load for five secs: 3%/0%; one minute: 6%; five minutes: 4%
Time source is NTP, 15:05:42.707 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   0042.5a7e.8880     15     V07     Ready
 2       Standby  00a7.4280.a800     10     V07     Ready

CRL301#show logging
Load for five secs: 6%/0%; one minute: 5%; five minutes: 4%
Time source is NTP, 15:06:17.472 JST Wed Dec 7 2022

Syslog logging: enabled (0 messages dropped, 12 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
.
.
.
System has been configured (CRL301-2)
Dec  7 15:05:31.330: %SYS-5-RESTART: System restarted -- (CRL301-2)
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.07.04E RELEASE SOFTWARE (fc1) (CRL301-2)
Technical Support: http://www.cisco.com/techsupport (CRL301-2)
Copyright (c) 1986-2016 by Cisco Systems, Inc. (CRL301-2)
Compiled Thu 19-May-16 11:48 by prod_rel_team (CRL301-2)
Dec  7 15:05:31.338: %AUTHMGR_SPI-6-START: Auth Manager SPI server started (CRL301-2)
Dec  7 15:05:31.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down (CRL301-2)
Dec  7 15:05:31.456: %SSH-5-ENABLED: SSH 2.0 has been enabled (CRL301-2)
Dec  7 15:05:37.410: %HA_CONFIG_SYNC-6-BULK_CFGSYNC_SUCCEED: Bulk Sync succeeded
Dec  7 15:05:36.635: %SPANTREE-6-PORTDEL_ALL_VLANS: GigabitEthernet1/0/23 deleted from all Vlans  (CRL301-2)
Dec  7 15:05:36.640: %SPANTREE-6-PORTDEL_ALL_VLANS: GigabitEthernet2/0/23 deleted from all Vlans  (CRL301-2)
Dec  7 15:05:38.396: %RF-5-RF_TERMINAL_STATE: 1 ha_mgr:  Terminal state reached for (SSO)


CRL301#reload slot 1

System configuration has been modified. Save? [yes/no]: yes
Building configuration...
Compressed configuration from 6940 bytes to 3197 bytes[OK]
Proceed with reload? [confirm]
CRL301#Write failed: Broken pipe

# ssh -l nwadmin 192.168.25.21
Password:
CRL301>enable
Password:
CRL301#show switch
Load for five secs: 4%/0%; one minute: 5%; five minutes: 3%
Time source is NTP, 15:15:49.507 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Foreign Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
 1       Member   0000.0000.0000     0      0       Removed             
*2       Active   00a7.4280.a800     10     V07     Ready               

CRL301#show switch
Load for five secs: 4%/0%; one minute: 6%; five minutes: 4%
Time source is NTP, 15:19:01.750 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
 1       Member   0042.5a7e.8880     15     V07     Syncing             
*2       Active   00a7.4280.a800     10     V07     Ready               

CRL301#show switch
Load for five secs: 26%/22%; one minute: 8%; five minutes: 5%
Time source is NTP, 15:20:10.911 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
 1       Member   0042.5a7e.8880     15     V07     Ready               
*2       Active   00a7.4280.a800     10     V07     Ready               

CRL301#show switch
Load for five secs: 3%/0%; one minute: 5%; five minutes: 5%
Time source is NTP, 15:20:58.372 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
 1       Standby  0042.5a7e.8880     15     V07     HA sync in progress 
*2       Active   00a7.4280.a800     10     V07     Ready               

CRL301#show switch
Load for five secs: 7%/0%; one minute: 8%; five minutes: 6%
Time source is NTP, 15:22:38.445 JST Wed Dec 7 2022

Switch/Stack Mac Address : 0042.5a7e.8880 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
 1       Standby  0042.5a7e.8880     15     V07     Ready               
*2       Active   00a7.4280.a800     10     V07     Ready               

CRL301#show logging
Load for five secs: 3%/0%; one minute: 8%; five minutes: 6%
Time source is NTP, 15:22:46.589 JST Wed Dec 7 2022

Syslog logging: enabled (0 messages dropped, 5 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
.
.
.
.
System has been configured (CRL301-1)
Dec  7 15:22:23.059: %SYS-5-RESTART: System restarted -- (CRL301-1)
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.07.04E RELEASE SOFTWARE (fc1) (CRL301-1)
Technical Support: http://www.cisco.com/techsupport (CRL301-1)
Copyright (c) 1986-2016 by Cisco Systems, Inc. (CRL301-1)
Compiled Thu 19-May-16 11:48 by prod_rel_team (CRL301-1)
Dec  7 15:22:23.067: %AUTHMGR_SPI-6-START: Auth Manager SPI server started (CRL301-1)
Dec  7 15:22:23.072: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down (CRL301-1)
Dec  7 15:22:23.187: %SSH-5-ENABLED: SSH 2.0 has been enabled (CRL301-1)
Dec  7 15:22:29.923: %HA_CONFIG_SYNC-6-BULK_CFGSYNC_SUCCEED: Bulk Sync succeeded
Dec  7 15:22:29.149: %SPANTREE-6-PORTDEL_ALL_VLANS: GigabitEthernet1/0/23 deleted from all Vlans  (CRL301-1)
Dec  7 15:22:29.150: %SPANTREE-6-PORTDEL_ALL_VLANS: GigabitEthernet2/0/23 deleted from all Vlans  (CRL301-1)
Dec  7 15:22:30.910: %RF-5-RF_TERMINAL_STATE: 2 ha_mgr:  Terminal state reached for (SSO)

RL301# show processes cpu switch 1 detailed process fed sort | ex 0.0
Load for five secs: 4%/1%; one minute: 12%; five minutes: 13%
Time source is NTP, 15:37:47.396 JST Wed Dec 7 2022
Core 0: CPU utilization for five seconds: 7%; one minute: 5%; five minutes: 8%
Core 1: CPU utilization for five seconds: 0%; one minute: 0%; five minutes: 3%
Core 2: CPU utilization for five seconds: 0%; one minute: 0%; five minutes: 3%
Core 3: CPU utilization for five seconds: 1%; one minute: 0%; five minutes: 3%
PID    T C  TID    Runtime(ms) Invoked uSecs  5Sec      1Min     5Min     TTY   Process
                                               (%)       (%)      (%)                  
6268   L           44670       304375  146    0.54      0.50    0.59    1088  fed                
6268   L 2  6716   1710        19019   0      0.25      0.20    0.19    0     fed-ots-main       

CRL301# show processes cpu switch 2 detailed process fed sort | ex 0.0
Load for five secs: 3%/0%; one minute: 11%; five minutes: 13%
Time source is NTP, 15:37:56.144 JST Wed Dec 7 2022
Core 0: CPU utilization for five seconds: 9%; one minute: 6%; five minutes: 6%
Core 1: CPU utilization for five seconds: 0%; one minute: 1%; five minutes: 1%
Core 2: CPU utilization for five seconds: 9%; one minute: 2%; five minutes: 1%
Core 3: CPU utilization for five seconds: 0%; one minute: 0%; five minutes: 1%
PID    T C  TID    Runtime(ms) Invoked uSecs  5Sec      1Min     5Min     TTY   Process
                                               (%)       (%)      (%)                  
6269   L           63600       484607  131    0.78      0.64    0.58    1088  fed                
6269   L 0  6720   17210       3515    0      0.24      0.24    0.24    0     fed-ots-nfl        
6269   L 3  6717   2140        31602   0      0.15      0.16    0.15    1088  fed-ots-main       

CRL301#


0 件のコメント:

コメントを投稿

zabbix7 amazon linux2023 インストール postgres15

【postgres】 dnf -y install postgresql15-server postgresql15-server-devel postgresql-setup initdb passwd postgres vi `find / -name pg_hba.con...