免费注册 查看新帖 |

Chinaunix

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

[备份软件] Solaris10 with VERITAS Volume Manager5.0 in VMware [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-22 16:13 |只看该作者 |倒序浏览
ZZ:
http://kdhanesh.blogspot.com/2008/01/solaris-10-with-veritas-volume-manager.html

This setup will be very useful for experienced administrator to test/practice various volume manager configurations. I have used normal PC with 1Gb Ram/and 40gb hdd. Base OS is running on fedora
If you want to connect VMware console remotely from your desktop
Login to Linux box and find wmware authentication service port number
# grep vmware-authd /etc/services
vmware-authd 904/tcp
verify vmware –authd service is running using
#netstat –a grep vmware-authd
tcp 0 0 *:vmware-authd *:* LISTEN
Open VMware console from your system
Select remote host and specify ipaddress:portnumber and give login as root
192.168.80.5:904
Configuration
.I have installed Base Solaris 10 package with some addition packages which will enable to install Storage Foundation suite .
VERITAS storage foundation 5.0 for x86 is free downloadable from VERITAS site and you create maximum 4 volume with free version .
Since I’m not using any Xwindow manager I have chosen following configuration for Solaris 10 in vmware
Memory : 256m
HDD : 2 * 3 GB SCSI rootdisk/mirrodisk
HDD 1GB * 6 SCSI HDD.
Crete HDD based on your requirement and HDD availability
NIC : 1
Note : Make sure you are creating SCSI disks only .Volume manager will not work with IDE DISK.
Download packages

I have downloaded all the required packages on my Linux server and shared across NFS.
Since I’m using a 3gb disk for bootdisk its better to store source package outside the virtual machine
Download all packages to /home/downloads
10_x86_Recommended.zip
sxrt5.0x64_x86_5.0x64a.dvd2.tar.gz
unzip 10_x86_Recommended.zip
mkdir Veritas
cd Veritas
tar zxvf ../ sxrt5.0x64_x86_5.0x64a.dvd2.tar.gz
Installation
Partition
S0 / 2.4Gb
S1 swap 512mb
Install Solaris reduced network configuration .once system is booted with minimal Solaris add additional packages .most of these packages are available in Solaris 10 disk 2
Source Compatibility :SUNWscpr
SUNWscpu
Bash : SUNWbash
OD :SUNWtoo
SSH packages :SUNWsshcu
SUNWsshdr
SUNWsshdu
SUNWsshr
SUNWsshu
OD and Source campatibilty pakages are must,otherwise veritas installation will fail
Enable ssh
# svcadm enable ssh
Install Solaris 10 recommended patch cluster.
#mount 172.16.166.1: /home/downloads -o vers=3 /mnt
#cd 10_x86_Recommended
#./install_cluster
# init 6
Install Storage Foundation 5.0.
#mount 172.16.166.1: /home/downloads -o vers=3 /mnt
#cd /mnt/Veritas/cd storage_foundation_basic
#./installsf
After succefull installation of SF reboot the system
# init 6
Configure VVM
Encapsulate rootdisk
# vxdiskadm –option 2..
system requires reboot …
once encapsulation is over add second disk to rootdg
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdg01 rootdg online
c1t1d0s2 auto:none - - online invalid
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
c2t0d0s2 auto:none - - online invalid
c2t1d0s2 auto:none - - online invalid
c2t2d0s2 auto:none - - online invalid
bash-3.00#
CDSDISk type will not be supported by this configuration so use
#/etc/vx/bin/vxdisksetup -i c1t1d0s cds=off
#vxdg –g rootdg adddisk rootmirror=c1t1d0s
#vxdiskadm -->use option 6 to mirror volume
bash-3.00# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdg01 rootdg online
c1t1d0s2 auto:sliced rootmirror rootdg online
c1t2d0s2 auto:none - - online invalid
c1t3d0s2 auto:none - - online invalid
c1t4d0s2 auto:none - - online invalid
c2t0d0s2 auto:none - - online invalid
c2t1d0s2 auto:none - - online invalid
c2t2d0s2 auto:none - - online invalid
VMware appliance
I have created a VMware appliance using above procedure
configuration for Virtul machine
Memory : 256Mb
OS Disk : 3GB * 2
other Disks: 1G * 6
Network : DHCP
root password : solaris
I have uploaded files to 4shared site
you need to down load all 9 zip files and extract .use winzip 11 for extract
http://www.4shared.com/dir/8310080/5cdfb5f2/Veritas.html


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/105494/showart_2157896.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP