Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5697871
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2008-01-25 16:15:00

十二、VCS35的安装及配置
   这里进入到最为关键的环节,前面所有操作都是为这里作铺垫.实际VCS的安装及配置是整个操作过程中最为简单的,因为每一步都有提示,但做的时候必须小心,否则得不偿失.
   也简单说一下VCS35,这个软件仍然是VERITAS的产品,当然也可以选择使用SUN原厂的SUN CLUSTER软件,因为没有资源,所以便没有使用.
   将78MB大小的VCS35软件同样上传到/opt/storm_software目录下,解压后得到cluster_server目录,进入cluster_server目录./installvcs进行安装,下面是具体过程:
1,输入你要安装VCS的两台机器的主机名:
    Enter the names of the systems on which VCS is to be installed
    separated by spaces (example: system1 system2): solarisa solarisb
    Checking for ssh on TEST1 ........................... not found
    Checking OS version on TEST1 ........................ SunOS 5.8
    Verifying communication with TEST2 ............ ping successful
    Attempting rsh with TEST2 ...................... rsh successful
    Checking OS version on TEST2 ........................ SunOS 5.8
    Creating /tmp subdirectory on TEST2 ... /tmp subdirectory created
系统将自动和备机同步,如果在这里不能进行,你需要检查你的心跳连线是否正确;
Using /usr/bin/rsh and /usr/bin/rcp to communicate with solarisb
Communication check completed successfully
VERITAS CLUSTER SERVER INSTALLATION PROGRAM   
2,输入软件所需license:
VCS licensing verification:
Checking solarisa ........................... No license key found
Enter the license key for solarisa: XXXX-XXXX-XXXX-XXXX-XXXX(此处密码已屏蔽,不要问我要)
Valid VCS Demo key entered for solarisb
    Registering key XXXX-XXXX-XXXX-XXXX-XXXX on solarisa ........ Done
    Registering key XXXX-XXXX-XXXX-XXXX-XXXX on solarisb ........ Done
VCS licensing completed successfully
3,自检过程:
VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
The GUI modules of VCS use the Java Run Time Environment(1.3) from Sun
and require that some Solaris patches be installed to function properly.
You can find information about these patches and instructions for
downloading them at:
       
Are you ready to start the Cluster installation now? (Y) y
          VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
Checking current installation on solarisa:
    Checking VRTSvcsdc .................................. Not installed
    Checking VRTSvcsw ................................... Not installed
    Checking VRTSweb .................................... Not installed
    Checking VRTSvcsmn .................................. Not installed
    Checking VRTSvcsag .................................. Not installed
    Checking VRTSvcsmg .................................. Not installed
    Checking VRTSvcs .................................... Not installed
    Checking VRTSgab .................................... Not installed
    Checking VRTSllt .................................... Not installed
    Checking VRTSperl ................................... Not installed
    Checking VRTSvlic ..................... version 3.00.007d installed
Checking current installation on solarisb:
    Checking VRTSvcsdc .................................. Not installed
    Checking VRTSvcsw ................................... Not installed
    Checking VRTSweb .................................... Not installed
    Checking VRTSvcsmn .................................. Not installed
    Checking VRTSvcsag .................................. Not installed
    Checking VRTSvcsmg .................................. Not installed
    Checking VRTSvcs .................................... Not installed
    Checking VRTSgab .................................... Not installed
    Checking VRTSllt .................................... Not installed
    Checking VRTSperl ................................... Not installed
    Checking VRTSvlic ..................... version 3.00.007d installed
Installation check completed successfully
             VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
Checking file system space on solarisa:
    Checking /opt ............................ required space available
    Checking /usr ............................ required space available
    Checking /var ......................... No /var volume or partition
    Checking / ............................... required space available
Checking file system space on solarisb:
    Checking /tmp ............................ required space available
    Checking /opt ............................ required space available
    Checking /usr ............................ required space available
    Checking /var ......................... No /var volume or partition
    Checking / ............................... required space available
File system verification completed successfully
              VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
