Professional Documents
Culture Documents
GCafeDisklessisanewfeaturefromversion2.0.0.0ofGCafe
Inversion2.0.0.0GCafeVersion3includes3so waretogether:
GCafe:GCafemanagesandupdatesthegameautoma cally.(Canbeinstalledinthe
machineroomwithorwithoutadrive
hard).
NetDisk:AconnectortotheGCafeservertomaptheservergamedrivetothe
virtualdrive
client.NetDiskcanbecalledGameServer
Diskless:Adesktopharddiskmanager.Theworksta onbootstheopera ngsystem
from
DisklessServercanthereforecallDisklessServerasBootromServer.
ToinstallGCafeDisklessmustinstallallthreeprograms.Caninstalleach
softwareoneachserverandconfigure
Theimagesfortheseprogramscombinewitheachother(viaIP)toforman
operationalentity
Isfortheworkstationbutitisbettertoinstallthesameservertosavemoneyand
management
Easier.
AlloftheseprogramsworkonMicroso 'sWindowspla orm.ForGCafeClient
Version
2.0.0.0installedfortheharddriveroomcanrunonWindowsXPorWindows7.For
thesystem
GCafeDisklessServershoulduseWindowsServertooptimizealltheresourcesofthe
Serversuchas8GBofRAM,
SSD...besides,WindowsServerwillbestablesothatGCafeDisklesssystemwillbe
stableandstable
higherefficiency.
PARTII:STEPSOFPREPARATIONPREPARATIONFORSERVER:Hardware:MainboardmustsupportSata3RAMasrequired,
minimum8GBTheCPUselectstherighttypeforthemotherboard,withoutthehighprocessingspeed.Networkcard:Dependingon
theneeds,atleast2networkcards.RequiresLAN1000GbSSD:MusthaveSSD(runningonSataport3)forCacheandWriteback.
HDD:JustoneHDDtoinstallOSforServerandGame.RecommendnewHDDstabilitypeak.So ware:ShoulduseWindowsServer
2008R2.(DonotuseWindows2008Server)WindowsServer2008R2withTRIMsupportmakesSSDworkbetter.Using32bitor
64bitWindowsServer2008R2isfine.Formatpar ons:HDD:DivideC:from15to30GBcontainingtheserveroperatingsystem.
ClusterashighaspossibleHDD:ChiaE:istheresttostoregame.Clustershouldformat64KtoworkstationMountfasterandload
fasterontheOS.SSD:DivideD:35GBminimumtocontainImage.Clustershouldbe64KformatforthereadertoreadAndload
Imagefaster.
FinishedRachGia28/9/2012SSD:SplitF:istheresttodocacheandwriteback.Clustershouldbe4KformattoweatherSave
storagespace.(Sizeondisk)MACHINEPREPARATION:Hardware:MusthaveaharddiskdrivetoinstallOSanduploadImgaeto
Disklessserver.OncecreatedByImage,theworkstationdoesnotneedHDD.Recommended1000Gbnetworkcard.100Gbnetwork
cardloadedintoslowOSbutloadgameRelativelyfast.Workstationnetworkcardmusthavebootromtoboottheoperatingsystem
overthenetwork.MostoftheTheonboardnetworkcardalreadyhasbootrom.Needtoenablebootromoftheonboardnetwork
cardtoBoottheoperatingsystemoverthenetwork.Iftheonboardnetworkcarddoesnotqualifyfor1000Gb,thenadda1000Gb
removablenetworkcardNeedtochoosebootromtype.Noteifusingbootromfromthenetworkcardtodisablethecarddisable
Onboardnetwork.AlsonotethatsomeremovablenetworkcardshaveincompatiblebootromWithsomemainboards.Prioritizethe
Atherosnetworkcard.ExperienceshowsthatAtherosnetworkcardsloadTheoperatingsystemisveryfast.RealtekorIntelnew
networkcardsloadthekernelOnionsarerelativelyfastbutnotAtheros.OldMarvellorNvidianetworkcardsalmostneverwork
withGCafeDisklessormanuallyupdatethedrivertowork.
So ware:Workerscanuse32bitWindowsXP32bitorWindows7.Note:GCafeclientdoesnotinstallon64bitOS.Thepartition
containingtheOSisforcedtoNTFSformat.NETWORKPREPARATION:Switch:Itisrecommendedtouse1000Gbforallports
Networkcable:CAT5ecablecanbeused.GameroomwithmultiplemachinesshoulduseCAT6cable.IfrightCableCAT5e,thecables
betweenswitchesshoulduseCAT6cable.ThecablefromtheServertoSwitchshouldalsouseCAT6cable.Networkswitch:good
touse.ExperiencehasshownthatifyouuseapoorlyequippedcableCanoperate100Mb.Atthebeginningofthepressshouldalso
useagoodclicktype.ExperienceshowsIfthebadpresscandamagethehead,resultinginpoorcontactalsomakesthecableWorks
100Mb.Forthemachineroomhasmanymachineswhenthenetworkinfrastructureneedtoconnectthestarswitch.Thatmeans
theremustbeamainswitchdividedintosubswitches.Theservermustgointothemainswitch.JobThismakestheserverableto
balancetheloadinthenetworkwhiletheworkstationshavepathsNomorethan2switches.Choosethebesttypeofswitchto
ensurebetterswitching,tapeNoobstruction.
PARTIII:INSTALLINGWINDOWS2008SERVERR264BIT
2
FinishedRachGia28/9/2012
Youcandownloadthe64bitversionofWindows2008ServerR2ghostatthefollowinglink:
h p://download.gcafe.vn/2K8_R2_64.GHO
IftheserverusesthemainrunningIntelchipsetbeforetheghostneedstoactivate"AHCI"intheBIOS.
Afterinstallingorghosting,Windowsrequiressettingapasswordfortheuser.Passwordrequireddark
Musthaveanumber,aletterandaspecialcharacter.
NeedtosetVitualmemoryforWindows(Customizepagefile.sysandputonC)
ForWindows2008ServerR2supportedTRIM.TotestTRIMisenabledor
ItisnotpossibletoaccesstheCMD(selectAdministratorprivileges)usingthe"fsutilbehaviorquery"command
Disabledeletenotify"totest.Result:
DisableDeleteNotify=1(WindowsTRIMcommandsDISABLE)
DisableDeleteNotify=0(WindowsTRIMcommandsENABLE)
IfTRIMisdisabled,youcanuse"fsutilbehaviorsetdisabledeletenotify0"toenableon
Setupspeedfor1000Gbnetworkcard
FinishedRachGia28/9/2012
SECTIONIV:BACKUPTHENAMEANDIPFORTHECARDSERVER
Fortheserversystemhasmanynetworkcards,theiden fica onofeachnetworkcardandprovincialIPse ngsfor
Everynetworkcardisamusttomakeiteasytomanageandtroubleshootlater.
ForServerhavetwonetworkcards:ShouldselecttheonboardnetworkcardasthemainnetworkcardDiskless.Networkcard
TherestforGCafeandNetDiskrunningtogether.
Forexample
Networkcard1:NamedDiskless.IP:192.168.1.200
Networkcard2:NametheGCafe_NetDisk.IP:192.168.1.201
ForServerhasthreenetworkcards:ShouldselecttheonboardnetworkcardasthemainnetworkcardDiskless.Thecard
TheothernetworkisassignedtoGCafeandNetDisk
Example:
Networkcard1:NamedDiskless.IP:192.168.1.200
Networkcard2:NametheGCafe.IP:192.168.1.201
NetworkCard3:NamedNetDisk.IP:192.168.1.202
ForServerhas4networkcards:ShouldselecttheonboardnetworkcardasthemainnetworkcardforDiskless.Thecard
RemainingnetworksareassignedtoGCafe,NetDiskandDiskless_02
Example:
Networkcard1:NameDiskless_01.IP:192.168.1.200
FinishedRachGia28/9/2012
Networkcard2:NametheGCafe.IP:192.168.1.201
NetworkCard3:NamedNetDisk.IP:192.168.1.202
Networkcard4:NameDiskless_02.IP:192.168.1.203
Thisdivisionisveryusefulforinstalling3programsofGCafeDiskless.Helpuspress
DeterminewhichIPisrunningforwhichservice,sothatwhensomethinggoeswrong,wecaneasilyidentifyandfixit
RestorebyreplacingandreassigningtheIPiscomplete.
Althoughnetworkcardshavebeenassignedandrunforeachservice,wes lltakeadvantageofallthecards
NetworkintheservertoloadDiskless.Thatis,eachnetworkcard,willrun2services:1service
Thekeyisfixedandasecondaryserviceisloadbalancedfordiskless.
Thefigurebelowshowstheselectionofnetworkcardsavailableontheserverforloadbalancingfordiskless.Doing
Loadbalancing,theworkstationinthenetworkwhenbootupwillbedividedloadforthenetworkcardtoreduce
Bandwidthcongestionfromtheserver.
PARTV:INSTALLATIONANDSETTINGUPTHESERVICES1.GETTINGTHEGCAFESERVER:BeforeinstallingGCafeServer,disablethe
DisklessandNetDiskadapterstoinstalltheprogramWillselectthedefaultIPisthenetworkcardisenabled.6
FinishedRachGia28/9/2012
RuntheinstallationfileGCafeServer.Selecttheprocedurebuttons"Next,Yes,Accept..."andentertheAccountin
TheinstallationprocessisthesameasthepreviousGCafeversion1.0.0.0.
Gototheinstalla onop onsasshownbelow,select"FullServerMode"
FullServerMode(Normalclients+DisklessClients):SetupthemachineroomandhaveaworkstationwithadriveHarddriveand
harddriveworkstation.Bydefault,thiswillberesetinthefollowingCGafe.Con nuetoremovetheop onsandselect"Finish"as
shownbelowtofinishinstallingGCafeServer.7
NETDISKSET:BeforeinstallingNetDisk,youneedto"StopService"ofGCafeanddisableDisklessandGCafe.
FinishedRachGia28/9/2012
RuntheNetDiskinstallationfile,selectthe"Yes,Next,Accept..."procedurebuttonsandselectFinishtofinish.PutNetDiskas
shownbelow.
A ersuccessfullyinstallingNetDiskcheckNetDiskstatus.FromtheDesktopselectthe"Disk"iconMonitor"torunNetDisk
Server
LookdownthelowerleftcorneroftheNetDiskServerifyouseethemessage"ServiceOK"isNetDiskServer
Isworkingwell.
FinishedRachGia28/9/2012
CONNECTINGGCAFEANDNETDISK
RunGCafeControlPanelandselect"GameDisk"
Select"Add"
IntheGameDiskaddresssection,clickthedownarrowtoselecttheIPoftheNetDiskadapter.IfnotToseetheIPoftheNetDisk
assigned,entertheIPoftheNetDiskcardandselect"E"asThehostoftheservergameandalso"E"isthegamedrivewillbe
mappedtotheworkstationfromthemachineword.
SetCache:Clickon"SetCache"asinthetopblue.InputTheamountofRAMrequiredtosetupthecacheforGameDiskandselect
theSSDpartitionforpartitioningCachecacheforGameDisk.(Seealsosection8onhowtosetthecacheforGameDisk.)
SelectagroupforGameDisk:AfteraddingtheGameDiskandthecacheconfigurationiscomplete.Continuetoselectthegroupto
WorkstationsinthisgroupreceivetheServer'svirtualdrive.
SetdefaultdownloadforGameDisk.Setupasinthepicturewhenthegamedownloadwillconfigureitself
IntotheGameDiskgroup.Notethatwhenthegameupdate,theclientmustrestarttoreceivethedata
Wasupdated.ForGameDisk,editinggamesorupdatingthegamemanuallydoesnotneedtorecreatetheindex.
However,ifyouusetwoservers,youneedtocreateindexestoGCafesyncthroughthesecondaryserverbyindex.
INSTALLDISKLESSSERVER
FinishedRachGia28/9/2012
RuntheDisklessserverinstalla onfile,selectthe"YES,NEXT,Accept"procedurebuttons.Gotothepathoptions,fixforDiskless
installC.Disklesssupportinstallon64bitOSshouldbeinstalledbydefaultonProgramFiles.
Continuetoselect"Finish"asshownbelow
FinishedRachGia28/9/2012
SelecttheIPforDisklessasassigned.SelectthearchivepathImage(RecommendedD).Ifinstalledfor
Theserverroomonlyhas1server,onlyselectthe"mainserver".Ifinstalledforthesecondaryserverinthemachineroomthereare
2
Serverselect"secondaryserver".
SelectpartitionasWriteback:SelectdriveFasassigned
FinishedRachGia28/9/2012
Setupadminpassword.ThisisthepasswordtocloseoropenSuperforImagefromtheworkstation.password
Thisisimportant.Ifunfortunatelyplayersknowtocustomizetheimage,installthevirusintotheimage....!
Finishdisklessinstallation:SelectnetworkcardoptimizationtoDisklesstosettheoptimalparametersforthenetworkcardAvailable
onDisklessServer
FinishedRachGia28/9/2012
CheckDisklessstatusa erinstalla on:LooktothelowerrightcornerofDesktopifyouseetheicon
DisklessStatusshowsblueasDisklessisactive,mouseovertoviewstatus
Leftclickonthisicontoviewdetails
5.GETTINGTHEGCAFECLIENTRunthefileinstallGCafeClient.Selecttheprocedurebu ons"YES,NEXT,FINISH".Gotothe
installationoptionsforthemachineStationasshownbelow.ThispartistalkingaboutDisklessinstallationsoIwillchoose"Gcafe
DisklessSystemInstallation":IstochoosetheGCafeclientfortheharddiskworkstationtouseGCAGAuploadImagaontheserver.
NotesectionWeonlyinstallamachinewithHDDtouseGCafeuploadimageonDisklessServer.ThisimagewillbeusedForallnon
harddriveworkstations.
SelectFinishtofinish
SelectGCafeServerIP:ClickthedownarrowtotherighttoselecttheGCafeServerIP
nail.IfyoudonotseetheIPoftheGCafeServerassigned,entertheIPoftheGCafeServer.Chooseme
ConfirmtheserverIP:Select"OK"
FinishedinstallingGCafeClient
UPLOADIMAGEFROMGCAFECLIENTRun"GCafeProDisklessClientTool"asshowninthescreenshotbelow
Enteradminpasswordselect"OK"
EnternewimagenameTadministrativepasswordselect"OK"
NameareminderforImageandspecifythesizefortheImagetoupload.Shouldchoose10GB.Consignring"
AfternamingandsizeoptionsforImage.Select"StartUpload"
Confirmtheinforma onbeforeuploading.Note:WhenspecifyingthesizeforImageis10GBtheworkstation
ThedisklesswillhaveaCof10GB.Inthis10GBthereisrealdataoftheoperatingsystemandinstalledprograms
upthere.Asinthisexample.Csizeis10GB,dataisinCis5.3GB.Select"OK"toproceed
Upload
Uploadprocesswilltakeplaceasshownbelow.
A ertheuploadprocessiscompleteImageuploadsuccessfulmessageappears.SelectOKtoresetyou.Hereyoucanturnothe
machinetoremovetheharddrive.SothereisImageavailableforallworkstations.7.SETUPDISKLESSSERVERLoginDiskless
Server:RuntheDisklessSystemControlPaneltologon.
SetthecacheforImage:Select"ManageServer">RightclickonServernameselect"SettingsCache"
Enter2000MBandselectOK.AftersettingcacheforImage,thesystemwilltake2GBofRAMtooperate.
Createaworkstation:FromthemaininterfaceofDisklessclickthebutton"Createworkstation"
Continuetocompletetheinformationtocreatetheworkstation:
Scope:Isthenumberofmachinestocreate,andthenumberofmachinestocreate
IPheaderandIPend:SelecttheIPrangetosuitthemachineroom
SetImage:SelectImageforworkstations
Resolu on:Canbecustomizedaccordingtodemand.Ifintheresolu onlisttherearenodegreesparameters
Thedesiredresolutioncanbeenteredmanuallyeg(1155x700).
FinishedRachGia28/9/2012
MainServer:CanselectIPServerorloadbalancer.Gateway:SpecifyGatewayforworksta ons
DNS:EnterDNS.DNScanbecustomizedforworksta onswithoutchangingtheimage
SecondaryServer:Select"Disable"
Cache:Select"Selfadjust"
Select"Confirm"tocompletethecrea on.NEEDTORESETBACKTHESERVER.Atthispointtheworksta onscanloadOSfrom
bootrom.
Customizedforboo ngviaLAN
Note:Ifthewronghandpickingthewrongmachinename,canbecorrectedbydeletingtheMACfortheworkstationfromthe
server.Machinesuffers
RemovingtheMACwhenbootingupwillshowtheregistrationtableasshownabove.
Forbeginners,thebootromcanreadandfollowtheorderfrombeginningtoend
SelfhealingGCafeDiskless.Assoonasyougetusedtoitmaynotbeinanyorder,however
Theprocessshouldbeadheredtotominimizetheoccurrenceoftheproblem.
8.ADDITIONALEXPLANATIONABOUTCACHE,WRITEBACKANDWAYSETUP
Forbootromorgameserversystemswehavetheconceptofcacheandwriteback.Thissec ononly
ExplainthemeaningoftheseconceptsinGCafeDiskless.
Cache:CanuseRAManduseSSDtoset.InthesetupGcafeconnectionNetDiskhas
SelecttheRAMtocacheandselecttheSSDtocache.Forexample,whensettingup5GBofRAMasacache
AndchooseF:tocacheGameDisk:Whentheclientaccessesthegamefromthevirtualdrive,theserverwillread
Thisgamedataonceandputupthecache.IftheRAMisfree,thenRAMwillbethesame
Whentherearemoregamesrequiredfromtheworkstation,theserverwill(readonegameatatime)andputup
SHADY.Untilthecachedataexceeds5GB,theserverwritesthecachetotheSSD.IftheSSDcontinues
Theserverwillautomaticallyclearthecacheofpreviousgames.Notewhenserveraccesses
ThecacheontheRAMwillbefasterontheSSD.Becausethegameissavedandaccessedontheserver'scache
Speedofaccessfromtheworkstationwillbemetintimetomakethegamefasterthan
RunonHDD.Forexample:WhentheserverbootsintotheOS,thefirstclientloadsthePunchgame,themachine
FinishedRachGia28/9/2012Thehostwillreadfromthegameharddisktoputoncacheanddistributedtotheworkstation.When
thereisanothermachineHitCountergameserverisnotreadfromtheHDDanymorebutwillreadfromthecachetodistributeto
WorkstationshouldloadspeedGameCounterofthesecondtimemachinewillbefasterthanthemachineaccessSoSliponDiskless
GCafewillloadfasterthanHDD.Writeback:canuseRAManduseSSDtosetup.Disklesshascachese ngsforImageAndchoose
SSDtodoWriteback.Forexample,setthecacheforImageto2GBandchooseWritebackasF.2GBThismeansthattheworkstation
isallowedtoretrievedatafromoutsidetoamaximumof2GB.IfthemachineIftheexternaldataretrievalstationexceeds2GB,the
programwillwritetheexcessdataWriteback.Whentheworkstationresetsorshutsdown,Writebackwillautomaticallydelete.It
canbesaidthatthecacheImageandWritebackaretemporarystorageforwhattheworkstationretrievesfromtheoutside.Note:If
WritebackfullthenworkstationwillnotloadImagefromGcafeDiskless.Setcacheandwriteback:Dependingontheamountof
RAMthatisconfiguredaccordingly.TemporarythereCanbesetbythefollowingformula:
TotalRAM2GB(System)2GB(Image)=RestforGameDisk.If8GBofRAM2GBofsystemleftover6GB.6GBcontinuestoset
2GBfortheremaining4GBThis4GBsetupforGameDisk.ForGCafeDisklesssystems,cacheandwritebackarethedecisive
factorsforRAMandmoreThebetter.Inadditiontodistributingcachestoworkstationsfaster,morenetworkcardsareneeded.
Networkinfrastructuremustmeetstandards.Fordisklessworksta ons,fastorslowOSloadingisnolongerdependentonthe
speedoftheHDDAsbefore,dependingontheavailablenetworkcard,dependingontheimageaccessspeedfromtheserver.
Shouldchoosethenewnetworkcardssupport1000MBforworkstationsandImageontheservershouldForstorageonSDD64Kb
clusterformat.