Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Static Cluster PU

Hi

I am trying to deploy PU with static cluster topology. Attaching the PU and gsc log. When I deploy the same pu in 6.5.1 it works fine but not able to get it working in 6.6.2.

It is always trying to read wrong member name. I tried changing accordingly in clusterconfig xml but didn't help much. I am not able to understand where it is getting that name.

Error: An attempt to create CLUSTERED SPACE failed. This member: SC_DS2_container13:SC_DS2 must be defined at least in one group member in partitioned CLUSTER CONFIG XML file.

It would be great if any one can point to some 6.6.2 static cluster working sample.

Running Attached PU

  1. Copy all .bat file from statis_cluster to <gig-home>/bin
  2. Copy static_cluster folder to <gig-home>/deploy 3.. Run sc.bat from <gig-home>/bin
  3. Rung scdeploy.bal from <gig-home>bin

-Venkat h4. Attachments

[pu.xml|/upfiles/13759712668057693.xml]

[test1.zip|/upfiles/13759712666059593.zip]

[static-cluster.zip|/upfiles/13759712668119694.zip]

[gigaspaces_gsc_0_3.log|/upfiles/13759712661191094.txt]

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2822]{quote}

asked 2009-01-22 08:47:37 -0600

venkatg gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

When using this approach to start the cluster the container name is generated based on the following convention:
SpaceName_containerMemberID

If you want to use custom container name (to match the cluster config) you will need to start each space as different bean and have a different URL for it to include the full java protocol URL:
java://localhost:10098/containerName/SpaceName?schema=default&properties=props

The static cluster config location should be set via the properties file or via the space schema file.

Shay

Attachments

  1. pu.xml

answered 2009-01-23 22:18:03 -0600

shay hassidim gravatar image
edit flag offensive delete link more
0

Here basically my intension is very simple.

I want space URL's to be what I give in clusterconfig or xpath-overrides. Here I am attaching a simple pu. I donno why but always my space url is jini:///mySpace_container1/mySpace even I specified as jini:///mySpace_1/mySpace in my cluster config.

Any comment on how it can be done or can not be done would be great.

-Venkat h4. Attachments

[pu.xml|/upfiles/13759712678325814.xml]

[test1.zip|/upfiles/13759712671807414.zip]

answered 2009-01-23 08:27:11 -0600

venkatg gravatar image
edit flag offensive delete link more

Comments

Even if I use properties or use Xpath overrides the effect should be the same right.

Can you give me more info on how to define replication if I deploy each space as a separate bean.

I think I am doing the same defining fully qualified cluster members in properties file.

-Venkat

Edited by: venkat gunnu on Jan 26, 2009 10:03 AM h4. Attachments

[pu.xml|/upfiles/13759712673660049.xml]

venkatg gravatar imagevenkatg ( 2009-01-26 10:02:28 -0600 )edit

See attached simple pu.xml shows how you can use static cluster.
Shay

Attachments

  1. pu.xml
shay hassidim gravatar imageshay hassidim ( 2009-01-26 10:26:04 -0600 )edit

Thanks Shay.. that works

One more question.
Is it possible to have sla's for each bean defined in pu.xml or I need to deploy every thing as a separate PU?

-Venkat

venkatg gravatar imagevenkatg ( 2009-01-26 16:46:38 -0600 )edit

I guess you want each space to be provisioned into a specific HOST. The platform capabilities or the instance level SLA would allow you to do this. Shay

shay hassidim gravatar imageshay hassidim ( 2009-01-26 17:00:19 -0600 )edit

And u will need also a seperate PU for each node.

Shay

shay hassidim gravatar imageshay hassidim ( 2009-01-26 18:07:49 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-01-22 08:47:37 -0600

Seen: 47 times

Last updated: Jan 23 '09