I25 loadBalanceShardSpecific.cfg

From OuroDev
Revision as of 20:54, 21 May 2019 by Methril (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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