I25 loadBalanceShardSpecific.cfg: Difference between revisions

From OuroDev
No edit summary
No edit summary
 
Line 1: Line 1:
=== Single Launcher Setup ===
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
// Server definitions
// If loadBalanceShardSpecific.cfg is found, it's values override the above values
//    and it's servers get inserted *before* the ones in this file.
// When finding the role of a server, the first server role definition that
//    has an IP range that matches will be used, so the defaults here will
//    only be used if all other roles don't match
//
// Example:
//
//ServerRole
// // Host IP range
// HostRange 0.0.0.0 255.255.255.255
// // Or, host name:
// Host qamain
//
// // Primary role, can be:
// // Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc
// // Mission - Just launches mission maps
// // CityZone - Just launches static maps
// // Mission CityZone - Launches any kind of map
// PrimaryRole CityZone Mission
//
// // Secondary role, can be:
// // None
// // Mission - launches mission maps if all of the primary mission map servers are full
// // CityZone - launches static maps if all of the primary static map servers are full
// // Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)
// SecondaryRole None
//
// // Any number of Server Applications to run
// // These are only valid if this is on a single host, not a range
// Server
// // Command to launch
// Command RaidServer.exe
// // Optional flag: specifies not to ever launch a new process, but just monitor
// // existing ones (use this for DbServer.exe, ServerMonitor.exe)
// MonitorOnly 1
// End
//End
ServerRole
ServerRole
Host 127.0.0.1
HostRange 10.0.48.75
PrimaryRole CityZone Mission
PrimaryRole CityZone Mission
SecondaryRole None
SecondaryRole Monitor
Server
Command "ChatServer.exe -noreserved"
End
Server
Command "AccountServer.exe -nolastauthor"
End
Server
Command "auctionserver.exe"
End
Server
Command "MissionServer.exe"
End
Server
Command "arenaserver.exe -db 10.0.48.75"
End
Server
Server
Command AuctionServer.exe
Command "raidserver.exe -db 10.0.48.75"
End
End
Server
Server
Command StatServer.exe
Command "statserver.exe -db 10.0.48.75"
End
End
Server
Server
Command ArenaServer.exe
Command "TurnstileServer.exe"
End
End
Server
Server
Command "RaidServer.exe -db localhost"
Command "QueueServer.exe -db 10.0.48.75"
End
End
End
</syntaxhighlight>
=== Multiple Launcher Setup ===
<syntaxhighlight lang="text">
// Server definitions
// If loadBalanceShardSpecific.cfg is found, it's values override the above values
//    and it's servers get inserted *before* the ones in this file.
// When finding the role of a server, the first server role definition that
//    has an IP range that matches will be used, so the defaults here will
//    only be used if all other roles don't match
//
// Example:
//
//ServerRole
// // Host IP range
// HostRange 0.0.0.0 255.255.255.255
// // Or, host name:
// Host qamain
//
// // Primary role, can be:
// // Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc
// // Mission - Just launches mission maps
// // CityZone - Just launches static maps
// // Mission CityZone - Launches any kind of map
// PrimaryRole CityZone Mission
//
// // Secondary role, can be:
// // None
// // Mission - launches mission maps if all of the primary mission map servers are full
// // CityZone - launches static maps if all of the primary static map servers are full
// // Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)
// SecondaryRole None
//
// // Any number of Server Applications to run
// // These are only valid if this is on a single host, not a range
// Server
// // Command to launch
// Command RaidServer.exe
// // Optional flag: specifies not to ever launch a new process, but just monitor
// // existing ones (use this for DbServer.exe, ServerMonitor.exe)
// MonitorOnly 1
// End
//End
ServerRole
HostRange 10.0.48.75
PrimaryRole Monitor
SecondaryRole None
Server
Server
Command "ChatServer.exe -noreserved"
Command "ChatServer.exe -noreserved"
End
End
Server
Server
Command "AccountServer.exe"
Command "AccountServer.exe -nolastauthor"
End
Server
Command "auctionserver.exe"
End
End
Server
Server
Line 26: Line 132:
End
End
Server
Server
Command "ServerMonitor.exe -connect"
Command "arenaserver.exe -db 10.0.48.75"
End
End
Server
Server
Command TurnstileServer.exe
Command "raidserver.exe -db 10.0.48.75"
End
Server
Command "statserver.exe -db 10.0.48.75"
End
Server
Command "TurnstileServer.exe"
End
Server
Command "QueueServer.exe -db 10.0.48.75"
End
End
ServerRole
HostRange 10.0.48.72
PrimaryRole CityZone Mission
SecondaryRole None
Server
Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"
End
End
ServerRole
HostRange 10.0.48.73
PrimaryRole CityZone Mission
SecondaryRole None
Server
Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"
End
End
ServerRole
HostRange 10.0.48.74
PrimaryRole CityZone Mission
SecondaryRole None
Server
Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"
End
End
End
End
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 20:54, 21 May 2019

Single Launcher Setup

// Server definitions
// If loadBalanceShardSpecific.cfg is found, it's values override the above values
//    and it's servers get inserted *before* the ones in this file.
// When finding the role of a server, the first server role definition that
//    has an IP range that matches will be used, so the defaults here will
//    only be used if all other roles don't match
//
// Example:
//
//ServerRole
//	// Host IP range
//	HostRange 0.0.0.0 255.255.255.255
//	// Or, host name:
//	Host qamain
//
//	// Primary role, can be:
//	//	Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc
//	//	Mission - Just launches mission maps
//	//	CityZone - Just launches static maps
//	//	Mission CityZone - Launches any kind of map
//	PrimaryRole CityZone Mission
//
//	// Secondary role, can be:
//	//	None
//	//	Mission - launches mission maps if all of the primary mission map servers are full
//	//	CityZone - launches static maps if all of the primary static map servers are full
//	//	Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)
//	SecondaryRole None
//
//	// Any number of Server Applications to run
//	// These are only valid if this is on a single host, not a range
//	Server
//		// Command to launch
//		Command RaidServer.exe
//		// Optional flag: specifies not to ever launch a new process, but just monitor
//		// existing ones (use this for DbServer.exe, ServerMonitor.exe)
//		MonitorOnly 1
//	End
//End
ServerRole
	HostRange 10.0.48.75
	PrimaryRole CityZone Mission
	SecondaryRole Monitor
	Server
		Command "ChatServer.exe -noreserved"
	End
	Server
		Command "AccountServer.exe -nolastauthor"
	End
	Server
		Command "auctionserver.exe"
	End
	Server
		Command "MissionServer.exe"
	End
	Server
		Command "arenaserver.exe -db 10.0.48.75"
	End
	Server
		Command "raidserver.exe -db 10.0.48.75"
	End
	Server
		Command "statserver.exe -db 10.0.48.75"
	End
	Server
		Command "TurnstileServer.exe"
	End
	Server
		Command "QueueServer.exe -db 10.0.48.75"
	End
End

Multiple Launcher Setup

// Server definitions
// If loadBalanceShardSpecific.cfg is found, it's values override the above values
//    and it's servers get inserted *before* the ones in this file.
// When finding the role of a server, the first server role definition that
//    has an IP range that matches will be used, so the defaults here will
//    only be used if all other roles don't match
//
// Example:
//
//ServerRole
//	// Host IP range
//	HostRange 0.0.0.0 255.255.255.255
//	// Or, host name:
//	Host qamain
//
//	// Primary role, can be:
//	//	Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc
//	//	Mission - Just launches mission maps
//	//	CityZone - Just launches static maps
//	//	Mission CityZone - Launches any kind of map
//	PrimaryRole CityZone Mission
//
//	// Secondary role, can be:
//	//	None
//	//	Mission - launches mission maps if all of the primary mission map servers are full
//	//	CityZone - launches static maps if all of the primary static map servers are full
//	//	Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)
//	SecondaryRole None
//
//	// Any number of Server Applications to run
//	// These are only valid if this is on a single host, not a range
//	Server
//		// Command to launch
//		Command RaidServer.exe
//		// Optional flag: specifies not to ever launch a new process, but just monitor
//		// existing ones (use this for DbServer.exe, ServerMonitor.exe)
//		MonitorOnly 1
//	End
//End
ServerRole
	HostRange 10.0.48.75
	PrimaryRole Monitor
	SecondaryRole None
	Server
		Command "ChatServer.exe -noreserved"
	End
	Server
		Command "AccountServer.exe -nolastauthor"
	End
	Server
		Command "auctionserver.exe"
	End
	Server
		Command "MissionServer.exe"
	End
	Server
		Command "arenaserver.exe -db 10.0.48.75"
	End
	Server
		Command "raidserver.exe -db 10.0.48.75"
	End
	Server
		Command "statserver.exe -db 10.0.48.75"
	End
	Server
		Command "TurnstileServer.exe"
	End
	Server
		Command "QueueServer.exe -db 10.0.48.75"
	End
End
ServerRole
	HostRange 10.0.48.72
	PrimaryRole CityZone Mission
	SecondaryRole None
	Server
		Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"
	End
End
ServerRole
	HostRange 10.0.48.73
	PrimaryRole CityZone Mission
	SecondaryRole None
	Server
		Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"
	End
End
ServerRole
	HostRange 10.0.48.74
	PrimaryRole CityZone Mission
	SecondaryRole None
	Server
		Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"
	End
End