ITPub博客

首页 > 数据库 > Oracle > Exalogic Ethernet交换机配置的备份与还原

Exalogic Ethernet交换机配置的备份与还原

原创 Oracle 作者:wanghao2979 时间:2018-12-05 08:22:49 0 删除 编辑

Exalogic 为oracle 的应用一体机,其中内部包含了  一个思科交换机,一个骨干 Infiniband Switche,两个叶子 Infiniband Switche


本篇文章主要介绍内部思科交换机的备份与还原的操作.  exadata 中的思科交换机原理相同.


后期会介绍  Infiniband Switche 的备份与还原.


  1. 备份


PC>ping 10.135.162.152           //先对交换机ping一下确保与交换机之间的连线是相同的

 

Pinging 10.135.162.152 with 32 bytes of data:

 

Request timed out.

Reply from 10.135.162.152: bytes=32 time=0ms TTL=255//提示ping通

Reply from 10.135.162.152: bytes=32 time=1ms TTL=255

Reply from 10.135.162.152: bytes=32 time=0ms TTL=255

 

Ping statistics for 10.135.162.152:

    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 1ms, Average = 0ms

 

PC>telnet 10.135.162.152                       //用telnet进行远程登录

Trying 10.135.162.152 ...Open

 

 

User Access Verification

 

Password:                       //输入telnet登录密码:

SW1>enable                    //进入交换机

Password:                       //输入进入密码:

SW1#copy running-config startup-config    //将运行配置文件覆盖启动配置文件。(将交换机所做的配置保存下来。)

Destination filename [startup-config]?    //指定目标文件[默认为startup-config]

Building configuration...

[OK]

SW1#copy running-config TFTP           //将运行配置文件(交换机的配置)保存到FTP服务器上

Address or name of remote host []? 10.135.20.72 //指定远程FTP服务器的地址

Destination filename [SW1-confg]? dm01sw-adm01-config      //指定保存到FTP服务器上的文件名

 

Writing running-config....!!

[OK - 1059 bytes]

 

1059 bytes copied in 3.005 secs (0 bytes/sec)

SW1#





2.还原


Switch#

Switch#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#int vlan 1                 //进入VLAN1 

Switch(config-if)#ip add

Switch(config-if)#ip address 192.168.1.1 255.255.255.0    //配置VLAN1IP地址

Switch(config-if)#no shutdown            //启动生效

 

Switch(config-if)#

%LINK-5-CHANGED: Interface Vlan1, changed state to up

 

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

 

Switch(config-if)#exit

Switch(config)#exit

Switch#

%SYS-5-CONFIG_I: Configured from console by console

 

Switch#copy TFTP startup-config            //将FTP上的文件复制到启动配置文件中

Address or name of remote host []? 10.135.20.72    //来自FTP的地址是10.135.20.72

Source filename []? dm01sw-adm01-config          //来自FTP的dm01sw-adm01-config 文件

Destination filename [startup-config]?       //指定存放的目标文件为默认的startup-config

 

Accessing tftp://10.135.20.72/dm01sw-adm01-config....

Loading dm01sw-adm01-config from 10.135.20.72: !

[OK - 1059 bytes]                             //复制成功。

 

1059 bytes copied in 3.016 secs (351 bytes/sec)

Switch#


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7569309/viewspace-2284155/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
主要负责客户现场exadata与exalogic设备的维护工作, 擅长于ORACLE数据库环境/高可用环境的搭建及故障诊断, 并且也获有 11g ocp 证书,10g ocm 证书

注册时间:2017-01-10

  • 博文量
    90
  • 访问量
    84716