The material I've been using is:
- Solaris 10 U5 (5/08).
- Sun Cluster 3.2 U1.
- Logical Domains Manager 1.0.2
- 2 x T2000
I've setup on each T2000:
- 1 Control Domain.
- 1 Guest Domain.
So in this case, the cluster is between two guest domains of different physical systems.
I've used a Quorum Server installed on a small Ultra 5 as the "quorum device".
There's no shared storage so I've setup an Scalable Apache with an external NFS.
Remember that we need two virtual switches inside the guest domains to create the internal network of the Cluster.
Here we go!:
FIRST T2000
root@t2000:~> ldm ls
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 4G 0.9% 20m
delibes active -n--- 5000 16 2G 0.0% 7m
root@t2000:~> ldm ls -l delibes
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
delibes active -n--- 5000 16 2G 0.1% 8m
SOFTSTATE
Solaris running
VCPU
VID PID UTIL STRAND
0 4 0.6% 100%
1 5 0.0% 100%
2 6 0.0% 100%
3 7 0.0% 100%
4 8 0.0% 100%
5 9 0.0% 100%
6 10 0.0% 100%
7 11 0.0% 100%
8 12 0.1% 100%
9 13 0.0% 100%
10 14 0.0% 100%
11 15 0.0% 100%
12 16 0.1% 100%
13 17 0.0% 100%
14 18 0.0% 100%
15 19 0.0% 100%
MAU
CPUSET
(4, 5, 6, 7)
MEMORY
RA PA SIZE
0x8000000 0x108000000 2G
VARIABLES
auto-boot?=false
boot-device=/virtual-devices@100/channel-devices@200/disk@0:a disk net
keyboard-layout=US-English
NETWORK
NAME SERVICE DEVICE MAC
vnet0 primary-vsw0@primary network@0 00:14:4f:f8:7c:4b
vnet1 primary-vsw1@primary network@1 00:14:4f:f8:fb:f4
vnet2 primary-vsw2@primary network@2 00:14:4f:fb:89:9e
Three interfaces (it should be four):
- vnet0: public interface
- vnet1 and vnet2: cluster private network.
DISK
NAME VOLUME TOUT DEVICE SERVER
vdisk0 vol0@primary-vds0 disk@0 primary
globaldev globaldev@primary-vds0 disk@1 primary
Both disks are virtualized files. I used globaldev "disk" as the mountpoint for /globaldevices
VCONS
NAME SERVICE PORT
curso primary-vcc0@primary 5000
SECOND T2000:
root@t2000-2:~> ldm ls
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv SP 4 4G 0.6% 21m
melena active -n--- 5000 28 3G 0.0% 5m
root@t2000-2:~> ldm ls -l cardiologa
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
cardiologa active -n--- 5000 28 3G 0.0% 6m
SOFTSTATE
Solaris running
VCPU
VID PID UTIL STRAND
0 4 3.7% 100%
1 5 0.0% 100%
2 6 0.0% 100%
3 7 0.0% 100%
4 8 0.0% 100%
5 9 0.0% 100%
6 10 0.0% 100%
7 11 0.0% 100%
8 12 1.7% 100%
9 13 0.0% 100%
10 14 0.0% 100%
11 15 0.0% 100%
12 16 2.7% 100%
13 17 0.0% 100%
14 18 0.0% 100%
15 19 0.0% 100%
16 20 0.0% 100%
17 21 0.0% 100%
18 22 0.0% 100%
19 23 0.0% 100%
20 24 0.0% 100%
21 25 0.0% 100%
22 26 0.0% 100%
23 27 0.0% 100%
24 28 0.0% 100%
25 29 0.0% 100%
26 30 0.0% 100%
27 31 0.0% 100%
MEMORY
RA PA SIZE
0x8000000 0x108000000 3G
VARIABLES
auto-boot?=false
keyboard-layout=Spanish
NETWORK
NAME SERVICE DEVICE MAC
vnet0 primary-vsw0@primary network@0 00:14:4f:fa:28:88
vnet1 primary-vsw1@primary network@1 00:14:4f:f9:39:76
vnet2 primary-vsw2@primary network@2 00:14:4f:fa:8a:a8
DISK
NAME VOLUME TOUT DEVICE SERVER
vdisk0 vol0@primary-vds0 disk@0 primary
globaldev globaldev@primary-vds0 disk@3 primary
VCONS
NAME SERVICE PORT
cardiologa primary-vcc0@primary 5000
The first guest domain:
root@delibes:/> cat /etc/hosts
#
# Internet host table
#::1 localhost
127.0.0.1 localhost
10.164.17.25 delibes loghost
10.164.17.35 cardiologa
root@cardiologa:/> cat /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
10.164.17.35 cardiologa loghost
10.164.17.25 delibes
root@delibes:/> dladm show-link
vnet0 type: non-vlan mtu: 1500 device: vnet0
vnet1 type: non-vlan mtu: 1500 device: vnet1
vnet2 type: non-vlan mtu: 1500 device: vnet2
root@cardiologa:/> dladm show-link
vnet0 type: non-vlan mtu: 1500 device: vnet0
vnet1 type: non-vlan mtu: 1500 device: vnet1
vnet2 type: non-vlan mtu: 1500 device: vnet2
root@delibes:/> scinstall
*** Main Menu ***
Please select from one of the following (*) options:
* 1) Create a new cluster or add a cluster node
2) Configure a cluster to be JumpStarted from this install server
3) Manage a dual-partition upgrade
4) Upgrade this cluster node
5) Print release information for this cluster node
* ?) Help with menu options
* q) Quit
Option: 1
*** New Cluster and Cluster Node Menu ***
Please select from any one of the following options:
1) Create a new cluster
2) Create just the first node of a new cluster on this machine
3) Add this machine as a node in an existing cluster
?) Help with menu options
q) Return to the Main Menu
Option: 1
*** Create a New Cluster ***
This option creates and configures a new cluster.
You must use the Java Enterprise System (JES) installer to install the
Sun Cluster framework software on each machine in the new cluster
before you select this option.
If the "remote configuration" option is unselected from the JES
installer when you install the Sun Cluster framework on any of the new
nodes, then you must configure either the remote shell (see rsh(1)) or
the secure shell (see ssh(1)) before you select this option. If rsh or
ssh is used, you must enable root access to all of the new member
nodes from this node.
Press Control-d at any time to return to the Main Menu.
Do you want to continue (yes/no) [yes]? yes
>>> Typical or Custom Mode <<<
This tool supports two modes of operation, Typical mode and Custom. For most clusters, you can use Typical mode. However, you might need to select the Custom mode option if not all of the Typical defaults can be applied to your cluster. For more information about the differences between Typical and Custom modes, select the Help option from the menu.
Please select from one of the following options:
1) Typical
2) Custom
?) Help
q) Return to the Main Menu
Option [1]: 1
>>> Cluster Name <<<
Each cluster has a name assigned to it. The name can be made up of any characters other than whitespace. Each cluster name should be unique within the namespace of your enterprise.
What is the name of the cluster you want to establish []? ldomcluster
>>> Cluster Nodes <<<
This Sun Cluster release supports a total of up to 16 nodes. Please list the names of the other nodes planned for the initial cluster configuration. List one node name per line.
When finished, type Control-D:
Node name: delibes
Node name: cardiologa
Node name (Control-D to finish): ^D
This is the complete list of nodes: delibes cardiologa
Is it correct (yes/no) [yes]? yes
Attempting to contact "cardiologa" ... done Searching for a remote configuration method ... done
The Sun Cluster framework is able to complete the configuration process without
remote shell access. Press Enter to continue:
>>> Cluster Transport Adapters and Cables <<<
You must identify the cluster transport adapters which attach this node to
the private cluster interconnect.
For node "delibes",
What is the name of the first cluster transport adapter (help) []? vnet1
Will this be a dedicated cluster transport adapter (yes/no) [yes]? yes
Searching for any unexpected network traffic on "vnet1" ... done
Verification completed. No traffic was detected over a 10 second sample period.
For node "delibes",
What is the name of the second cluster transport adapter (help) []? vnet2
Searching for any unexpected network traffic on "vnet2" ... done
Verification completed. No traffic was detected over a 10 second sample period.
>>> Quorum Configuration <<<
Every two-node cluster requires at least one quorum device. By default, scinstall will select and configure a shared SCSI quorum disk device for you. This screen allows you to disable the automatic selection and configuration of a quorum device. The only time that you must disable this feature is when ANY of the shared storage in your cluster is not qualified for use as a Sun Cluster quorum device. If your storage was purchased with your cluster, it is qualified. Otherwise, check with your storage vendor to determine whether your storage device is supported as Sun Cluster quorum device. If you disable automatic quorum device selection now, or if you intend to use a quorum device that is not a shared SCSI disk, you must instead use clsetup(1M) to manually configure quorum once both nodes have joined the cluster for the first time.
Do you want to disable automatic quorum device selection (yes/no) [no]? yes
I did not set automatic quorum device selection, as we'll use a quorum server as the "quorum device".
Is it okay to create the new cluster (yes/no) [yes]? yes
During the cluster creation process, sccheck is run on each of the new cluster nodes. If sccheck detects problems, you can either interrupt the process or check the log files after the cluster has been established.
Interrupt cluster creation for sccheck errors (yes/no) [no]? no
Cluster Creation Log file - /var/cluster/logs/install/scinstall.log.921
Testing for "/globaldevices" on "delibes" ... done
Testing for "/globaldevices" on "cardiologa" ... done
Starting discovery of the cluster transport configuration.
The following connections were discovered:
delibes:vnet1 switch1 cardiologa:vnet1 delibes:vnet2 switch2 cardiologa:vnet2
Completed discovery of the cluster transport configuration.
Started sccheck on "delibes".
Started sccheck on "cardiologa".
sccheck failed for "delibes".
sccheck failed for "cardiologa".
The sccheck command failed on both of the nodes.
Refer to the log file for details. The name of the log file is /var/cluster/logs/install/scinstall.log.921.
Configuring "cardiologa" ... done
Rebooting "cardiologa" ...
Now everything is setup but we still need to set the quorum server. After this I used the clsetup command to remove "install flag" mode to complete the installation.
root@delibes:/> clq add -t quorum_server -p qshost=node12 -p port=9000 node12
root@delibes:/> clq status
=== Cluster Quorum ===
--- Quorum Votes Summary ---
Needed Present Possible
------ ------- --------
2 3 3
--- Quorum Votes by Node ---
Node Name Present Possible Status
--------- ------- -------- ------
cardiologa 1 1 Online
delibes 1 1 Online
--- Quorum Votes by Device ---
Device Name Present Possible Status
----------- ------- -------- ------
node12 1 1 Online
root@delibes:/> scstat
------------------------------------------------------------------
-- Cluster Nodes --
Node name Status
--------- ------
Cluster node: cardiologa Online
Cluster node: delibes Online
------------------------------------------------------------------
-- Cluster Transport Paths --
Endpoint Endpoint Status
-------- -------- ------
Transport path: cardiologa:vnet2 delibes:vnet2 Path online
Transport path: cardiologa:vnet1 delibes:vnet1 Path online
------------------------------------------------------------------
-- Quorum Summary --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 3
-- Quorum Votes by Node --
Node Name Present Possible Status
--------- ------- -------- ------
Node votes: cardiologa 1 1 Online
Node votes: delibes 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
----------- ------- -------- ------
Device votes: node12 1 1 Online
------------------------------------------------------------------
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
-- Device Group Status --
Device Group Status
------------ ------
-- Multi-owner Device Groups --
Device Group Online Status
------------ -------------
------------------------------------------------------------------
------------------------------------------------------------------
-- IPMP Groups --
Node Name Group Status Adapter Status
--------- ----- ------ ------- ------
IPMP Group: cardiologa sc_ipmp0 Online vnet0 Online
IPMP Group: delibes sc_ipmp0 Online vnet0 Online
------------------------------------------------------------------
As a test, I've also set up an Apache service (a scalable one) using an external NFS server as the shared storage.
root@delibes:/> clrg status
=== Cluster Resource Groups ===
Group Name Node Name Suspended Status
---------- --------- --------- ------
sa-rg delibes No Online
cardiologa No Offline
web-rg delibes No Online
cardiologa No Online
Just to check that the network is properly configured:
root@delibes:/> ifconfig -a
lo0: flags=20010008c9
inet 127.0.0.1 netmask ff000000
vnet0: flags=9000843
inet 10.164.17.25 netmask ffffff00 broadcast 10.164.17.255
groupname sc_ipmp0
ether 0:14:4f:f8:7c:4b
vnet0:1: flags=1040843
inet 10.164.17.24 netmask ffffff00 broadcast 10.164.17.255
vnet1: flags=1008843
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 0:14:4f:f8:fb:f4
vnet2: flags=1008843
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 0:14:4f:fb:89:9e
clprivnet0: flags=1009843
mtu 1500 index 5
inet 172.16.4.2 netmask fffffe00 broadcast 172.16.5.255
ether 0:0:0:0:0:2
Everything seems to work properly, but there are some obscure messages when switching the network from one node to the other:
May 9 15:31:58 cardiologa arp: [ID 994748 kern.notice] ar_query_xmit: Could not find the ace
BTW, these new updates offer a lot of flexibility and security, and the chance to recover cluster environments very fast.
38 comentarios:
this was very informative.
Can you please post the primary bindings as well.
I have a question how are the /globaledevices mounted on both nodes ... with a "did" or with "/dev/dsk"
thanks
Hi again,
I was trying all day to mount /globaldevices and I failed.
I'm using files as backend for the domain disks.
I tried mounting /globaldeices on :
1- local disk partition 3 (c0d0s3)
2- shared disk (c0d1s0) for nodeA and (c0d1s2) for nodeB
3- A secondary (non shared) disk, one for each domain. Here I tried:
i- mount it on a slice
ii- give it s2 slice
In all the above, /global/.devices/node@1 and /global/.devices/node@2 fail to be mounted on "did" devices and of course all my disks are offline.
PLEASE HELP!!!!
Hi Mina,
I virtualized one file as disk from both service domains. Then you have to mount as standard devices inside the guest domains on /globaldevices (remember to add an entry to the /etc/vfstab file).
Then, the cluster setup will take care of this mount point and will change it to /global, so you don't have to worry about did devices.
HTH,
Sergio.
[B]NZBsRus.com[/B]
Skip Idle Downloads With NZB Files You Can Swiftly Search Movies, PC Games, MP3 Albums, Software & Download Them at Blazing Speeds
[URL=http://www.nzbsrus.com][B]NZB Search[/B][/URL]
You could easily be making money online in the undercover world of [URL=http://www.www.blackhatmoneymaker.com]blackhat ebook[/URL], Don’t feel silly if you don't know what blackhat is. Blackhat marketing uses not-so-popular or misunderstood avenues to produce an income online.
Hey i am suuper boy
This is a topic which is near to my heart... Best wishes! Where are
your contact details though?
my blog post - inflammationreliefandmore.com
I’m not that much of a online reader to be honest
but your blogs really nice, keep it up! I'll go ahead and bookmark your site to come back down the road. Many thanks
Take a look at my web site esponjadelufa.com
There is certainly a great deal to learn about this topic.
I really like all the points you made.
My page ... buy followers on instagram
Supрressant pure green coffee extract wіll not generally іncrease уouг
metabolism and еnergу while suppressing yοur appetitе
or reducіng your сalorieѕ.
Green pure grеen coffee bean extгact haѕ bеen linκеd to a number of diffеrent геtaіlегs,
both on and οffline. Ϻore and more aгe affeсted by thiѕ conditіon.
Hаve you tгied other commοn slimming pіlls аnd
ordinаry dіеt tablets?
my webѕіte; www.jpknoxx.com.br
Does your website have a contact page? I'm having a tough time locating it but, I'd like
to send you an e-mail. I've got some ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it expand over time.
Feel free to surf to my blog post: refinishing hardwood floors
Wonderful goods from you, man. I've consider your stuff prior to and you're simply extremely wonderful.
I really like what you have obtained here, really like
what you are saying and the way in which
you are saying it. You are making it enjoyable and you continue to take care of to
keep it sensible. I cant wait to read much more from
you. This is really a great website.
My blog post diaper rash home remedies
Thankfulness to my father who shared with me concerning this webpage, this web site is really remarkable.
My webpage permanent hair straightening
Hello to every one, it's genuinely a fastidious for me to pay a visit this web page, it includes valuable Information.
Check out my page :: Coconut oil For hair
I feel this is one of the such a lot significant information for me.
And i am satisfied reading your article. But should remark on some general issues,
The site style is wonderful, the articles
is really great : D. Just right task, cheers
Here is my blog - www.sbwire.com
It's really a cool and useful piece of info. I'm happy that you shared this useful info with
us. Please keep us up to date like this. Thank you for sharing.
My site; stop body hair growth men
You ought to be a part of a contest for one of the best sites on the web.
I will highly recommend this website!
Look at my weblog female body cream
Wow, this article is good, my sister is analyzing these kinds of things, therefore
I am going to inform her.
Feel free to visit my blog post pagesfriends.com
hi!,I love your writing very much! percentage we be in contact extra about
your article on AOL? I require an expert on this area to resolve my problem.
Maybe that's you! Looking forward to see you.
Here is my web site; comment gagner de l'argent
Inspiring story there. What happened after? Take
care!
my web blog ... Weight loss diet
I visited several web sites however the audio quality for audio songs
present at this web site is in fact fabulous.
Feel free to surf to my blog post ... holiday weight loss tips
If you wish for to obtain a great deal from this piece of writing then
you have to apply such methods to your won webpage.
Also visit my blog :: simply click the next site
Very good article! We are linking to this particularly great post on our
website. Keep up the good writing.
Feel free to visit my web-site; remove hair
Hey! Do you use Twitter? I'd like to follow you if that would be ok. I'm undoubtedly enjoying your blog and look forward to new
updates.
Here is my web site; motorisation volet roulant
Hey there would you mind sharing which blog platform you're working with? I'm planning to start
my own blog soon but I'm having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking
for something completely unique. P.
S My apologies for getting off-topic but I had to ask!
Feel free to visit my website ... entrebailleur pour fenetre pvc
An interesting discussion is worth comment.
I think that you ought to write more about this issue, it
may not be a taboo matter but generally people don't discuss these subjects. To the next! All the best!!
Visit my homepage; parquet stratifie pas cher
I think that everything posted made a great deal of sense.
However, consider this, suppose you wrote a catchier post title?
I ain't suggesting your information is not good., but suppose you added a title to maybe get people's attention?
I mean "Install Sun Cluster 3.2 Update 1 between two guest LDOMS" is
a little vanilla. You should peek at Yahoo's front page and note how they create news headlines to grab viewers to click. You might try adding a video or a picture or two to get people interested about what you've got to
say. Just my opinion, it might make your blog a little bit more interesting.
Also visit my blog post phenixoption
Excellent post. Keep writing such kind of information on your page.
Im really impressed by it.
Hello there, You have performed a fantastic job.
I will definitely digg it and in my opinion recommend to
my friends. I am confident they'll be benefited from this web site.
My page; best male enhancement
Pretty portion of content. I just stumbled upon your site and in accession capital to claim
that I acquire in fact loved account your blog posts.
Any way I will be subscribing in your feeds or even I
achievement you get admission to persistently rapidly.
Feel free to surf to my blog gagner de l'argent
Hey there this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code
with HTML. I'm starting a blog soon but have no coding know-how so I wanted to get guidance from someone with experience. Any help would be greatly appreciated!
Here is my blog; twitter followers
What's up, I desire to subscribe for this website to take latest updates, therefore where can i do it please help.
My site: motoriser une porte de garage basculante
hello!,I like your authorship really so much!
proportionality you be in contact a bit more approximately the post on AOL?
I require an expert on this space to fix my personal problem.
Possibly that's you! Having a look ahead to see you.
My site ... related resource site
Hi I reach this website by mistakes after i was searching bing for acne issue,
I produce to say your site is really helpful I additionally love the design, it is amazing!
. we don't need the energy at the second to totally read your site but I need bookmarked it. I will become in return in a time or two. thanks
Stop by my web site acne skin
Hi there, I check your blogs on a regular basis.
Your humoristic style is awesome, keep doing what you're doing!
Feel free to visit my web-site - Eyelasticity Amazon
My spouse and I absolutely love your blog and find nearly all of your post's to be precisely what I'm looking
for. can you offer guest writers to write content to suit your needs?
I wouldn't mind composing a post or elaborating on a lot of the subjects you write about here. Again, awesome weblog!
My page prevent hair growth after waxing
Mariah also holds the distinction of being the only female vocalist who has had three singles debut
at the number one position. Blaze Of Glory - 1990 - From Jon's solo album "Young Guns II", this single got Jon a Golden Globe and an Academy Award nomination. Akon does well in R&B singer, songwriter, and record producer; he also sings in Senegalese.
Stop by my web blog :: Free Download Top 20 Music
I'm excited to uncover this site. I wanted to thank you for ones time for this fantastic read!!
I definitely really liked every bit of it and I have you bookmarked to look at new
stuff on your site.
Feel free to surf to my weblog - www.tintup.com
Publicar un comentario