veritas test setup via vmware on centos
I wanted to keep my veritas skills up to par, but I do not have an NetApp server or even a test box with multiple disk, Vmware to the rescue.
My setup is this
2.5Gb CentOS Host
2.5Gb Virtual Disk 1
2.5Gb Virtual Disk 2
2.5Gb Virtual Disk 3
2.5Gb Virtual Disk 4
I am using Veritas Storage Foundation Basic.
If you are setting up either a RedHat or CentOS server remember that
the drivers for RedHat are now LSI compilable. When creating a Vmware
server under Virtual Machine Configuration
check Custom.
The only other change beyond this point that you have to be aware of is when you get to I/O Adapter Types
be sure to select LSI Logic
SCSI adapter instead of the BusLogic
adapter.
That is it.
Once you discover the disks you should be able to list them via
ls -la /dev/sd? brw-rw---- 1 root disk 8, 0 Oct 21 09:46 /dev/sda brw-rw---- 1 root disk 8, 16 Oct 21 09:46 /dev/sdb brw-rw---- 1 root disk 8, 32 Oct 21 09:46 /dev/sdc brw-rw---- 1 root disk 8, 48 Oct 21 09:46 /dev/sdd brw-rw---- 1 root disk 8, 64 Oct 21 09:46 /dev/sde
Now simply create an empty table on the disks. I simply access the disks via fdisk. Once there simply type in ‘w’ once you see
Command (m for help): w
That should be it.
Now install the Veritas Storage Foundation rpm (sfbasic.4.1.02.0.rhel4_i686.tar.gz
)
Quick one liner
tar -zxvf sfbasic.4.1.02.0.rhel4_i686.tar.gz ; cd rhel4_i686/storage_foundation_basic ; ./installsf
Once you have installed SF find vxdisksetup.
find / -name vxdisksetup -type f
After that it is a matter of running the command on your disks.
for scsidisk in b c d e ; do /usr/lib/vxvm/bin/vxdisksetup -i "/dev/sd${scsidisk}" ; done
I ignored the errors that were outputted as a result seeing that vxdisk list
listed the new disks as online invalid
and not just as
After that I initiated the classic vxdiskadd
and added the disks to a disk group (dg) named storagedg.
That was it.
Comments Off
joel on October 21st 2007 in CentOS/RedHat, Operating Systems, Other Tech, Virtualization