Saturday, January 26, 2008

Solaris 10 with VERITAS Volume Manager 5.0 in VMware

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


44 comments:

Anonymous said...

so where is the virtual appliance?

Unknown said...

I checked this page numrous time looking for appliance. What is given here a how to install and configure manually.

Vmware is so irrespnsible to post link w/o even checking.

Unknown said...

Dhanesh,

do you have an appliance to share with the community?

if so, please post a link

thanks

Adrian

The Undercover Man said...

I'm very pissed with that !!! Beside some errors that you're not saying on the installation (i.e. ssh will need SUNWgss to start properly) on Symantec SF Basic page says:

# Storage Foundation Basic 5.0 is available on the following platforms: Solaris 8, 9, 10 (SPARC)

http://www.symantec.com/business/theme.jsp?themeid=sfbasic

I really don't know how they allow you to publish that bullsh*t !!!!

Dhanesh said...

Sorry Guys . due to my slow net connection i couldnt upload the files .

I will try to upload by this weekend

JW said...

Still waiting for the appliance. Can't you find some other free hosting site that will host it for you? There's plenty out there.

Anonymous said...

Well, This is just a fake. Besides the content being WRONG and misleading in some aspects, there is no Virtual appliance. I will complain to VMware about not verifying their links, a waste of time.

Anonymous said...

Also,

Neither fsbasic nor the regular version supports x86 nowadays as far as i know, only x64:

System Requirements
Storage Foundation 5.0 Supported Operating Systems

* Solaris 8, 9 and 10 (SPARC)
* Solaris 10 (x64/Opteron)
* AIX 5.2 and 5.3
* HP-UX 11iv2 (PA-RISC and Itanium)
* Red Hat Enterprise Linux 4 (64-bit)
* Novell SUSE Linux Enterprise Server 9 (64-bit)
* Oracle Enterprise Linux

Any comment on that?

http://www.symantec.com/business/theme.jsp?themeid=sfbasic
http://www.symantec.com/business/products/sysreq.jsp?pcid=2245&pvid=203_1

The Undercover Man said...

Hey Sigmund,

I meant the same thing! It's not Ok for them to keep the link for this appliance...

Sorry Dhanesh, but you should reconsider your post about the VxVM...

Anonymous said...

I have contacted VMware and within a few hours got a response, the link is moved to a moderated area until an actual appliance download is provided here. They moved fast on this one.

Dhanesh said...

Chek the download link
Let me know if you have nay problem in downloding the files

Dhanesh said...

sigmund,
I have uploaded vmware files .If you find it usefull , you can re enable the link to this site from vmware .

Unknown said...

The download for part z02 does not work (anymore), it says 'file was deleted'.

¿Would you please upload the file back again?

Many thanks in advance!!

Yavuz said...

All three parts of the zip are missing from the hosting site. please upload again.
Thanks

Suneet said...

It displays the files are deleted.... where are the files....????

Dhanesh said...

Dont know how it got deleted .

Can some one suggest good site for hosting these files.
files size will be 350M.

Gerry Walterscheid, jr. said...

Receive the following errors...

