flagflag  If you want to see English page, please click "English" Button at Left.

Money-Server with two GridServers

  • このフォーラムに新しいトピックを立てることはできません
  • このフォーラムではゲスト投稿が禁止されています
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 .3 .4 | 投稿日時 2011-6-19 1:42
Tairon  Just popping in   投稿数: 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 )
投票数:125 平均点:7.04
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2011-6-21 0:22
iseki  Home away from home   投稿数: 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?
投票数:166 平均点:3.92
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2011-6-21 3:16
Tairon  Just popping in   投稿数: 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
投票数:78 平均点:4.49
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2011-6-22 16:07 | 最終変更
iseki  Home away from home   投稿数: 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.
投票数:145 平均点:5.59
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2011-6-22 16:26 | 最終変更
iseki  Home away from home   投稿数: 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/"
投票数:127 平均点:5.83
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2011-6-24 16:04
Tairon  Just popping in   投稿数: 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 !!
投票数:132 平均点:3.71
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2011-6-26 21:43
Tairon  Just popping in   投稿数: 19
Hello again, it is unchanged. The money server will create a new balance row ( balance = 0 ) for each Robust Server start.
投票数:123 平均点:5.12
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2011-6-28 15:54
iseki  Home away from home   投稿数: 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.
???
投票数:102 平均点:2.94

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

84 人のユーザが現在オンラインです。 (5 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 84

もっと...

アクセスカウンタ

今日 : 856856856
昨日 : 1412914129141291412914129
総計 : 2344646623446466234464662344646623446466234464662344646623446466
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com