flagflag  

Money-Server with two GridServers

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 .4 | Posted on 2011/6/19 1:42
Tairon  Just popping in   Posts: 19
Hello, with a question about the MoneyServer with more then one Grid-Servers;

i have one server with 2 regions an the implemented moneyserver. After each restart from the OpenSim-server i must adjust the balance-table ( differend IP ) , becouse the money-server can't find the UUID + IP. The IP willl change with each OpenSim Restart and implements a new data-row in the balance-table. This is the first. for this problem i have created a php-script to resove it.

but now:

The second: if i connect a second OpenSim-Server ( with two regions too ) to this Grid... i become problems, becouse the money-server opens a second balance in the balance table with his Grid-own IP. In the second OpenSim - Server i installed only the money-module and have all information in the economy section from the OpenSim.ini.

Hope it is understandable. ( sorry for my english )
Votes:125 Average:7.04
Previous post - Next post | Parent - No child | Posted on 2011/6/21 0:22
iseki  Home away from home   Posts: 1581
Hi Tairon and everybody,

In Maney Server, avatar is managed by UUID + User Server's IP (Robust Server's IP).
So, even if UUID is same, if User Server is different, avatar is also different.

This is an original specification of DTL Currency Server.
And DTL/NSL Money Server has succeeded to the this specification.

At two or more Grids, when UUID of avatars are same by a coincidence, it might be useful.
Or, cannot this happen?

Should I change this specification?
Votes:166 Average:3.92
Previous post - Next post | Parent - Children.1 | Posted on 2011/6/21 3:16
Tairon  Just popping in   Posts: 19
Hi Iseki,

thank you... i have a grid ( one Opensim-Server ) with all needed services and a second Opensim-server wihich looks for all database - requests and services to the first server. If i change with my avatar from server 1 to server 2 the balance will be "0". The money-server in Server 1 inserted a row for this Avatar with a different IP...sure...smiles... but the MoneyModule can't find for this Avatar any balance.

I resolved this with some SQL's in a php-script to adjust the balance-table. For this i extract and calculate all transactions again and putting the results in the balance table for each avatar ( ignoring the IP !!! ).. since now it works good but it is a workaround.

greetings from Tairon
Votes:79 Average:4.56
Previous post - Next post | Parent - Children.1 | Posted on 2011/6/22 16:07 | Last modified
iseki  Home away from home   Posts: 1581
Hi Trairon,

Sorry, I can not understand well.

What does "Opensim-Server" mean? Is it Robust Server or Region Server?

Are there two Region Servers?
If it is so, please check "UserServer" valiable at [Economy] secion in OpenSim.ini
At two Region Servers, is the same value(IP of Robust[User] Server) set?
Please do not set "localhost" or 127.0.0.1 to "UserServer".
If you use domainname(FQDN), please try to set same IP address.

Sample
[Economy]
   SellEnabled = "true"
   UserServer = "http://(UserServer's FQDN or IP address):8002/"        ;; not use localhost or 127.0.0.1
   CurrencyServer = "https://(MoneyServer's FQDN or IP address):8008/"  ;; not use localhost or 127.0.0.1
   EconomyModule  = DTLMoneyModule

   ;; Money Unit fee to upload textures, animations etc
   PriceUpload = 30
   ;; Money Unit fee to create groups
   PriceGroupCreate = 200


Or, does "two GridServers" mean that you have two Robust Servers?


Thanks.
Votes:145 Average:5.59
Previous post - Next post | Parent - No child | Posted on 2011/6/22 16:26 | Last modified
iseki  Home away from home   Posts: 1581
So ?

Server1:
Robust Server(Robust.exe)
Region Server(OpenSim.exe) with Grid Mode
Money Server(OpenSim.Grid.MoneyServer.exe)
MySQL Server

Server2:
Region Server(OpenSim.exe) with Grid Mode


If it is so, please set Server1's IP address to "UserServer" in OpenSim.ini of Server1 and Server2.

UserServer = "http://(Server1's IP address):8002/"
Votes:127 Average:5.83
Previous post - Next post | Parent - No child | Posted on 2011/6/24 16:04
Tairon  Just popping in   Posts: 19
Hello Iseki,

Yes, exactly ( your last post ) !! Sorry again for my englisch !
All my OpenSim.INI are correct. But if i restart the Robust - Server the MoneyServer can't find
the UUID@IP. so this UUID dont have balance enymore.

I will test : UserServer = "http://(Server1's IP address):8002/" ..... smiles and thank you !!
Votes:133 Average:3.76
Previous post - Next post | Parent - Children.1 | Posted on 2011/6/26 21:43
Tairon  Just popping in   Posts: 19
Hello again, it is unchanged. The money server will create a new balance row ( balance = 0 ) for each Robust Server start.
Votes:124 Average:5.08
Previous post - Next post | Parent - No child | Posted on 2011/6/28 15:54
iseki  Home away from home   Posts: 1581
Hi Tairon,

I am not good at English either, too. :)


We have two Grids now.

NSL TEST Grid: Total 2 Servers
http://www.nsl.tuis.ac.jp/xoops/modules/xoopensim/?action=map

TUIS Open Grid: Total Total 10 Servers
http://www.opensim.tuis.ac.jp/modules/xoopensim/?action=map

Money Server works well in these.
???
Votes:102 Average:2.94

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

35 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 35

more...

Access Counter

Today : 6647664766476647
Yesterday : 1361113611136111361113611
Total : 2364505423645054236450542364505423645054236450542364505423645054
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com