zoukankan      html  css  js  c++  java
  • 安装AAA服务器遇到的问题

    安装升级AAA服务器的操作思路:

    第一种:在原始服务器下更新升级安装包,实现升级;

    第二种:重新安装最新版本的IOS,实现版本更新;

    第一种方案更新AAS服务器ios

    步骤1:copy软件更新包到linux系统中:

    注意:使用windown系统中的FTP软件,在LINUX中使用FTP命令实现文件copy

    过程操作:

    [root@aas ~]# ftp 172.16.200.102
    Connected to 172.16.200.102.
    220 3Com 3CDaemon FTP 服务器版本 2.0
    530 没有登录
    530 没有登录
    KERBEROS_V4 rejected as an authentication type
    Name (172.16.200.102:root): a    //FTP的用户名
    331 用户名正确, 需要口令
    Password:                                     //FTP密码
    230 用户已登录
    Remote system type is UNIX.
    ftp> ls
    227 正在进入被动模式 (172,16,200,102,12,12)
    -rwxrwxrwx 1 owner group 116708305 Sep 01 15:30 installer-aas-2.3.1.900-build20140918.sh
    226 正在关闭数据连接
    ftp>
    ftp> get installer-aas-2.3.1.900-build20140918.sh
    local: installer-aas-2.3.1.900-build20140918.sh remote: installer-aas-2.3.1.900-build20140918.sh
    227 正在进入被动模式 (172,16,200,102,13,232)
    125 正在使用现存的数据连接
    WARNING! 432946 bare linefeeds received in ASCII mode
    File may not have transferred correctly.
    226 正在关闭数据连接; 文件传输成功完成.
    116708305 bytes received in 15 seconds (7.5e+03 Kbytes/s)
    ftp>
    ftp> bye
    221 服务关闭控制连接 [root@aas ~]#
    [root@aas ~]# ls
    anaconda-ks.cfg installer-aas-2.3.1.900-build20140918.sh install.log install.log.syslog
    [root@aas ~]# ls -ls
    total 114120
    8 -rw------- 1 root root 1192 Mar 7 18:16 anaconda-ks.cfg
    114088 -rw-r--r-- 1 root root 116705234 Sep 1 11:30 installer-aas-2.3.1.900-build20140918.sh
    16 -rw-r--r-- 1 root root 10587 Mar 7 18:16 install.log
    8 -rw-r--r-- 1 root root 2639 Mar 7 18:16 install.log.syslog

    步骤2:设置安装包权限并运行安装包

    [root@aas ~]# chmod +x installer-aas-2.3.1.900-build20140918.sh

    [root@aas ~]# ./installer-aas-2.3.1.900-build20140918.sh
    Verifying archive integrity...Error in checksums: 698664160 is different from 2279760278
    [root@aas ~]# sh installer-aas-2.3.1.900-build20140918.sh
    Verifying archive integrity...Error in checksums: 698664160 is different from 2279760278

     问题1:校验失败,发现copy进去的升级包大小与原有大小相比较小点:解决办法,更改传输类型为binary,之前使用的是ascii

    ftp> ascii
    200 类型设置为 A.   //使用此类型copy的文件大小会变小点

    ftp> binary
    200 类型设置为 I.    //对于程序而言应为二进制类型
    ftp> ^[[A^[[A^H^H^H^H^H^H
    ?Invalid command
    ftp> get installer-aas-2.3.1.900-build20140918.sh
    local: installer-aas-2.3.1.900-build20140918.sh remote: installer-aas-2.3.1.900-build20140918.sh
    227 正在进入被动模式 (172,16,200,102,6,161)
    125 正在使用现存的数据连接
    226 正在关闭数据连接; 文件传输成功完成.
    116708305 bytes received in 19 seconds (6.1e+03 Kbytes/s)
    ftp> bye
    221 服务关闭控制连接 [root@aas ~]#
    [root@aas ~]# ls -ls
    total 114124
    8 -rw------- 1 root root 1192 Mar 7 18:16 anaconda-ks.cfg
    114092 -rwxr-xr-x 1 root root 116708305 Sep 1 12:30 installer-aas-2.3.1.900-build20140918.sh   //文件大小与原有大小一致
    16 -rw-r--r-- 1 root root 10587 Mar 7 18:16 install.log
    8 -rw-r--r-- 1 root root 2639 Mar 7 18:16 install.log.syslog

    [root@aas ~]# chmod +x installer-aas-2.3.1.900-build20140918.sh
    [root@aas ~]# sh installer-aas-2.3.1.900-build20140918.sh   //重新执行,执行成功
    Verifying archive integrity... All good.
    Uncompressing Maipu AAS Server Installer..........................
    ---------------------------------------

    Installation of Maipu AAS Server

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

    第二种方法:

    重新安装AAS服务器,由于通过第一种方法已经将AAS升级成功,此时可以在虚拟中直接克隆之前安装好的AAS服务器;完成之后修改其中的参数即可。

    操作过程:

    修改IP以及配置静态路由

    [root@aas ~]# cd /etc/sysconfig/network-scripts/

    [root@aas network-scripts]# cat ifcfg-eth0   //通过VI进行修改设置
    DEVICE=eth0
    BOOTPROTO=static
    DHCPCLASS=
    IPADDR=172.16.200.236
    NETMASK=255.255.255.0
    GATEWAY=172.16.200.10
    ONBOOT=yes    //设置为yes,重新启动后地址不会丢失
    [root@aas network-scripts]#

    [root@aas ~]# service network restart

    [root@aas ~]# ip route add  0.0.0.0/0 via 172.16.200.10

    [root@aas ~]# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    172.16.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    0.0.0.0 172.16.200.10 0.0.0.0 UG 0 0 0 eth0

    [root@aas ~]# ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 00:0C:29:28:F9:C5
    inet addr:172.16.200.236 Bcast:172.16.200.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe28:f9c5/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:646 errors:0 dropped:0 overruns:0 frame:0
    TX packets:405 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:71982 (70.2 KiB) TX bytes:305415 (298.2 KiB)
    Base address:0x2000 Memory:fd5c0000-fd5e0000

    第二种方法:重新安装服务器

    步骤:

    1、安装虚拟机(如果有可跳过);

    2、在虚拟机中安装linux系统(下载完整版的iso文件,服务器自带版本,其中集成了linux版本和AAS服务器)

    3、启动服务器(等待安装完成)

    4、使用默认用户名密码登录进去,配置IP和路由

    5、开启服务(数据库等各种服务)service srvmgt start

  • 相关阅读:
    informix 外部表 pipe
    关于XML的一些解析操作
    oracle 导出导入数据库
    判断请求访问的浏览器类型设备
    git与SVN的区别
    Java获取文件路径
    <DIV>内容显示隐藏功能实现
    文件下载
    文件上传
    记录启动Nginx启动失败
  • 原文地址:https://www.cnblogs.com/zhaoyujiao/p/7466182.html
Copyright © 2011-2022 走看看