Cloud Native应用交付

  • 首页
  • 关于本站
  • 个人介绍
  • Downloads
  • Repo
    • Github
    • Container
  • F5
    • F5 Python SDK
    • F5-container
    • F5-LBaaS
  • 社交
    • 联系我
    • 微信/微博
    • 公众号
    • 打赏赞助
行至水穷处 坐看云起时
Cloud Native Application Services: cnadn.net
  1. 首页
  2. F5技术
  3. 正文

Restore configuration data for f5 by .ucs file

2008年03月4日 12795点热度 0人点赞 1条评论

1.首先确保已经有备份的.ucs文件,备份方法:通过配置工具的archives菜单或b config save filename

2.若是将该文件在本机系统恢复,执行如下步骤:

  a. 将ucs文件拷贝到某个目录,如/var/local/ucs/ 下

   b.将系统主机名设置为做ucs备份时的系统主机名,即保证hostname与以前的主机名一致

   c.执行 b config install /var/local/ucs/***.ucs

[root@ltm:Active] config # b config install 20080308.ucs
Saving active configuration...
Current configuration backed up to /var/local/ucs/cs_backup.ucs.
Installing full configuration on host ltm.dcfs.digitalchina.com
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/bin/monitors/builtins/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Loading the configuration ...

   d.验证ssh keys是否同SCCP和BIGIP同步 : keyswap.sh sccp

   e.reboot

其中C步骤中如有以下错误:

Creating UCS for config save request...

      Dec  8 12:00:00 bigip1 mcpd[2395]: 01070608:0: License is not operational

      (expired or digital signature does not match contents).

      Loading the new /config/BigDB.dat failed.

      01080023:3: Error return while getting reply from mcpd: 0x1070370,

      01070370:3: Failover (redundant mode) is not licensed.

      After updating your license, run

      loaddb -local /config/BigDB.dat.cs

则说明license与ucs里的不同,需要更新(一般都出现在向不同机器上恢复时),通过以下方法解决:

  Re-license the system.

  Finish loading the BigDB.dat information by typing the following command:

      loaddb -local /config/BigDB.dat.cs

 

------------------------

在新系统上恢复配置:

大致步骤差不多,就是先做一个系统,然后config命令,配置一个IP以便将UCS传上去。

To install the operating system and restore configuration data to a new system, perform the following steps:

   1. Network boot the system software from the CD-ROM drive.

 

   2. After the system software installs, reboot the system by typing the following command:

      reboot

   3. Connect to the serial port.

   4. From the command line,type the following command:

      config

   5. Follow the prompts to configure the system with an IP address.

   6. Copy the UCS archive file to the system.

   7. Set the hostname of the system to match the hostname of the system on which the UCS archive was created, by typing the following command:

      hostname <hostname>

      Important: If you do not set the hostname to match the original hostname, the configuration restoration will fail.

   8. Restore the configuration from the UCS archive, by typing the following command, replacing <filename> with the name of your UCS archive file:

     bigpipe config install <filename>

      Important: If you are restoring the backup on a different device than the system on which the backup was created, such as an RMA system, the configuration load will fail with a license error, and a BigDB.dat load error similar to the following will be displayed:

      b config install /var/local/ucs/backup.ucs

      Installing full configuration on host bigip1.askf5.com

      Saving active configuration...

      Creating UCS for config save request...

      Dec  8 12:00:00 bigip1 mcpd[2395]: 01070608:0: License is not operational

      (expired or digital signature does not match contents).

      Loading the new /config/BigDB.dat failed.

      01080023:3: Error return while getting reply from mcpd: 0x1070370,

      01070370:3: Failover (redundant mode) is not licensed.

      After updating your license, run

      loaddb -local /config/BigDB.dat.cs

  9.  If you are running BIG-IP version 9.x software on a 1500, 3400, 6400, 6800, or 8400 hardware platform, type the following command to verify that the new or replaced SSH keys from the UCS file are synchronized between the BIG-IP and the SCCP:

      keyswap.sh sccp

  10. Reboot the system, by typing the following command:

      reboot

If you installed this system on the same device on which the backup was created, after the system reboots, it will load the restored configuration; however, if you restored the backup on a different device, and received the errors noted in step 8, then perform steps 11 and 12:

    11. Re-license the system.

    12. Finish loading the BigDB.dat information by typing the following command:

      loaddb -local /config/BigDB.dat.cs

 

相关文章

  • 密码保护:F5OS tenant部署后的容器情况、网络接口情况
  • 密码保护:F5OS tenant镜像实例化后信息
  • 密码保护:F5OS docker-compose.yml
  • 密码保护:F5OS 底层容器、网络及k8s状态
  • AI Gateway PII test page - internal only
本作品采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可
标签: 暂无
最后更新:2008年03月4日

纳米

linjing.io

打赏 点赞
< 上一篇
下一篇 >

文章评论

  • mycisco

    用A机器UCS恢复B机器

    1,激活好B机器

    Installing full configuration on host BF64SL0A-S1.icbc.com.cn
    Saving active configuration...
    Creating UCS for config save request...

    Loading the new /config/BigDB.dat failed.
    01080023:3: Error return while getting reply from mcpd: 0x1070370, 01070370:3: Failover (redundant mode) is not licensed.
    After updating your license, run
    loaddb -local /config/BigDB.dat.cs

    Reading configuration from /config/bigip_base.conf.
    Reading configuration from /usr/bin/monitors/base_monitors.conf.
    Reading configuration from /config/profile_base.conf.
    Reading configuration from /config/bigip.conf.
    Loading the configuration ...
    BIGpipe: VLAN creation error:
    01070356:3: VLAN failsafe feature not licensed.

    到WEB界面重新生成dossier,重新激活license并注入系统。注入新license后配置会理解生效,注意此时用新IP链接系统。

    在命令下执行loaddb -local /config/BigDB.dat.cs

    执行b load 检验应无加载错误。

    OK

    2008年10月17日
    回复
  • razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
    取消回复

    这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

    页面AI聊天助手

    纳米

    linjing.io

    ☁️迈向Cloud Native ADC ☁️

    认证获得:
    TOGAF: ID 152743
    Kubernetes: CKA #664
    Microsoft: MCSE MCDBA
    Cisco: CCNP
    Juniper: JNCIS
    F5:
    F5 Certified Solution Expert, Security
    F5 Certified Technology Specialist, LTM/GTM/APM/ASM
    F5 Certified BIG-IP Administrator
  • 点击查看本博技术要素列表
  • 归档
    分类
    • AI
    • Automation
    • Avi Networks
    • Cisco ACI
    • CISCO资源
    • F5 with ELK
    • F5-Tech tips
    • F5技术
    • Juniper
    • Linux
    • NGINX
    • SDN
    • ServiceMesh
    • WEB编程
    • WINDOWS相关
    • 业界文章
    • 交换机技术
    • 化云为雨/Openstack
    • 协议原理
    • 容器/k8s
    • 我的工作
    • 我的生活
    • 网站技术
    • 路由器技术
    • 项目案例
    标签聚合
    nginx network docker envoy openstack k8s DNS bigip istio irule F5 gtm flannel neutron api
    最近评论
    汤姆 发布于 9 个月前(09月10日) 嗨,楼主,里面的json怎么下载啊,怎么收费啊?
    汤姆 发布于 9 个月前(09月09日) 大佬,kib的页面可以分享下吗?谢谢
    zhangsha 发布于 1 年前(05月12日) 资料发给我下,谢谢纳米同志!!!!lyx895@qq.com
    李成才 发布于 1 年前(01月02日) 麻烦了,谢谢大佬
    纳米 发布于 1 年前(01月02日) 你好。是的,因为以前下载系统插件在一次升级后将所有的下载生成信息全弄丢了。所以不少文件无法下载。DN...
    浏览次数
    • Downloads - 184,630 views
    • 联系我 - 118,966 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 118,013 views
    • Github - 104,642 views
    • F5常见log日志解释 - 80,124 views
    • 从传统ADC迈向CLOUD NATIVE ADC - 下载 - 76,085 views
    • Sniffer Pro 4 70 530抓包软件 中文版+视频教程 - 74,320 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 67,770 views
    • 关于本站 - 61,480 views
    • 这篇文档您是否感兴趣 - 55,778 views
    链接表
    • F5SE创新
    • Jimmy Song‘s Blog
    • SDNlab
    • Service Mesh社区
    • 三斗室
    • 个人profile
    • 云原生社区

    COPYRIGHT © 2023 Cloud Native 应用交付. ALL RIGHTS RESERVED.

    Theme Kratos Made By Seaton Jiang

    京ICP备14048088号-1

    京公网安备 11010502041506号