$ unzip Solaris-Vm.zip
Archive: Solaris-Vm.zip
warning [Solaris-Vm.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
file #1: bad zipfile offset (local header sig): 4
file #2: bad zipfile offset (local header sig): 58
file #3: bad zipfile offset (local header sig): 1935
file #4: bad zipfile offset (local header sig): 3006
file #5: bad zipfile offset (local header sig): 4887
file #6: bad zipfile offset (local header sig): 6769
file #7: bad zipfile offset (local header sig): 882213
file #8: bad zipfile offset (local header sig): 1758009
file #9: bad zipfile offset (local header sig): 1759884
file #10: bad zipfile offset (local header sig): 1761764
file #11: bad zipfile offset (local header sig): 1762648
inflating: Solaris-Vm/Solaris10VVM/Solaris 10 (3).vmdk
inflating: Solaris-Vm/Solaris10VVM/Solaris 10.vmdk
extracting: Solaris-Vm/Solaris10VVM/Solaris 10.vmsd
inflating: Solaris-Vm/Solaris10VVM/Solaris 10.vmx
inflating: Solaris-Vm/Solaris10VVM/vmware-0.log
inflating: Solaris-Vm/Solaris10VVM/vmware-1.log
inflating: Solaris-Vm/Solaris10VVM/vmware-2.log
inflating: Solaris-Vm/Solaris10VVM/vmware.log
$

When I try to start the session within VMware I get this error...

File not found: Solaris 10 (2).vmdk

This file is required to power on this virtual machine. If this file was moved, please provide its new location.

Dhanesh said...

Problem is with your unzip version.

I have used winzip veriosn 11 .
if you unzip using latest winzip it should work fine

after unzipping you should get file Solaris 10 (2).vmdk with around 2.2GB

digithead said...

The posting says that the password for root is "root", but this is not working for me.

Unknown said...

Maybe I am the first but this a great work. It worked great for me on a VM on a Windows host. However I wonder how does the x86 veritas package works if vmware is emulating 32 bits processor? You installed the veritas 5.0 for 64bits however it is a 32bits system in the vmware how can that be?

Thanks for the work,
Nicolas.

Unknown said...

Hey Dhanesh,

How do i unzip the Solaris-Vm.z01-Solaris-Vm.z08 files ? have you splitted them using any file-splitter software. do we need to use any file-splitter software to recompile it ?

Yasir Mehmod said...

Is this is only command line interface or GUI can be available for this virtual appliance. Thanks for great post.

Anonymous said...

password is solaris and everything works fine if you follow the posters instructions.

Unknown said...

Hi Dhanesh , can u help me out to unzip this file Solaris-Vm.z06. i have downloaded winzip11 but i unable to unzip this can u please help me

Wating for ur repy

Unknown said...

Hi Dhanesh , can u help me out to unzip this file Solaris-Vm.z06. i have downloaded winzip11 but i unable to unzip this can u please help me

Unknown said...

hi

helloanoop said...

Hello Dhanesh,

I am using VMWare on my Windows XP with Solaris 10 x86.

Can you please provide VXVM appliance for solaris 10 x86 or any link for Veritas SF basic for x86 solaris ?

Thank you

Regards

~Anoop

Scottbernard said...

SF5.0 MP3: Solaris x64/Opteron
SHA1:1ca572fc154bf78241b17554d11ae103c8971c19 476 MB

works on x86 also. Its just not supported.

You can download it here
http://www.symantec.com/business/theme.jsp?themeid=sfbasic
I was able to install it in x86.

Unknown said...

Can any kind soul from this blog's reader help me with the following:

"Newbie needs help on Solaris 10 with VxVM appliance"

http://communities.vmware.com/message/1099082#1099082

Unknown said...

Please kindly reply on the VMware Community Forum:

http://communities.vmware.com/message/1099082

http://communities.vmware.com/message/1099082#1099082

kavaskar said...

Hi friends i need to create one file system on veritas
how to check how much free space is there and how to create 40gb file system plz explain all the detials

adawg said...

what is the login name i need to login!

Unknown said...

Is it possible to create vxfs filesystem on this?

Im unable to do so.

any help?

Unknown said...

Hi dhanesh
i have downloaded all 10 files can u please send the procedure of unzip and installation of the downloaded files i have already send a private messages also
waiting for u r replay

Unknown said...

Hi Dhanesh,

Did you try mounting Vxfs file system..I tried your appliance and i am getting below errors:

bash-3.00# mount -F vxfs /dev/vx/dsk/dtadg/datavol /data
UX:vxfs mount: ERROR: V-3-22168: Cannot open portal device: No such file or directory
grn
UX:vxfs mount: ERROR: V-3-25255: mount: You don't have a license to run this program
bash-3.00# hostname
sun50
bash-3.00#


Please advice..

thanks,
Amitabh

Unknown said...

man that error .. i have faced as wel.. while mounting

mount -F vxfs /dev/vx/dsk/dtadg/datavol /data
UX:vxfs mount: ERROR: V-3-22168: Cannot open portal device: No such file or directory
grn
UX:vxfs mount: ERROR: V-3-25255: mount: You don't have a license to run this program


please. if someone gets any idea get back to me on my skype account shakeel.qureshi1

Unknown said...

Hello Danesh,

Thanks for posting such a useful thing with us.

Just curious do you have the Solaris 10 x86 11/06 iso that you used to build the vmware machine. If you have can you please share it across, it will be a great help

thanks again.
-Sam

Amit said...

Thanks a ton!!

Murali Krishna said...
This comment has been removed by the author.
Murali Krishna said...

Hi Dhanesh,

This is 100% working, Thanks a lot!!! I am able to do vxmake and Vxassist commands..But i am unable to mount the filesystem..can you please suggetst what i need to do!!

Unknown said...

Hi Dhanesh,

This is awesome appliance..

Thank you
Ranjith.

Raja said...

Dude can you plz upload veriats cluster service on solaris in vmware plz im looking for it from lonfg time

Thankyou

Ranjith p Rajendran said...

Hi ,


I am looking for veritas volume manager software for solaris 32 bit to learn from my laptop.anybody can guide me to download the same.
Thanks,
Ranjith.R

Ranjith p Rajendran said...

Hi ,


I am looking for veritas volume manager software for solaris 32 bit to learn from my laptop.anybody can guide me to download the same.
Thanks,
Ranjith.R