Kết quả 1 đến 8 của 8
Chủ đề: [S-R-O] Tut chạy 2 GS
-
22-11-11, 10:59 AM #1
- Ngày tham gia
- Nov 2008
- Đang ở
- Usa
- Bài viết
- 683
- Thanks
- 45
- Thanked 152 Times in 66 Posts
[S-R-O] Tut chạy 2 GS
Đầu tiên ta phải hiểu GS đã giới hạn nên sẽ không thể vừa load map vừa load monster
Để khắc phục ta phải dùng 2 GS để chia nhau ( có thể là 3 4 5 6 gs tùy các bạn nhưng ở đây mình hướng dẫn làm 2 gs )
Chúng ta bắt đầu
Chép nội dung của các file sau đây vào :
SrNodeData.ini
Code:[global]count=12 [entry0] node_id=697 operation_type=22 global_operation_id=0 associated_shard_id=0 node_type=335 service_type=2 certification_node_id=1 port=15880 node_icon=4 u1=144 u2=22 u3=24 u4=1 u5=248 u6=146 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=0 u16=0 u17=0 u18=0 u19=0 u20=0 [entry1] node_id=1 operation_type=0 global_operation_id=0 associated_shard_id=0 node_type=335 service_type=1 certification_node_id=0 port=32000 node_icon=5 u1=40 u2=22 u3=24 u4=1 u5=216 u6=99 u7=19 u8=1 u9=0 u10=0 u11=0 u12=0 u13=0 u14=0 u15=0 u16=0 u17=0 u18=0 u19=0 u20=0 [entry2] node_id=698 operation_type=22 global_operation_id=0 associated_shard_id=0 node_type=335 service_type=4 certification_node_id=697 port=15779 node_icon=0 u1=96 u2=23 u3=24 u4=1 u5=48 u6=148 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=0 u16=0 u17=0 u18=0 u19=0 u20=0 [entry3] node_id=699 operation_type=22 global_operation_id=0 associated_shard_id=0 node_type=335 service_type=11 certification_node_id=697 port=25880 node_icon=0 u1=56 u2=26 u3=24 u4=1 u5=48 u6=148 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=0 u16=0 u17=0 u18=0 u19=0 u20=0 [entry4] node_id=700 operation_type=22 global_operation_id=0 associated_shard_id=0 node_type=335 service_type=3 certification_node_id=697 port=15881 node_icon=0 u1=248 u2=22 u3=24 u4=1 u5=96 u6=147 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=0 u16=0 u17=0 u18=0 u19=0 u20=0 [entry5] node_id=701 operation_type=22 global_operation_id=0 associated_shard_id=0 node_type=336 service_type=11 certification_node_id=697 port=25880 node_icon=0 u1=56 u2=26 u3=24 u4=1 u5=96 u6=147 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=0 u16=0 u17=0 u18=0 u19=0 u20=0 [entry6] node_id=704 operation_type=22 global_operation_id=20 associated_shard_id=0 node_type=335 service_type=5 certification_node_id=697 port=15882 node_icon=0 u1=200 u2=23 u3=24 u4=1 u5=152 u6=148 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=17 u16=1 u17=0 u18=0 u19=0 u20=0 [entry7] node_id=705 operation_type=22 global_operation_id=20 associated_shard_id=64 node_type=335 service_type=7 certification_node_id=704 port=15883 node_icon=0 u1=152 u2=24 u3=24 u4=1 u5=0 u6=149 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=17 u16=1 u17=168 u18=102 u19=18 u20=1 [entry8] node_id=707 operation_type=22 global_operation_id=20 associated_shard_id=64 node_type=335 service_type=6 certification_node_id=704 port=15884 node_icon=0 u1=48 u2=24 u3=24 u4=1 u5=104 u6=149 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=17 u16=1 u17=168 u18=102 u19=18 u20=1 [entry9] node_id=713 operation_type=22 global_operation_id=20 associated_shard_id=64 node_type=335 service_type=8 certification_node_id=704 port=15885 node_icon=0 u1=0 u2=25 u3=24 u4=1 u5=160 u6=150 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=17 u16=1 u17=168 u18=102 u19=18 u20=1 [entry10] node_id=715 operation_type=22 global_operation_id=20 associated_shard_id=64 node_type=336 service_type=8 certification_node_id=704 port=15779 node_icon=0 u1=0 u2=25 u3=24 u4=1 u5=8 u6=151 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=17 u16=1 u17=168 u18=102 u19=18 u20=1 [entry11] node_id=709 operation_type=22 global_operation_id=20 associated_shard_id=64 node_type=336 service_type=6 certification_node_id=704 port=15886 node_icon=0 u1=48 u2=24 u3=24 u4=1 u5=208 u6=149 u7=19 u8=1 u9=64 u10=160 u11=17 u12=1 u13=0 u14=0 u15=17 u16=1 u17=168 u18=102 u19=18 u20=1
Code:[global]count=19 [entry0] id=1227 child_node_id=697 parent_node_id=1 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry1] id=1228 child_node_id=698 parent_node_id=697 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry2] id=1229 child_node_id=699 parent_node_id=697 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry3] id=1230 child_node_id=697 parent_node_id=700 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry4] id=1231 child_node_id=697 parent_node_id=701 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry5] id=1232 child_node_id=704 parent_node_id=697 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry6] id=1233 child_node_id=705 parent_node_id=704 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry7] id=1234 child_node_id=707 parent_node_id=704 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry8] id=1235 child_node_id=713 parent_node_id=704 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry9] id=1236 child_node_id=707 parent_node_id=713 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry10] id=1237 child_node_id=715 parent_node_id=704 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry11] id=1238 child_node_id=707 parent_node_id=715 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry12] id=1239 child_node_id=707 parent_node_id=705 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry13] id=1240 child_node_id=709 parent_node_id=704 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry14] id=1241 child_node_id=709 parent_node_id=713 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry15] id=1242 child_node_id=709 parent_node_id=715 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry16] id=1243 child_node_id=709 parent_node_id=705 p_label=1 u1=0 u2=0 u3=0 u4=0 u5=0 [entry17] id=1244 child_node_id=713 parent_node_id=705 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0 [entry18] id=1245 child_node_id=715 parent_node_id=705 p_label=0 u1=0 u2=0 u3=0 u4=0 u5=0
Code:[global]count=2 [entry0] id=335 operation_type=22 name=Paradise wip= ip máy 1 nip= ip máy 1 machine_manager_node_id=700 [entry1] id=336 operation_type=22 name=Paradise wip= ip máy 2 nip= ip máy 2 machine_manager_node_id=701
a. Mở SQL Server Surface Area Configuration.
[Only registered and activated users can see links. ]
b. Lựa chọn Surface Area Configuration for Services and Connections.
[Only registered and activated users can see links. ]
c. Ở bên trái Mở rộng SQL Server instance -> Database Engine -> Remote Connections. Và ở bên phải, Lựa chọn Local and remote connections -> using both TCP/IP and named pipes.
[Only registered and activated users can see links. ]
d. Ở bên trái, Lựa chọn SQL Server Browser -> Service.
Và ở bên phải, nếu Startup type là Disable, bạn cần đổi thành Automatic và click Apply sau đó click Start button để start service. Cuối cùng click OK.
[Only registered and activated users can see links. ]
Tiếp đến là cấu hình map để nó nhận biết xem là GS1 hay GS2 load
Vào database Shard tìm bảng _RefRegionBindAssocServer chuột phải chọn Open . Cột AssocServer sẽ làm nhiệm vụ này. Các bạn chọn 0 ( không mở map này ) 1 ( GS 1 load map này ) và 2 ( GS2 sẽ load map này )
Cuối cùng là run server
Ở máy chủ 1 bạn run như bình thường
Ở máy chủ 2 các bạn coppy server qua và run : Machine.exe , Angent.exe và SR_Gameserver.exe
Xong tất cả thì mới bắt đầu start CMS nếu không sẽ gặp lỗi sv đang sửa
P/s : Nhớ mở thêm port 1433 cho server : tuy nhiên sẽ bị hack. Các bạn mở online thì chịu khó tìm hiểu thêm firewall là ổn
Chúc các bạn thành côngKhách viếng thăm hãy cùngmylove09xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
The Following 10 Users Say Thank You to mylove09 For This Useful Post:
btbaotrung90 (02-07-22), hellofun (22-11-11), kelly (22-11-11), kiepvesau96 (11-12-11), nghiadht (08-12-21), o0Shun0o (15-01-15), shinelab (22-11-11), snowk49 (13-12-11), thanhtunghk (22-11-11)
-
22-11-11, 11:14 AM #2
Ðề: [S-R-O] Tut chạy 2 GS
Mọi Người thank đi thôi chứ còn gì nữa
Khách viếng thăm hãy cùng kelly xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
22-11-11, 11:21 AM #3
- Ngày tham gia
- Nov 2011
- Bài viết
- 90
- Thanks
- 28
- Thanked 11 Times in 6 Posts
Ðề: [S-R-O] Tut chạy 2 GS
Đã test trên vmware thành công.Cảm ơn Bác đã chia sẻ!
Bác mylove09 or các Bác trong team S-R-O cho tui hỏi thêm " Nếu muốn sử dụng 1 DB riêng và 2 GS riêng truy vấn đến DB " thì cần phải config thế nào cho SV chạy?
Thank verry much!Khách viếng thăm hãy cùng hellofun xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
22-11-11, 11:27 AM #4
- Ngày tham gia
- Nov 2008
- Đang ở
- Usa
- Bài viết
- 683
- Thanks
- 45
- Thanked 152 Times in 66 Posts
Ðề: [S-R-O] Tut chạy 2 GS
Khách viếng thăm hãy cùngmylove09xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
22-11-11, 11:36 AM #5AlexandriaGuest
Ðề: [S-R-O] Tut chạy 2 GS
Sao ko sahre nguyên cái file lên cho anh em down về ^^
Khách viếng thăm hãy cùng Alexandria xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
22-11-11, 11:58 AM #6
- Ngày tham gia
- Nov 2011
- Bài viết
- 90
- Thanks
- 28
- Thanked 11 Times in 6 Posts
Ðề: [S-R-O] Tut chạy 2 GS
Khách viếng thăm hãy cùng hellofun xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
22-11-11, 01:55 PM #7
- Ngày tham gia
- Feb 2008
- Bài viết
- 563
- Thanks
- 4
- Thanked 123 Times in 66 Posts
Ðề: [S-R-O] Tut chạy 2 GS
tốt nhất là lên cấu hình VPN cho 2 máy nếu khác mạng chứ nếu ko mở sql remote thì có ngày nguy
Khách viếng thăm hãy cùng KúnKuTe xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
22-11-11, 09:21 PM #8
- Ngày tham gia
- Nov 2008
- Đang ở
- Usa
- Bài viết
- 683
- Thanks
- 45
- Thanked 152 Times in 66 Posts
Ðề: [S-R-O] Tut chạy 2 GS
Khách viếng thăm hãy cùngmylove09xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!