免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 5794 | 回复: 24
打印 上一主题 下一主题

[讨论]Vertias Volume Manager安装维护[讨论] [复制链接]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-05-24 15:28 |只看该作者 |倒序浏览
安装Vertias Volume Manager 3.0.4
#cd /cdrom/cdrom0/pkgs/
#pkgadd -d .

下列软件包是可以使用的:
1  VRTSvmdev     VERITAS Volume Manager, Header and Library Files
(sparc) 3.0.4,REV=04.18.2000.10.00
2  VRTSvmdoc     VERITAS Volume Manager (user documentation)
(sparc) 3.0.4,REV=04.18.2000.10.00
3  VRTSvmman     VERITAS Volume Manager, Manual Pages
(sparc) 3.0.4,REV=04.18.2000.10.00
4  VRTSvmsa      VERITAS Volume Manager Storage Administrator
(sparc) 3.0.6,REV=04.03.2000.14.30
5  VRTSvxvm      VERITAS Volume Manager, Binaries
(sparc) 3.0.4,REV=04.18.2000.10.00
选择你要执行的软件包(或选择'全部'执行所有的软件包). (default: all) [?,??,q]: all
Installing VERITAS Volume Manager, Header and Library Files as <VRTSvmdev>; 回答y

Installation of <VRTSvmdev>; was successful.

Processing package instance <VRTSvmdoc>; from </export/home/VM.304/pkgs>; y

VERITAS Volume Manager (user documentation)
(sparc) 3.0.4,REV=04.18.2000.10.00
Copyright (c) 2000 VERITAS Software Corporation.
ALL RIGHTS RESERVED.
THIS SOFTWARE IS THE PROPERTY OF AND IS LICENSED BY VERITAS SOFTWARE,
AND/OR ITS SUPPLIERS.

  1  PostScript     
  2  PDF            

Select the document formats to be installed (default: all) [?,??,q]:all

Installing VERITAS Volume Manager (user documentation) as <VRTSvmdoc>;y

Installation of <VRTSvmdoc>; was successful.

Installing VERITAS Volume Manager, Manual Pages as <VRTSvmman>;

Installation of <VRTSvmman>; was successful.

Where should this package be installed? (default: /opt]) [?,q] [回车]

Should the Apache HTTPD (Web Server) included in this package be installed?
(default: n) [y,n,?,q] [回车]

Should the Volume Manager Storage Administrator Server be installed on this
system?
(The Volume Manager Storage Administrator Client will be installed regardless)
(default: y) [y,n,?,q] [回车]

Do you want to continue with the installation of <VRTSvmsa>; [y,n,?] y

Do you want to continue with the installation of <VRTSvmsa>; [y,n,?] y

Installing VERITAS Volume Manager Storage Administrator as <VRTSvmsa>;

Installation of <VRTSvmsa>; was successful.

Processing package instance <VRTSvxvm>; from </export/home/VM.304/pkgs>;

