Money-Server with two GridServers
- このフォーラムに新しいトピックを立てることはできません
- このフォーラムではゲスト投稿が禁止されています
Tairon
投稿数: 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 )
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
iseki
投稿数: 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?
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
Tairon
投稿数: 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
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
Re: Money-Server with two GridServers
msg# 1.2.1
iseki
投稿数: 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.
Or, does "two GridServers" mean that you have two Robust Servers?
Thanks.
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
Re: Money-Server with two GridServers
msg# 1.2.1.1
iseki
投稿数: 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/"
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
Tairon
投稿数: 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 !!
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
Tairon
投稿数: 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
Re: Money-Server with two GridServers
msg# 1.4.1
iseki
投稿数: 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.
???
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