-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to config wc run in *.server.exe seperatly? #251
Comments
Good evening. Below you will find what you need to do: Individual Server Configuration ================================= In this folder are example 'ini' files to run individual servers for each of the required services. Note: These files are NOT INCLUDED in the standard grid configuration. To use your configurations you will need to modify the '[Handlers]' section of 'WhiteCoreServer.ini' Example: To configure for a separate Asset Server the Configuration for the 'WhiteCore.Server.exe' instance could be changed to... ;; If you wish to run separate *.server.exe files, you will need ;; to comment this line and configure these services externally. ;Include-Single = Grid/ServerConfiguration/SingleServerInstance.ini Include-Simgle = Grid/IndividualServers/WhiteCore.AssetServer.ini In reality though this probably could be expanded upon as that seems to be the only information available. Keep in mind to if your only running a small grid or just starting out or even just taking WhiteCore-Sim for a test run you probably wont really even need to split up the instances for the grid services. |
Thank you very much. I've read this Readme.md file. But it make me misunderstand. If i modify the WhiteCore.Server.ini like the readme said. but which exe i could run to give assetservice? the WhiteCore.Server.AssetServer.exe or WhiteCore.Server.exe? if i run WhiteCore.Server.AssetServer.exe, it will promot [Config]: Configuration : ../Config, WhiteCore.AssetServer.ini, if i run WhiteCore.Server.exe, as it setup another grid(the database will contain all tables),that is weird。 |
the Config\Grid\IndividualServers\README.md, does not solve this question, will you please give an example ? thank you very much! |
Good morning, Yes it is a bit vague and there does need to be better documentation for this. In the meantime I did a bit of digging on this. The following steps should be of help
;; Set up WhiteCore-Server to run all of the services
Hope this is of a bit more help |
@emperorstarfinder ,Good morning, thank you for your help. for example, i want to run the world like: First, on pc-server, i modify the WhiteCore.Server.ini, comment "Include-Single = Grid/ServerConfiguration/SingleServerInstance.ini", and modify "Config\Grid\ServerConfiguration\GridSetup.ini" ,and run "grid_console.bat", it will listen on 8002,8003,8009 port. Second,on pc-asset, , i modify the WhiteCore.Server.ini, comment "Include-Single = Grid/ServerConfiguration/SingleServerInstance.ini", add "Include-Single =Grid/IndividualServers/WhiteCore.AssetServer.ini". Question one, need i modify other ini's? Question two, which exe file i should to run? the "WhiteCore.Server.AssetServer.exe" or the "WhiteCore.Server.exe"? but if i run WhiteCore.Server.AssetServer.exe, it will promot " [Config]: Configuration : ../Config, WhiteCore.AssetServer.ini"; if i run "WhiteCore.Server.exe", you will find the 8002\8003\8009\8010 opened on this pc. it's weird. and i found the database have the same tables as the pc-server. did I descripted the question clearly? |
I would recommend running the bat files for the actual server in the bin directory. the grid_console.bat is looking for them all and is acting like the ConsoleCombiner If you follow the steps I outlined by running WhiteCore.Server.AssetServer that should run just the asset server itself. |
@emperorstarfinder |
Can you post the error message it gives you when attempting to do this? It could help shed some light on the cause. |
the console just disappeared。 And when I in debug mode, i found it try to find WhiteCore.AssetServer.ini , and [server] node. |
if you look in the Data/logs directory for the console your attempting to run does this provide any additional messages? |
I cannot find the Data/logs,as if never created。I've tried to find the log file, but nothing found. i use the 0.9.4 version |
Hi, how to config wc run *server.exe seperately? if i try to run WhiteCore.Server.AssetServer.exe, even if i use -config, after that , the WhiteCore.Server.AssetServer.exe can not run. it said: [Config]: Configuration : ../Config, WhiteCore.AssetServer.ini
The text was updated successfully, but these errors were encountered: