Ashutosh Tripathi wrote:
> Enda O'Connor wrote:
>> Ashutosh Tripathi wrote:
>>> FYI,
>>>
>>> This is targeted more at the beginners, so experts beware!
>>> Also, the configuration it addresses is a 2 node cluster ACROSS
>>> two servers.
>>>
>>> I have seen many requests on the ldoms-discuss alias about how to
>>> configure a "cluster in a box". The only thing that would be
>>> different there from a cluster POV is that any virtual disks
>>> which are exported into multiple guest domains on the same box
>>> would need to have fencing disabled.
>>
>> So is it possible to export a vdisk to more than one guest with rw
>> access?
>
> Yes. You would need LDoms_1.2. This has been a confusing topic
> as the behaviour across different past releases has changed a bit. Look
> for a
> detailed response from Alex on this in the archives on the exact syntax to
> use etc.
>
> On the cluster side to disable fencing you would need SC32U2.
Hi
So I have ldoms 1.2 and SC 3.2 latest release + patches etc.
strangely enough I don't seem to be able to disable the fencing.
0. c0d0 <SUN-DiskImage-30GB cyl 65533 alt 2 hd 1 sec 960>
/virtual-devices at 100/channel-devices at 200/disk at 0
1. c0d1 <HITACHI-H101414SCSUN146G-SA25-136.73GB>
/virtual-devices at 100/channel-devices at 200/disk at 1
Specify disk (enter its number): ^D
root at guest1 # cldevice show /dev/rdsk/c0d1
cldevice: (C788842) Could not locate instance "/dev/rdsk/c0d1".
root at guest1 #
This is an internal disk exported to two guests via ldm add-vdsdev -f
option.
in primary I have
shared1
/dev/dsk/c2t5000CCA00053682Cd0s2
shared
/dev/dsk/c2t5000CCA00053682Cd0s2
I cannot use cldevice on any disk in any of my guests, except for the
root disk, which is a zfs based disk image, the other entire disks ( ie
added slice 2 of the disk to the vdisk server, then on a vdisks to my
guests ) cannot be seen via cldevice, perhaps I am doing something wrong
though.
Enda
>
> HTH,
> -ashu
>
>>
>> Enda
>>>
>>> If someone on the alias who has done "cluster in a box" has a
>>> blog or something to share their experiences, that would be
>>> great. If not, that could be a useful blog topic someone from
>>> the Cluster team would consider.
>>>
>>> HTH,
>>> -ashu
>>>
>>>
>>> -------- Original Message --------
>>> Subject: NEW! "How To Configure LDom Guest Domains As Solaris Cluster
>>> Nodes"
>>> Date: Thu, 13 Aug 2009 08:53:49 -0700
>>> From: Amour XXX <XXX at Sun.COM>
>>> To: XXX
>>> CC: XXX
>>>
>>> Greetings!
>>>
>>> "How To Configure LDom Guest Domains As Solaris Cluster Nodes" is
>>> complete and posted at sun.com!
>>>
>>> http://www.sun.com/software/solaris/howto_guides.jsp
>>> http://www.sun.com/software/solaris/pdf/cluster_ldoms_final_hi_res.pdf
>>>
>>> This is truly a collaboration of SC engineering, Systems technical
>>> marketing, and SC marketing. Thanks to XXX. We hope you will find
>>> this tool helpful.
>>>
>>> Please feel free to send us any feedback that you may have.
>>>
>>> Go Cluster!
>>>
>>> -Amour
>>> _______________________________________________
>>> ldoms-discuss mailing list
>>> ldoms-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>>