Commit 30d18f6e9a55884ab2f09c2793501737d224b8bf

Authored by zhouhaihai
1 parent bde24ff1

服务器配置

@@ -14,12 +14,12 @@ cpath = root.."skynet/cservice/?.so" @@ -14,12 +14,12 @@ cpath = root.."skynet/cservice/?.so"
14 lua_cpath = "skynet/luaclib/?.so" 14 lua_cpath = "skynet/luaclib/?.so"
15 cluster = "./config/nodenames.lua" 15 cluster = "./config/nodenames.lua"
16 16
17 -codeurl = "10.235.14.37:9001" 17 +codeurl = "10.235.14.85:9001"
18 logd = 1 -- 是否开启日志 18 logd = 1 -- 是否开启日志
19 thread = 4 19 thread = 4
20 max_client = 2100 20 max_client = 2100
21 debug_port = 10001 21 debug_port = 10001
22 httpweb_port = 11001 22 httpweb_port = 11001
23 23
24 -serverType = "cb" 24 +serverType = "ob"
25 max_queue = 1000 25 max_queue = 1000
26 \ No newline at end of file 26 \ No newline at end of file
config/nodenames.lua
1 -center = "10.235.14.37:12000" 1 +center = "10.235.14.85:12000"
2 2
3 -server1 = "10.235.14.88:12001"  
4 -server2 = "10.235.14.223:12001"  
5 \ No newline at end of file 3 \ No newline at end of file
  4 +server1 = "10.235.14.30:12001"
  5 +server2 = "10.235.14.218:12001"
  6 +server3 = "10.235.14.217:12001"
  7 +server4 = "10.235.14.70:12001"
  8 +server5 = "10.235.14.224:12001"
6 \ No newline at end of file 9 \ No newline at end of file
config/server1.lua
@@ -2,8 +2,8 @@ include("basic.lua") @@ -2,8 +2,8 @@ include("basic.lua")
2 2
3 3
4 servId = 1 4 servId = 1
5 -redis_host = "10.235.0.167" 5 +redis_host = "10.235.0.138"
6 redis_port = 6379 6 redis_port = 6379
7 -redis_db = 1 7 +redis_db = 0
8 redis_auth = "VraDMcdX=Jq!Ess4" 8 redis_auth = "VraDMcdX=Jq!Ess4"
9 server_port = 20001 9 server_port = 20001
10 \ No newline at end of file 10 \ No newline at end of file
config/server2.lua
@@ -2,8 +2,8 @@ include("basic.lua") @@ -2,8 +2,8 @@ include("basic.lua")
2 2
3 3
4 servId = 2 4 servId = 2
5 -redis_host = "10.235.0.167" 5 +redis_host = "10.235.0.157"
6 redis_port = 6379 6 redis_port = 6379
7 -redis_db = 2 7 +redis_db = 0
8 redis_auth = "VraDMcdX=Jq!Ess4" 8 redis_auth = "VraDMcdX=Jq!Ess4"
9 server_port = 20002 9 server_port = 20002
config/server3.lua 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +include("basic.lua")
  2 +
  3 +
  4 +servId = 3
  5 +redis_host = "10.235.0.169"
  6 +redis_port = 6379
  7 +redis_db = 0
  8 +redis_auth = "VraDMcdX=Jq!Ess4"
  9 +server_port = 20002
config/server4.lua 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +include("basic.lua")
  2 +
  3 +
  4 +servId = 4
  5 +redis_host = "10.235.0.251"
  6 +redis_port = 6379
  7 +redis_db = 0
  8 +redis_auth = "VraDMcdX=Jq!Ess4"
  9 +server_port = 20002
config/server5.lua 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +include("basic.lua")
  2 +
  3 +
  4 +servId = 5
  5 +redis_host = "10.235.0.148"
  6 +redis_port = 6379
  7 +redis_db = 0
  8 +redis_auth = "VraDMcdX=Jq!Ess4"
  9 +server_port = 20002