Chinaunix首页 | 论坛 | 博客
  • 博客访问: 41876
  • 博文数量: 18
  • 博客积分: 95
  • 博客等级: 民兵
  • 技术积分: 140
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-20 12:05
文章分类
文章存档

2013年(17)

2012年(1)

我的朋友

分类:

2013-01-28 11:21:44

以下内容为实际操作内容,废话就不多说了,希望对没有装过的朋友有所帮助!

1.安装、配置vxvm4.1
# cd storage_foundation_4.1
# ls

cd1    patch
# cd cd1
# ls

cluster_server                 gnu                            sf_ha.cd1.4.1.00.0.sol.tar.gz  volume_manager
file_system                    installer                      storage_foundation             volume_replicator
getting_started.pdf            perl                           support                        windows
# ./installer


                                   VERITAS Storage Foundation and High Availability Solutions 4.1                        

VERITAS Licensing utilities are not installed on this system.
Product menu cannot be displayed until VERITAS Licensing utilities are installed.

Selection Menu:

    I) Install/Upgrade a Product    C) Configure an Installed Product
    L) License a Product            P) Perform a Preinstallation Check
    U) Uninstall a Product          D) View a Product Description
    Q) Quit                         ?) Help

Enter a Selection: [I,C,L,P,U,D,Q,?] I


                                   VERITAS Storage Foundation and High Availability Solutions 4.1                        

     1)  VERITAS Cluster Server
     2)  VERITAS File System
     3)  VERITAS Volume Manager
     4)  VERITAS Volume Replicator
     5)  VERITAS Storage Foundation, Storage Foundation for Oracle, Storage Foundation for DB2, and Storage Foundation for Sybase
     6)  VERITAS Storage Foundation Cluster File System
     7)  VERITAS Storage Foundation for Oracle RAC
     B)    Back to previous menu

Select a product to install: [1-7,b,q] 3


                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                              

Enter the system names separated by spaces on which to install VxVM: V890

    Checking OS version on V890 ................................................................................. SunOS 5.9
    Checking VRTSvxvm package ................................................................................... not installed

Initial system check completed successfully.

Press [Return] to continue: [ENTER]


                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                               

VERITAS Infrastructure package installation:

Installing VERITAS Infrastructure packages on V890:

    Checking VRTScpi package .................................................................................... not installed
    Checking VRTSvlic package ................................................................................... not installed
    Checking file system space .................................................................... required space is available
    Installing VRTScpi 4.1.0.92 on V890 .............................................................................. Done
    Installing VRTSvlic 3.02.005k on V890 ............................................................................ Done

VERITAS Infrastructure packages installed successfully.

Press [Return] to continue: [ENTER]

                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                              

installer can install the following optional VxVM packages:

VRTSobgui    VERITAS Enterprise Administrator
VRTSvmman    VERITAS Volume Manager Manual Pages
VRTSvmdoc    VERITAS Volume Manager Documentation
VRTSvrw      VERITAS Volume Replicator Web Console
VRTSvrdoc    VERITAS Volume Replicator Documentation
VRTSap       VERITAS Action Provider
VRTStep      VERITAS Task Provider

     1)  Install all of the optional packages
     2)  Install none of the optional packages
     3)  View package descriptions and select optional packages

Select the optional packages to be installed on all systems? [1-3,q,?] (1) [ENTER]


                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                               

installer will install the following VxVM packages:
VRTSperl     VERITAS Perl 5.8.0 Redistribution
VRTSob       VERITAS Enterprise Administrator Service
VRTSobgui    VERITAS Enterprise Administrator
VRTSvxvm     VERITAS Volume Manager Binaries
VRTSvmman    VERITAS Volume Manager Manual Pages
VRTSvmdoc    VERITAS Volume Manager Documentation
VRTSvmpro    VERITAS Volume Manager Management Services Provider
VRTSfspro    VERITAS File System Management Services Provider
VRTSalloc    VERITAS Volume Manager Intelligent Storage Provisioning
VRTSddlpr    VERITAS Device Discovery Layer Services Provider
VRTSvrpro    VERITAS Volume Replicator Client Extension and Provider for
                 VERITAS Enterprise Administrator
VRTSvcsvr    VERITAS Cluster Server Agents for VVR
VRTSjre      VERITAS Java Runtime Environment Redistribution
VRTSweb      VERITAS Java Web Server
VRTSvrw      VERITAS Volume Replicator Web Console
VRTSvrdoc    VERITAS Volume Replicator Documentation
VRTSap       VERITAS Action Provider
VRTStep      VERITAS Task Provider

Press [Return] to continue: [ENTER]


                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                               

Checking system installation requirements:

Checking VxVM installation requirements on V890:

    Checking VRTSperl package ................................................................................... not installed
    Checking VRTSob package ..................................................................................... not installed
    Checking VRTSobgui package .................................................................................. not installed
    Checking VRTSvxvm package ................................................................................... not installed
    Checking VRTSvmman package .................................................................................. not installed
    Checking VRTSvmdoc package .................................................................................. not installed
    Checking VRTSvmpro package .................................................................................. not installed
    Checking VRTSfspro package .................................................................................. not installed
    Checking VRTSalloc package .................................................................................. not installed
    Checking VRTSddlpr package .................................................................................. not installed
    Checking VRTSvrpro package .................................................................................. not installed
    Checking VRTSvcsvr package .................................................................................. not installed
    Checking VRTSjre package .................................................................................... not installed
    Checking VRTSweb package .................................................................................... not installed
    Checking VRTSvrw package .................................................................................... not installed
    Checking VRTSvrdoc package .................................................................................. not installed
    Checking VRTSap package ..................................................................................... not installed
    Checking VRTStep package .................................................................................... not installed
    Checking VERITAS patch 115209 ............................................................................... not installed
    Checking VERITAS patch 115210 ............................................................................... not installed
    Checking for any Solaris patch issues ................................................................................ None
    Checking file system space .................................................................... required space is available
    Checking for any AP driver issues .................................................................................... None
    Stopping VVR processes on host V890 .............................................................................. Done
    Checking vxsvc process ........................................................................................ not running
    Checking VRTSweb process ...................................................................................... not running

Installation requirement checks completed successfully.

Press [Return] to continue: [ENTER]


                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                              

  

Installing Volume Manager 4.1 on V890:

    Installing VRTSperl 4.0.12 on V890 ................................................................. Done 1 of 20 steps
    Installing VRTSob 3.2.514.0 on V890 ................................................................ Done 2 of 20 steps
    Adding patch 115209-16 on V890 ..................................................................... Done 3 of 20 steps
    Installing VRTSobgui 3.2.514.0 on V890 ............................................................. Done 4 of 20 steps
    Adding patch 115210-16 on V890 ..................................................................... Done 5 of 20 steps
    Installing VRTSvxvm 4.1 on V890 .................................................................... Done 6 of 20 steps
    Installing VRTSvmman 4.1 on V890 ................................................................... Done 7 of 20 steps
    Installing VRTSvmdoc 4.1 on V890 ................................................................... Done 8 of 20 steps
    Installing VRTSvmpro 4.1 on V890 ................................................................... Done 9 of 20 steps
    Installing VRTSfspro 4.1 on V890 .................................................................. Done 10 of 20 steps
    Installing VRTSalloc 4.1 on V890 .................................................................. Done 11 of 20 steps
    Installing VRTSddlpr 4.1 on V890 .................................................................. Done 12 of 20 steps
    Installing VRTSvrpro 4.1 on V890 .................................................................. Done 13 of 20 steps
    Installing VRTSvcsvr 4.1 on V890 .................................................................. Done 14 of 20 steps
    Installing VRTSjre 1.4 on V890 .................................................................... Done 15 of 20 steps
    Installing VRTSweb 4.2 on V890 .................................................................... Done 16 of 20 steps
    Installing VRTSvrw 4.1 on V890 .................................................................... Done 17 of 20 steps
    Installing VRTSvrdoc 4.1 on V890 .................................................................. Done 18 of 20 steps
    Installing VRTSap 2.00.023 on V890 ................................................................ Done 19 of 20 steps
    Installing VRTStep 1.20.028 on V890 ............................................................... Done 20 of 20 steps

Volume Manager installation completed successfully.

Press [Return] to continue: [ENTER]


                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                              

VxVM Licensing Verification:

    Checking VxVM license key on V890 ................................................................. Volume Manager Demo

Do you want to enter another license key for V890? [y,n,q,?] (n) n

VxVM licensing verified successfully.

Press [Return] to continue: [ENTER]

这一步可以选n的原因是因为,在另外一个窗口用vxlicinst命令已经将license加了进去!

                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                              

It is optional to configure VxVM now. If you choose to configure VxVM later, you can either do so manually or run the installvm
-configure command.
Are you ready to configure VxVM? [y,n,q] (y) [ENTER]

The enclosure-based naming scheme is a feature of Volume Manager. It allows one to reference disks using a symbolic name that is
more meaningful than the operating system's normal device access name.  This symbolic name is typically derived from the array
name.

Do you want to set up the enclosure-based naming scheme? [y,n,q,?] (n) [ENTER]

                                            VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                              

Configuring Volume Manager:


Volume Manager configured successfully.

Press [Return] to continue: [ENTER]

                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                               


Note: The vxconfigd daemon will be started, which can take a while depending upon the hardware configuration.

    Disabling enclosure-based naming on V890 ......................................................................... Done
    Starting vxconfigd for VxVM on V890 ........................................................................... Started

Volume Manager default disk group configuration:

Many Volume Manager commands affect the contents or configuration of a disk group. Such commands require that the user specify a
disk group.  This is accomplished by using the -g option of a command or setting the VXVM_DEFAULTDG environment variable.  An
alternative to these two methods is to configure the default disk group of a system.

Do you want to set up the default disk group for each system? [y,n,q,?] (y) [ENTER]

Specify a default disk group for system V890 or type 'l' to display a listing of existing disk group(s). [?] rootdg

You have decided to specify the default disk group as follows:

    Host: V890 ......................................................................................... Disk group: rootdg

Note: If 'nodg' is displayed, then the host will be configured to have no default disk group.

Is this correct? [y,n,q] (y) [ENTER]

Volume Manager default disk group setup and daemon startup

    Setting default disk group to rootdg on V890 ..................................................................... Done
    Starting vxcached on V890 ..................................................................................... Started

Volume Manager was started successfully.

Press [Return] to continue: [ENTER]

                                          VERITAS VOLUME MANAGER 4.1 INSTALLATION PROGRAM                               

Installation of Volume Manager 4.1 has completed successfully.

The installation summary is saved at:

        /opt/VRTS/install/logs/installer1018161006.summary

The installer log is saved at:

        /opt/VRTS/install/logs/installer1018161006.log

The installation response file is saved at:

        /opt/VRTS/install/logs/installer1018161006.response

2.安装vxvm4.1的MP1
# pwd
/opt/sun/storage_foundation_4.1/cd1
# cd ..
# ls
cd1    patch
# cd patch
# ls
READ_THIS_FIRST.pdf                     install_vp                              storage_foundation_cluster_file_system
cluster_server                          perl                                    storage_foundation_for_oracle_rac
cluster_server_agents                   scripts                                 support
file_system                             sf_ha.4.1.01.0.sol.tar_280360.gz        volume_manager
gnu                                     storage_foundation                      windows
# ./install_vp

                                        VERITAS 4.1 MAINTENANCE PACK 1 INSTALLATION PROGRAM                            

Copyright (c) 2005 VERITAS Software Corporation. All rights reserved.

VERITAS, the VERITAS Logo and all other VERITAS product names and slogans are trademarks or registered trademarks of VERITAS
Software Corporation. VERITAS and the VERITAS Logo Reg. U.S. Pat. & Tm. Off. Other product names and/or slogans mentioned herein
may be trademarks or registered trademarks of their respective companies.

Enter the system names separated by spaces on which to install MP1: V890

    Checking OS version on V890 ................................................................................. SunOS 5.9