VERITAS Volume Manager, Binaries
(sparc) 3.0.4,REV=04.18.2000.10.00
Copyright (c) 1990-2000 VERITAS Software Corporation.
ALL RIGHTS RESERVED.
THIS SOFTWARE IS THE PROPERTY OF AND IS LICENSED BY VERITAS SOFTWARE,
AND/OR ITS SUPPLIERS.

        This package, VxVM 3.0.4, is supported on Solaris 2.5.1, 2.6,
        7, and 8.  You appear to be running Solaris 8.  Press
        ENTER to install VxVM 3.0.4 for Solaris 8, or enter
        another Solaris version number if you are certain that you
        want to install the drivers for a different release of
        Solaris.

        Install for which version of Solaris?
        [8, 7, 2.6, 2.5.1] (default: : [回车]
Installing VxVM for Solaris 8

  The following Sun patch(s) are required for Solaris 8.
  Sun patch(s):

Continue installation? [y,n,q,?] (default: n):y

The following files are being installed with setuid and/or setgid
permissions:
  /usr/sbin/vxprint <setuid root>;

Do you want to install these as setuid/setgid files [y,n,?,q] y

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <VRTSvxvm>; [y,n,?] y

Installing VERITAS Volume Manager, Binaries as <VRTSvxvm>;

Installation of <VRTSvxvm>; was successful.

2 安装Vertias Volume Manager补丁
  安装完补丁后重启机器
# sync;sync;reboot
3 在安装完成之后,需要安装Volume Manager的license.
#  vxlicense -c
输入license。
4 禁止Volume Manager dmp的功能
  删除vxdmp驱动程序。
# rm /kernel/drv/vxdmp
# rm /kernel/drv/sparcv9/vxdmp

  编辑 /etc/system 文件,删除vxdmp forceload 语句。
# vi /etc/system

删除或注释语句: forceload: drv/vxdmp
         结果:*forceload: drv/vxdmp

  删除dmp设备目录

# rm  -rf  /dev/vx/dmp
# rm  -rf  /dev/vx/rdmp

  建立关于dmp和rdmp的符号连接。

# ln  -s  /dev/dsk  /dev/vx/dmp
# ln  -s  /dev/rdsk  /dev/vx/rdmp

  重启机器
# sync;sync;reboot

创建rootdg
运行以下命令创建rootdg(前题是c0t0d0s4在系统安装是就已经预留,10m左右即可,不用浪费一个盘,rootdg在装机中不能切换到其他机器)
# vxconfigd -m disable
# vxdctl init
# vxdg init rootdg
# vxdctl add disk c0t0d0s4  type=simple
# vxdisk -f init c0t0d0s4 type=simple
# vxdg adddisk c0t0d0s4
# vxdctl enable
# rm /etc/vx/reconfig.d/state.d/install-db

创建rootdg以后用以下命令创建所需要的卷
在超级用户下运行以下命令:(以下是个简单的镜像的例子)
# /usr/lib/vxvm/bin/vxdisksetup -i c1t1d0
# /usr/lib/vxvm/bin/vxdisksetup -i c1t2d0
# /usr/lib/vxvm/bin/vxdisksetup -i c2t1d0
# /usr/lib/vxvm/bin/vxdisksetup -i c2t2d0

# vxdg init datadg01 datadg0101=c1t1d0
# vxdg -g datadg01 adddisk datadg0102=c2t1d0

# vxdg init datadg02 datadg0201=c1t2d0
# vxdg -g datadg02 adddisk datadg0202=c2t2d0

# vxassist -g datadg02 -U fsgen make vol-00 2000m layout=nolog datadg0201
# vxassist -g datadg01 -U fsgen make vol-01 10000m layout=nolog datadg0101
# vxassist -g datadg02 -U fsgen make vol-02 3000m layout=nolog datadg0201
# vxassist -g datadg02 -U fsgen make vol-03 2000m layout=nolog datadg0201
# vxassist -g datadg02 -U fsgen make vol-04 1000m layout=nolog datadg0201
# vxassist -g datadg02 -U fsgen make vol-05 12000m layout=nolog datadg0201

# vxassist -g datadg02 mirror vol-00 layout=nolog datadg0202
# vxassist -g datadg01 mirror vol-01 layout=nolog datadg0102
# vxassist -g datadg02 mirror vol-02 layout=nolog datadg0202
# vxassist -g datadg02 mirror vol-03 layout=nolog datadg0202
# vxassist -g datadg02 mirror vol-04 layout=nolog datadg0202
# vxassist -g datadg02 mirror vol-05up layout=nolog datadg0202

# newfs /dev/vx/rdsk/datadg02/vol-00
# newfs /dev/vx/rdsk/datadg01/vol-01
# newfs /dev/vx/rdsk/datadg02/vol-02
# newfs /dev/vx/rdsk/datadg02/vol-03
# newfs /dev/vx/rdsk/datadg02/vol-04
# newfs /dev/vx/rdsk/datadg02/vol-05

注:1、如果不是SUN的双机,去掉DMP的功能可以不做,(sun的cluster和Vertias Volume Manager的DMP功能冲突)
    2、如果裸设备用gen替代fsgen,不做newfs即可。


希望大家继续补充内容,比方做raid 5卷的命令、维护逻辑卷的命令,我实在没有时间写,(原来的文档中没有,自己有没有时间,同时也想学习“他山之石”)
cluster 的正在整理中。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2002-05-24 15:40 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

大家踊跃跟贴呀!!
只要把你们现有的系统的逻辑卷创建的过程或出现问题时的维护过程贴出来就行了。大家再讨论研究,其实这样就把他给搞清楚了。

论坛徽章:
0
3 [报告]
发表于 2002-05-24 15:42 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

真抱歉,老大:这个是干吗用的?

论坛徽章:
0
4 [报告]
发表于 2002-05-24 21:17 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

不错,谢谢!接下来大家可以探讨一些sun下面关于安全方面的文章!!!

论坛徽章:
0
5 [报告]
发表于 2002-05-24 22:51 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

1.我安装3.1.1,文档上的安装命令是pkgadd -d /cdrom/ CD_name/pkgs VRTSvxvm VRTSvmsa VRTSvmdoc VRTSvmman VRTSvmdev 。必须按照这个顺序安装的。
2.安装完的PATCH,有一次我没有打,结果用vmsa就不能正常工作。
3.怎么没有vxinstall进行封装或初始化的选择呢?
4.如果你懒,建议你用vmsa_server 和 vmsa 来管理。比较直观。

论坛徽章:
0
6 [报告]
发表于 2002-05-25 00:06 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

感谢bear,如能如fancy的愿就更好了,呵呵

论坛徽章:
0
7 [报告]
发表于 2002-05-25 09:19 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

到什么地方可以找到cd呀!用disksuite不是也可以做到吗?它们有什么区别吗
bear给好好介绍介绍呀

论坛徽章:
0
8 [报告]
发表于 2002-05-26 12:49 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

   有什么用,装了还不是要license!

论坛徽章:
0
9 [报告]
发表于 2002-05-26 19:38 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

我没有license啊,没法试

论坛徽章:
1
狮子座
日期:2013-09-02 12:10:41
10 [报告]
发表于 2002-05-27 01:23 |只看该作者

[讨论]Vertias Volume Manager安装维护[讨论]

下面引用由dqiu2002/05/24 10:51pm 发表的内容:
1.我安装3.1.1,文档上的安装命令是pkgadd -d /cdrom/ CD_name/pkgs VRTSvxvm VRTSvmsa VRTSvmdoc VRTSvmman VRTSvmdev 。必须按照这个顺序安装的。
2.安装完的PATCH,有一次我没有打,结果用vmsa就不能正常工作 ...
1。安装必须先安装VRTSvxvm包,其他的随意!VRTSvxvm是vm的基本包!
2。怎么个不能工作法?VM304及以前的版本在2。6的版本后一般打了推荐patch后不用打别的patch,3。1。1没试过!
3。你用vxinstall不就是要输入vlicense,和封装rootdg吗!
4。我也觉的vmsa比较简单,建议大家用它!哈哈!懒人!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP