-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest_warm-boot
More file actions
75 lines (51 loc) · 1.74 KB
/
test_warm-boot
File metadata and controls
75 lines (51 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Base line Test
1. Install 202411
2. Cold Reboot
3. Install 202505
4. Warm-reboot
5. Check syslog
Fix Test:
6. Modify the finalizer script - comment out system wide disable
Set next image as 202411
cold reboot
set next image as 202505
warm-reboot
6. Check for logs related to the finalizer changes in syslog
# str2-7050cx3-acs-12
# ssh admin@10.3.146.13
vms28-t0-7050-14 (str2-7050cx3-acs-14)
10.3.146.40
show ip int
sudo sonic_installer install -y http://10.201.148.43/pipelines/Networking-acs-buildimage-Official/broadcom/internal-202411/tagged/sonic-aboot-broadcom.swi
sudo reboot
show ip int
show int portchannel
sudo sonic_installer install -y http://10.201.148.43/pipelines/Networking-acs-buildimage-Official/broadcom/internal-202505/tagged/sonic-aboot-broadcom.swi
sudo sonic_installer list
sudo warm-reboot -vvv
show ip int
show int portchannel
vi /usr/local/bin/finalize-warmboot.sh
- check function finalize_fast_reboot()
####
show ip int
sudo sonic_installer install -y http://10.201.148.43/pipelines/Networking-acs-buildimage-Official/broadcom/internal-202411/tagged/sonic-aboot-broadcom.swi
show ip int
show int portchannel
sudo reboot
sudo sonic_installer install -y http://10.201.148.43/pipelines/Networking-acs-buildimage-Official/broadcom/internal-202505/tagged/sonic-aboot-broadcom.swi
sudo sonic_installer list
sudo warm-reboot -vvv
#check for logs
# edit vi /usr/local/bin/finalize-warmboot.sh
# - function finalize_fast_reboot()
sudo sonic_installer set-next-boot SONiC-OS-20241110.28
sudo reboot
#after reboot
sudo sonic_installer set-next-boot SONiC-OS-20250510.13
sudo sonic_installer list
show ip int
show int portchannel
sudo warm-reboot -vvv
# After reboot:
sonic-db-cli STATE_DB hget "WARM_RESTART_ENABLE_TABLE|system" enable