注册
登录
会员
搜索
标签
统计
帮助
杜松之家
»
路由器产品及JUNOS讨论专区
» TX2 升级
搜索
‹‹ 上一主题
|
下一主题 ››
12
1
2
››
发新话题
发布投票
发布商品
发布悬赏
发布活动
发布辩论
发布视频
打印
[原创文章] TX2 升级
mao_ipv6
中级会员
精华: 0
积分:
263
帖子:
25
威望:
116 点
金钱:
18 币
贡献:
67 点
经验:
02级
阅读权限:
30
注册:
2007-12-26
状态:
发短消息
加为好友
1
#
大
中
小
发表于 2008-1-3 11:14
只看该作者
TX2 升级
1
、保存现有的
配置
文件,并上传到
FTP
服务器上。
{master}[edit]
root@XX-MAN.RE0# save /var/tmp/config-old-20071127
Wrote 421 lines of configuration to '/var/tmp/config-old-20071127'
{master}[edit]
root@XX-MAN.RE0#run file copy /var/tmp/config-old-20071127
ftp://username:password@IP-address/config-old-20071127
Transferring ftp://username:password@IP-address/config-old-20071127 (5554 bytes): 100%
5554 bytes transferred in 0.0 seconds (4.71 MBps)
{master}[edit]
2
、
FTP
上载
8.3R3.4
软件到主
RE
上。文件名类似
"jinstall-8.3R3.4-export-signed.tgz"
:
root@XX-MAN.RE0#run file copy ftp://username:password@IP-address/jinstall-8.3R3.4-export-signed.tgz
/var/tmp/jinstall-8.3R3.4-export-signed.tgz
从主
RE
拷贝软件到备份
RE
,假定
RE1
是备份
RE
:
root@XX-MAN.RE0# run file copy /var/tmp/jinstall-8.3R3.4-export-signed.tgz
re1:/var/tmp/jinstall-8.3R3.4-export-signed.tgz
确认软件已经拷贝到了设备
/var
文件系统下:
root@XX-MAN.RE0# run file list /var/tmp
/var/tmp:
.pccardd
install/
jbundle-8.3R1.5-export.tgz*
jinstall-8.3R3.4-export-signed.tgz
sampled.pkts
vi.recover/
root@XX-MAN.RE0# run show file list re1:/var/tmp
re1:
--------------------------------------------------------------------------
/var/tmp:
.pccardd
install/
jbundle-8.3R1.5-export.tgz*
jinstall-8.3R3.4-export-signed.tgz
vi.recover/
3
、
对于双
RE
的系统将先升级备份
RE
。在升级备份
RE
后将切换
RE
使得原先的备份
RE
成为主
RE
。只有在确认了这个新的主
RE
一切正常后才会升级原先的主
RE(
即现在的备份
RE)
。这样即使出现问题仍可以退回到原先工件正常的主
RE
上。
首先登陆到系统备用引擎上(这里为
RE1
)
{master}
root@XX-MAN.RE0> request routing-engine login other-routing-engine
4
、
升级备用引擎的操作系统,升级过程中的
debug
信息如下:
{backup}
root@XX-MAN.RE1>request system software add /var/tmp/jinstall-8.3R3.4-export-signed.tgz
cp: /var/tmp/jinstall-8.3R3.4-export-signed.tgz and /var/tmp/jinstall-8.3R3.4-export-signed.tgz are identical (not copied).
Pushing bundle to lcc0-re1
Pushing bundle to lcc1-re1
Validating on lcc0-re1
Checking compatibility with configuration
Initializing...
Using jbase-8.3R1.5
Verified manifest signed by PackageProduction_8_3_0
Using /var/tmp/jinstall-8.3R3.4-export-signed.tgz
Verified jinstall-8.3R3.4-export.tgz signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jinstall-signed/jinstall-8.3R3.4-export.tgz
Using /mfs/validate/tmp/jinstall/jbundle-8.3R3.4-export.tgz
Checking jbundle requirements on /
Using /mfs/validate/tmp/jbundle/jbase-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jkernel-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jpfe-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M10-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M120-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M160-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M320-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M40-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M7i-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-T-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-X960-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-common-8.3R3.4.tgz
Using /mfs/validate/tmp/jbundle/jdocs-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jroute-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Hardware Database regeneration succeeded
Validating against /config/
juniper
.conf.gz
Interface control process: [edit interfaces fxp0 unit 0 family inet]
Interface control process:
'address 192.168.0.1/24'
Interface control process:
warning: [edit system backup-router] not present. The default route for fxp0 is not installed.
Interface control process:
Interface control process: [edit groups lcc0-re1 interfaces fxp0 unit 0 family inet]
Interface control process:
'address 192.168.0.6/24'
Interface control process:
warning: [edit system backup-router] not present. The default route for fxp0 is not installed.
Interface control process:
mgd: commit complete
Validation succeeded
… … … …
… … … …
… … … …
{backup}
root@XX-MAN.RE1>
5
、
确认升级没有出现异常信息,然后重起这个备用引擎完成升级
{backup}
root@XX-MAN.RE1> request system reboot
Reboot the system ? [yes,no] (no) yes
Rebooting lcc0-re1
Rebooting lcc1-re1
*** FINAL System shutdown message from
root@XX-MAN.RE1
***
System going down IMMEDIATELY
Shutdown NOW!
Reboot consistency check bypassed - jinstall 8.3R3.4 will complete installation upon reboot
[pid 9569]
6
、
重起引擎后重新登陆到
RE1
上,察看系统的软件信息,确认备用引擎已经升级到了预期的版本
{backup}
root@XX-MAN.RE1> show version
scc-re1:
--------------------------------------------------------------------------
Hostname: XX-MAN.RE1
Model: TX Matrix
JUNOS Base OS boot [8.3R3.4]
JUNOS Base OS Software Suite [8.3R3.4]
JUNOS Kernel Software Suite [8.3R3.4]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.3R3.4]
JUNOS Packet Forwarding Engine Support (T-Series) [8.3R3.4]
JUNOS Online Documentation [8.3R3.4]
JUNOS Routing Software Suite [8.3R3.4]
lcc0-re1:
--------------------------------------------------------------------------
Hostname: LCC-0-GD-SZ-XNT-MAN.RE1
Model: t640
JUNOS Base OS boot [8.3R3.4]
JUNOS Base OS Software Suite [8.3R3.4]
JUNOS Kernel Software Suite [8.3R3.4]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.3R3.4]
JUNOS Packet Forwarding Engine Support (T-Series) [8.3R3.4]
JUNOS Online Documentation [8.3R3.4]
JUNOS Routing Software Suite [8.3R3.4]
lcc1-re1:
--------------------------------------------------------------------------
Hostname: LCC-1-GD-SZ-XNT-MAN.RE1
Model: t640
JUNOS Base OS boot [8.3R3.4]
JUNOS Base OS Software Suite [8.3R3.4]
JUNOS Kernel Software Suite [8.3R3.4]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.3R3.4]
JUNOS Packet Forwarding Engine Support (T-Series) [8.3R3.4]
JUNOS Online Documentation [8.3R3.4]
JUNOS Routing Software Suite [8.3R3.4]
7
、
切换系统到
RE1
,使
RE1
为主用引擎,原来的主用
RE0
将变成备用引擎
{master}
root@XX-MAN.RE0>request chassis routing-engine master switch all-chassis
warning: Traffic will be interrupted while the PFE is re-initialized
Toggle mastership between routing engines ? [yes,no] (no) yes
lcc0-re0:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
Resolving mastership...
Complete. The other routing engine becomes the master.
lcc1-re0:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
Resolving mastership...
Complete. The other routing engine becomes the master.
scc-re0:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
scc-re0:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
Resolving mastership...
Complete. The other routing engine becomes the master.
{backup}
root@XX-MAN.RE0>
8
、
按照升级
RE1
的步骤升级
RE0
(原来的主用引擎)
{backup}
root@XX-MAN.RE0> request system software add /var/tmp/jinstall-8.3R3.4-export-signed.tgz
cp: /var/tmp/jinstall-8.3R3.4-export-signed.tgz and /var/tmp/jinstall-8.3R3.4-export-signed.tgz are identical (not copied).
Pushing bundle to lcc0-re0
Pushing bundle to lcc1-re0
Validating on lcc0-re0
Checking compatibility with configuration
Initializing...
Using jbase-8.3R1.5
Verified manifest signed by PackageProduction_8_3_0
Using /var/tmp/jinstall-8.3R3.4-export-signed.tgz
Verified jinstall-8.3R3.4-export.tgz signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jinstall-signed/jinstall-8.3R3.4-export.tgz
Using /mfs/validate/tmp/jinstall/jbundle-8.3R3.4-export.tgz
Checking jbundle requirements on /
Using /mfs/validate/tmp/jbundle/jbase-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jkernel-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jpfe-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M10-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M120-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M160-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M320-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M40-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-M7i-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-T-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-X960-8.3R3.4.tgz
Verified SHA1 checksum of jpfe-common-8.3R3.4.tgz
Using /mfs/validate/tmp/jbundle/jdocs-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jroute-8.3R3.4.tgz
Verified manifest signed by PackageProduction_8_3_0
Hardware Database regeneration succeeded
Validating against /config/juniper.conf.gz
Interface control process: [edit interfaces fxp0 unit 0 family inet]
Interface control process:
'address 192.168.0.1/24'
Interface control process:
warning: [edit system backup-router] not present. The default route for fxp0 is not installed.
Interface control process:
Interface control process: [edit groups lcc0-re0 interfaces fxp0 unit 0 family inet]
Interface control process:
'address 192.168.0.5/24'
Interface control process:
warning: [edit system backup-router] not present. The default route for fxp0 is not installed.
Interface control process:
mgd: commit complete
Validation succeeded
... ...
... ...
... ...
root@XX-MAN.RE0>
9
、
确认版本达到了预期的结果后,把系统切换回原来的
RE0
,以消除系统告警信息
{master}
root@XX-MAN.RE1>request chassis routing-engine master switch all-chassis
warning: Traffic will be interrupted while the PFE is re-initialized
Toggle mastership between routing engines ? [yes,no] (no) yes
lcc0-RE1:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
Resolving mastership...
Complete. The other routing engine becomes the master.
lcc1-RE1:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
Resolving mastership...
Complete. The other routing engine becomes the master.
scc-RE1:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
scc-RE1:
--------------------------------------------------------------------------
warning: Traffic will be interrupted while the PFE is re-initialized
Resolving mastership...
Complete. The other routing engine becomes the master.
{backup}
root@XX-MAN.RE1>
10
、执行命令察看系统的运行状态,完成升级
show chassis hardware
show chassis environment
show chassis alarms
show chassis routing-engine
show chassis fpc
show chassis sibs
show interfaces terse
查看详细资料
TOP
野猪找家
注册会员
精华:
1
积分:
183
帖子:
14
威望:
62 点
金钱:
47 币
贡献:
26 点
经验:
02级
阅读权限:
20
注册:
2007-11-27
状态:
发短消息
加为好友
2
#
大
中
小
发表于 2008-1-4 18:04
只看该作者
好东东,这样的教程可真是不错的类。谢谢了哦 我喜欢
查看详细资料
TOP
kurt
版主
精华:
3
积分:
1422
帖子:
214
威望:
509 点
金钱:
282 币
贡献:
235 点
经验:
04级
阅读权限:
100
注册:
2007-8-6
状态:
发短消息
加为好友
3
#
大
中
小
发表于 2008-1-5 00:37
只看该作者
楼主是高手,佩服佩服!
查看详细资料
TOP
mao_ipv6
中级会员
精华: 0
积分:
263
帖子:
25
威望:
116 点
金钱:
18 币
贡献:
67 点
经验:
02级
阅读权限:
30
注册:
2007-12-26
状态:
发短消息
加为好友
4
#
大
中
小
发表于 2008-1-18 18:54
只看该作者
这么少淫回贴,汗啊。。
查看详细资料
TOP
lxp_qq888
中级会员
精华: 0
积分:
213
帖子:
32
威望:
96 点
金钱:
5 币
贡献:
29 点
经验:
02级
阅读权限:
30
注册:
2008-6-10
状态:
发短消息
加为好友
5
#
大
中
小
发表于 2008-6-10 00:28
只看该作者
ddddddddddddddd
查看详细资料
TOP
jiesun
高级会员
精华: 0
积分:
502
帖子:
76
威望:
232 点
金钱:
0 币
贡献:
78 点
经验:
02级
阅读权限:
50
注册:
2008-6-2
状态:
发短消息
加为好友
6
#
大
中
小
发表于 2008-6-17 19:08
只看该作者
这里好难下啊,怎么有足够的金钱啊
查看详细资料
TOP
jiesun
高级会员
精华: 0
积分:
502
帖子:
76
威望:
232 点
金钱:
0 币
贡献:
78 点
经验:
02级
阅读权限:
50
注册:
2008-6-2
状态:
发短消息
加为好友
7
#
大
中
小
发表于 2008-6-17 19:09
只看该作者
这里好难下啊,怎么有足够的金钱啊
查看详细资料
TOP
jiesun
高级会员
精华: 0
积分:
502
帖子:
76
威望:
232 点
金钱:
0 币
贡献:
78 点
经验:
02级
阅读权限:
50
注册:
2008-6-2
状态:
发短消息
加为好友
8
#
大
中
小
发表于 2008-6-17 19:09
只看该作者
这里好难下啊,怎么有足够的金钱啊
查看详细资料
TOP
‹‹ 上一主题
|
下一主题 ››
12
1
2
››
Juniper产品使用维护区
交换机产品及技术讨论专区
路由器产品及JUNOS讨论专区
--技术文档区
网络安全及相关技术专区
--技术文档区
--问题交流区
应用加速产品及相关技术专区
Juniper网络学院
JNCIA.JNCIS认证专区
--juniper认证题库
JNCIP.JNCIE认证专区
学习园地
技术解决方案
行业与交流专区
交易信息交流区
行业动态
电信技术专区
juniper与其他设备共享区
其他行业技术专区
休闲娱乐区
杜松茶馆
软件工具
笑话 趣事
BBS站务管理专区
申请专区
站点建议
控制面板首页
编辑个人资料
积分交易
积分记录
公众用户组
个人空间管理
基本概况
版块排行
主题排行
发帖排行
积分排行
交易排行
在线时间
管理团队
管理统计