Initial system check completed successfully.

Press [Return] to continue: [ENTER]

                                        VERITAS 4.1 MAINTENANCE PACK 1 INSTALLATION PROGRAM                             

Checking system installation requirements:

Checking MP1 installation requirements on V890:

    Checking available patches ........................................................................................... Done
    Checking VRTSalloc package .......................................................................... version 4.1 installed
    Checking VRTSddlpr package .......................................................................... version 4.1 installed
    Checking VRTSfspro package .......................................................................... version 4.1 installed
    Checking VRTSob package ....................................................................... version 3.2.514.0 installed
    Checking VRTSobgui package .................................................................... version 3.2.514.0 installed
    Checking VRTSvmpro package .......................................................................... version 4.1 installed
    Checking VRTSvxvm package ........................................................................... version 4.1 installed
    Checking VERITAS patch 119746 ............................................................................... not installed
    Checking VERITAS patch 119745 ............................................................................... not installed
    Checking VERITAS patch 119306 ............................................................................... not installed
    Checking VERITAS patch 115209 ......................................................................... 115209-16 installed
    Checking VERITAS patch 115210 ......................................................................... 115210-16 installed
    Checking VERITAS patch 120151 ............................................................................... not installed
    Checking VERITAS patch 117080 ............................................................................... not installed
    Checking for any Solaris patch issues ................................................................................ None
    Checking file system space .................................................................... required space is available

install_vp will install the following patches on V890:

        119746-02 to patch package VRTSalloc
        119745-01 to patch package VRTSddlpr
        119306-01 to patch package VRTSfspro
        115209-23 to patch package VRTSob
        115210-23 to patch package VRTSobgui
        120151-01 to patch package VRTSvmpro
        117080-04 to patch package VRTSvxvm

VERITAS Enterprise Administrator processes must be stopped before adding patches.


V890 must be rebooted following installation of Maintenance Pack 1

Do you want to stop these processes and install patches on V890? [y,n,q] (y) [ENTER]

    Checking vxsvc process ........................................................................................ not running

Installation requirement checks completed successfully.

Press [Return] to continue: [ENTER]

                                        VERITAS 4.1 MAINTENANCE PACK 1 INSTALLATION PROGRAM

                     

Installing MP1 on V890:

Installation of some patches may take a long time

    Adding patch 117080-04 on V890 ...................................................................... Done 1 of 7 steps
    Adding patch 119306-01 on V890 ...................................................................... Done 2 of 7 steps
    Adding patch 115209-23 on V890 ...................................................................... Done 3 of 7 steps
    Adding patch 115210-23 on V890 ...................................................................... Done 4 of 7 steps
    Adding patch 119745-01 on V890 ...................................................................... Done 5 of 7 steps
    Adding patch 119746-02 on V890 ...................................................................... Done 6 of 7 steps
    Adding patch 120151-01 on V890 ...................................................................... Done 7 of 7 steps

Maintenance Pack 1 installation completed successfully.

Press [Return] to continue: [ENTER]

                                        VERITAS 4.1 MAINTENANCE PACK 1 INSTALLATION PROGRAM                            

Installation of Maintenance Pack 1 4.1 has completed successfully.

The installation summary is saved at:

        /opt/VRTS/install/logs/install_vp1018161517.summary

The install_vp log is saved at:

        /opt/VRTS/install/logs/install_vp1018161517.log

The installation response file is saved at:

        /opt/VRTS/install/logs/install_vp1018161517.response

All systems must now be rebooted unless additional patches are to be added at this time

Execute '/usr/sbin/shutdown -y -i6 -g0' to properly restart your systems
# sync
# sync
# reboot

到这里只是装好了vxvm4.1的软件和补丁,封装根盘就用vxdiskadm去做了,相信很多人都会用这个命令了!这里就不在复述了!
还有镜像根盘在我以前的帖子里也有,这里也不多说了,大家找找吧!基本就这些了!

大家也可以用vea的图形界面去做mirror,易于操作和理解,不爱记命令的朋友可以用
阅读(439) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~