Stopping VCS processes on solarisa:
    Checking VCS .......................................... not running
    Checking CmdServer .................................... not running
    Checking Web GUI processes ............................ not running
    Checking notifier processes ........................... not running
    Checking GAB .......................................... not running
    Checking LLT .......................................... not running
Stopping VCS processes on solarisb:
    Checking VCS .......................................... not running
    Checking CmdServer .................................... not running
    Checking Web GUI processes ............................ not running
    Checking notifier processes ........................... not running
    Checking GAB .......................................... not running
    Checking LLT .......................................... not running
VCS processes are stopped
4,配置cluster信息:
 VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
To configure VCS the following is required:
        A unique Cluster name
        A unique Cluster ID number between 0-255
        Two NIC cards on each system used for private network heartbeat links
Are you ready to configure VCS on these systems? (Y)y
Enter the unique cluster name:ly_cluster
Enter the unique Cluster ID number between 0-255:0
5,心跳网卡配置过程,此过程尤为重要,系统会自动将所扫描到所有网卡信息列出来让你选择成为主心跳网卡以及备心跳网卡:
Discovering NICs on solarisa ... discovered hme0 hme1 hme2 hme3 qfe0 qfe1 qfe2 qfe3
Enter the NIC for the first private network heartbeat link on solarisa: (hme0 hme1 hme2 hme3 qfe0 qfe1 qfe2 qfe3)hme2
hme2 is currently active as a public NIC on solarisa
Are you sure you want to use hme2 for the first private network heartbeat link? (N)y
Enter the NIC for the second private network heartbeat link on solarisa: (hme0 hme1 hme3 qfe0 qfe1 qfe2 qfe3)hme3
hme3 is currently active as a public NIC on solarisa
Are you sure you want to use hme3 for the second private network heartbeat link? (N)y
Are you using the same NICs for private heartbeat links on all systems? (Y)n
    Discovering NICs on solarisb ....... discovered hme0 hme1 hme2 hme3
Enter the NIC for the first private network heartbeat link on solarisb: (hme0 hme1 hme2 hme3)hme1
hme1 is currently active as a public NIC on solarisb
Are you sure you want to use hme1 for the first private network heartbeat link? (N)y
Enter the NIC for the second private network heartbeat link on solarisb: (hme0 hme2 hme3)hme3
hme3 is currently active as a public NIC on solarisb
Are you sure you want to use hme3 for the second private network heartbeat link? (N)y
             VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
Cluster information verification:
        Cluster Name: ly_cluster
        Cluster ID Number: 0
        Private Network Heartbeat Links for solarisa: link1=hme2 link2=hme3
        Private Network Heartbeat Links for solarisb: link1=hme1 link2=hme3
Is this information correct? (Y)y
6,WEB管理配置:
 VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
The following information is required to configure Cluster Manager:
        A public NIC used by each system in the cluster
        A Virtual IP address and netmask for Cluster Manager
Do you want to configure Cluster Manager (Web Console) (Y)y
Active NIC devices discovered on solarisa: hme0
Enter the NIC for Cluster Manager (Web Console) to use on solarisa: (hme0)hme0
Is hme0 the public NIC used for all systems (Y)y
Enter the Virtual IP address for Cluster Manager: 192.168.1.184
Enter the netmask for IP 192.168.1.184: (255.255.255.0)255.255.255.0
            VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
Cluster Manager (Web Console) verification:
        NIC: hme0
        IP: 192.168.1.184
        Netmask: 255.255.255.0
Is this information correct? (Y)y
7,配置SMTP以及SNMP服务,这两个过程可以取消:
VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
The following information is required to configure SMTP notification:
        The domain based address of the SMTP server
        The email address of each SMTP recipient
        A minimum severity level of messages to send to each recipient
Do you want to configure SMTP notification? (Y)n
              VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
The following information is required to configure SNMP notification:
        System names of SNMP console(s) to receive VCS trap messages
        SNMP trap daemon port numbers for each console
        A minimum severity level of messages to send to each console
Do you want to configure SNMP notification? (Y)n
8,安装过程:
VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
Installing VCS 3.5 on solarisa:
    Installing VRTSvlic package ........... version 3.00.007d installed
    Installing VRTSperl package .................................. Done
    Installing VRTSllt package ................................... Done
    Installing VRTSgab package ................................... Done
    Installing VRTSvcs package ................................... Done
    Installing VRTSvcsmg package ................................. Done
    Installing VRTSvcsag package ................................. Done
    Installing VRTSvcsmn package ................................. Done
    Installing VRTSweb package ................................... Done
    Installing VRTSvcsw package .................................. Done
    Installing VRTSvcsdc package ................................. Done
    Copying the installer to /opt/VRTSvcs/install ................ Done
    Copying VCS Release Notes to /opt/VRTSvcs/docs ............... Done
Installing VCS 3.5 on solarisb:
    Installing VRTSvlic package ........... version 3.00.007d installed
    Copying VRTSperl binaries .................................... Done
    Installing VRTSperl package .................................. Done
    Copying VRTSllt binaries ..................................... Done
    Installing VRTSllt package ................................... Done
    Copying VRTSgab binaries ..................................... Done
    Installing VRTSgab package ................................... Done
    Copying VRTSvcs binaries ..................................... Done
    Installing VRTSvcs package ................................... Done
    Copying VRTSvcsmg binaries ................................... Done
    Installing VRTSvcsmg package ................................. Done
    Copying VRTSvcsag binaries ................................... Done
    Installing VRTSvcsag package ................................. Done
    Copying VRTSvcsmn binaries ................................... Done
    Installing VRTSvcsmn package ................................. Done
    Copying VRTSweb binaries ..................................... Done
    Installing VRTSweb package ................................... Done
    Copying VRTSvcsw binaries .................................... Done
    Installing VRTSvcsw package .................................. Done
    Copying VRTSvcsdc binaries ................................... Done
    Installing VRTSvcsdc package ................................. Done
    Copying the installer to /opt/VRTSvcs/install ................ Done
    Copying VCS Release Notes to /opt/VRTSvcs/docs ............... Done
Package installation completed successfully
            VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
Processing VCS 3.5 patches on solarisa:
    Unloading GAB module on solarisa ............................. Done
    Unloading LLT module on solarisa ............................. Done
    Installing 113702-01 patch ................................... Done
Processing VCS 3.5 patches on solarisb:
    Unloading GAB module on solarisb ............................. Done
    Unloading LLT module on solarisb ............................. Done
    Copying 113702-01 patch ...................................... Done
    Installing 113702-01 patch ................................... Done
Patch installation completed successfully
            VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
    Configuring VCS .............................................. Done
    Copying VCS configuration files to solarisa .................. Done
    Copying VCS configuration files to solarisb .................. Done
Configuration files copied successfully
Do you want to start the cluster components now? (Y)y
             VERITAS CLUSTER SERVER INSTALLATION PROGRAM             
Starting VCS on solarisa
    Starting LLT .............................................. Started
    Starting GAB .............................................. Started
    Starting VCS .............................................. Started
Starting VCS on solarisb
    Starting LLT .............................................. Started
    Starting GAB .............................................. Started
    Starting VCS .............................................. Started
9,WEB管理用户名密码设置,一般使用默认的admin以及password,这个在图形界面打开VERITAS管理界面登陆的时候需要:
VERITAS CLUSTER SERVER INSTALLATION PROGRAM            
Initial VCS configuration files are backed up with a .init.ly_cluster extension
The Cluster can be managed using Cluster Manager (Web Console) using the URL:
       
using the User Name: 'admin' and the Password: 'password'.
Use the '/opt/VRTSvcs/bin/hauser' command to add new users.
To manage your cluster(s) using Cluster Manager (Java Console) add the
VRTScscm package to a non-clustered system.
A VCS install report has been saved at:
        /var/VRTSvcs/installvcsReport.ly_cluster
VCS installation completed successfully
至此,安装过程结束.
阅读(2340) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~