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

Ask Your Question
0

Pu for 2 member partition-sync2backup cluster

Hi

I am trying to deploy a service grid with 2 members partitioned-sync2backup cluster with some system capabilities. When I try to define system capabilities in pu.xml it is showing primary and backups as expected in spaceBrowser but when I see them in deployments, details tab it is showing every member as primary. Following is pu.xml. When I don't use "os-sla:instance-SLAs" show perfect.

http://www.springframework.org/schema... http://www.openspaces.org/schema/core http://www.openspaces.org/schema/core... http://www.openspaces.org/schema/events http://www.openspaces.org/schema/even... http://www.openspaces.org/schema/remo... http://www.openspaces.org/schema/remo... http://www.openspaces.org/schema/sla http://www.openspaces.org/schema/sla/...>

<bean id="propertiesConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>

<os-sla:sla cluster-schema="partitioned-sync2backup" number-of-instances="2" number-of-backups="1"
            max-instances-per-vm="1">
    <os-sla:instance-SLAs>
        <os-sla:instance-SLA instance-id="1">
            <os-sla:requirements>
                <os-sla:host ip="10.10.26.129"/>
            </os-sla:requirements>
        </os-sla:instance-SLA>
        <os-sla:instance-SLA instance-id="1" backup-id="1">
            <os-sla:requirements>
                <os-sla:host ip="10.10.26.128"/>
            </os-sla:requirements>
        </os-sla:instance-SLA>
        <os-sla:instance-SLA instance-id="2">
            <os-sla:requirements>
                <os-sla:host ip="10.10.26.128"/>
            </os-sla:requirements>
        </os-sla:instance-SLA>
        <os-sla:instance-SLA instance-id="2" backup-id="1">
            <os-sla:requirements>
                <os-sla:host ip="10.10.26.129"/>
            </os-sla:requirements>
        </os-sla:instance-SLA>
    </os-sla:instance-SLAs>
</os-sla:sla>

<os-core:space id="space" url="/./myPartitionedSpace" />

</beans>

Thanks h4. Attachments

[partition-cluster.GIF|/upfiles/13759716309377843.gif]

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

asked 2008-08-27 12:22:02 -0600

venkatg gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

This sounds as a UI bug.
Do you see these Space view shows the right icons for the spaces at the left side tree and also when clicking the spaces tree node you see the spaces with their right mode shows on the list?

Can you explain the reason for deploying the spaces using system capabilities? Are you trying to place a space on a specific machine?

Shay

Attachments

  1. partition-cluster.GIF

answered 2008-08-27 15:13:05 -0600

shay hassidim gravatar image
edit flag offensive delete link more

Comments

thanks for reply shay

yes I am trying to put a particular space on particular machine. I will try to send the screen shots what exactly i meant. h4. Attachments

[partition-cluster.GIF|/upfiles/13759716308252187.gif]

venkatg gravatar image venkatg  ( 2008-08-27 18:59:13 -0600 )edit

hey Shay

Here I am attaching the screen shots. Let me know what should I do. h4. Attachments

[partition-cluster.GIF|/upfiles/13759716319284206.gif]

venkatg gravatar image venkatg  ( 2008-08-28 15:21:29 -0600 )edit

If the spaces appears correctly as primary and backup within the space view you should be OK. The reason for this difference in the Deployment details is the way the low level deployment engine is called and the way the UI is interpreting these (separate service bean vs. another instance of the same bean).

Shay

shay hassidim gravatar image shay hassidim  ( 2008-08-28 15:34:04 -0600 )edit

thanks ... its working as expected.

venkatg gravatar image venkatg  ( 2008-08-29 07:36:56 -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: 2008-08-27 12:22:02 -0600

Seen: 126 times

Last updated: Aug 27 '08