Cloud Native应用交付
  • 首页
  • 关于本站
  • 个人介绍
  • Downloads
  • Repo
    • Github
    • Container
  • F5
    • F5 Python SDK
    • F5-container
    • F5-LBaaS
  • 社交
    • 联系我
    • 微信/微博
    • 公众号
    • 打赏赞助
行至水穷处 坐看云起时
☁️We are in new App Mesh era: imesh.club ☁️
  1. 首页
  2. F5技术
  3. 正文

Restore configuration data for f5 by .ucs file

2008年03月04日 7863点热度 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

 

本作品采用 知识共享署名 4.0 国际许可协议 进行许可
标签: 暂无
最后更新:2008年03月04日

纳米

http://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日
    回复
  • 取消回复

    纳米

    http://linjing.io

    ☁️迈向Cloud Native ADC ☁️

    认证获得:
    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
  • 点击查看本博技术要素列表
  • 分类目录
    • Avi Networks (3)
    • Cisco ACI (1)
    • CISCO资源 (21)
    • F5 with ELK (8)
    • F5-Tech tips (38)
    • F5技术 (203)
    • Juniper (4)
    • Linux (7)
    • Nginx (18)
    • SDN (4)
    • ServiceMesh (19)
    • WEB编程 (8)
    • WINDOWS相关 (7)
    • 业界文章 (18)
    • 交换机技术 (20)
    • 化云为雨/Openstack (35)
    • 协议原理 (52)
    • 容器/k8s (64)
    • 我的工作 (19)
    • 我的生活 (70)
    • 网站技术 (19)
    • 路由器技术 (80)
    • 项目案例 (28)
    文章归档
    标签聚合
    F5 k8s openstack nginx istio DNS envoy gtm docker network flannel api irule bigip neutron cc kubernetes ELK vxlan BGP dhcp VPN IPSec lbaas ingress ingress controller nginx plus sidecar IPSec VPN NAT sql
    最新 热点 随机
    最新 热点 随机
    Say hello for 2021 二进制flannel部署,非cni网络模式下与k8s CIS结合方案 又是一年国庆 Service Account Token Volume Projection Istio ingressgateway 静态TLS证书加载与SDS发现方式配置区别 Istio里Gateway的port定义与实际ingressgateway的listener端口关系及规则 Helm 3 部署NGINX Ingress Controller 应用交付老兵眼中的Envoy, 云原生时代下的思考 Istio sidecar iptables以及流量控制分析 Istio 熔断策略及envoy配置
    Say hello for 2021
    NAT Support for Multiple Pools Using Route Maps Kubernetes 1.6.7 手工安装 [原创]巧用route-map顺序实现不同网段走不同ISP,且互备实验,问题源自91lab论坛网友提问 GTM v11 update Cisco ACI - F5 协同演示 职场必看的12个寓言故事 ip协议号 聊聊为啥kubernetes的dashboard搞起来这么费劲 F5 TCP profile参数设置理解 Openstack L3-GRE网络与 F5 协作之租户内部BIGIP(ICEHOUSE)
    链接表
    • Jimmy Song‘s Blog
    • SDNap
    • SDNlab
    • SDN论坛
    • Service Mesh社区
    • 三斗室
    • 个人profile

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

    THEME KRATOS MADE BY VTROIS

    京ICP备14048088号-1

    京公网安备 11010502041506号

    [ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin