• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

SF3800-6800 恢复platform 密码的方法

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 36次 | 进入软件测试论坛讨论

领测软件测试网

Resetting the Platform Administrator's Password:

1. If you have more than one System Controller (SC), to prevent SC failover while doing this procedure, detach.network and serial cables from the spare SC. (If you only have one SC, skip this step.)

MILY: 宋体; mso-font-kerning: 0pt">2. Reboot the SC. You won't be able to do this by logging into the platform shell; you will need to press the reset button on the SC.

 

3. The normal sequence of a System Controller rebooting is for SCPOST to run, followed by ScApp. SCPOST is done running when you see the message POST Complete.  Wait for ScApp to start loading. When you see the copyright message Copyright 2001 Sun Microsystems, Inc. All rights reserved., press the CONTROL-A keys to spawn a vxWorks shell. You will see this message:

Task not found

spawning new shell.

->

This last line is the vxWorks prompt. Keep in mind that ScApp will continue to load  until it gives you the menu to enter the platform/domain shells. To make it less confusing, wait for the ScApp menu to display, then press return. You will see the vxWorks prompt -> again.

4. Make a note of the current boot flags settings. You will use this information later to restore the boot flags to the original value.

-> getBootFlags()

value = 13 = 0xd

* Save the 0x number for # 8 below.

5. Change the boot flags to disable autoboot.

-> setBootFlags(0x10)

Note: This command will also return the last value stored before this change, so it could be misleading; in this example it will return:

value = 13 = 0xd (original value)

However, if you run the getBootFlags() command again, you will get the new value just set:

-> getBootFlags()

value = 16 = 0x10

1.    Reboot the SC using either CONTROL-X or the reboot command. Once reset, it will stop at the -> prompt

6. Enter the following commands at the -> prompt.

-> kernelTimeSlice 5

-> javaConfig

-> javaClassPathSet "/sc/flash/lib/scapp.jar:/sc/flash/lib/jdmkrt.jar"

-> javaLoadLibraryPathSet "/sc/flash"

-> java "-Djava.compiler=NONE -Dline.separator=\r\n sun.serengeti.cli.Password"

7. Wait for the following messages to display: (Your prompt will come back right away, but it will take about ten seconds for these messages to show up.)

Clearing SC Platform password...

Done. Reboot System Controller.

8. After the preceding messages display, restore the bootflags to the original value using the setBootFlags() command. (Use the value returned from Step Four of this procedure.)

-> setBootFlags(0xd)

1.    Reboot the SC using CONTROL-X or the reboot command. Once rebooted, the platform administrator's password will be cleared.

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网