Go Back   EQEmulator Home > EQEmulator Forums > Development > EQEmu Operations Center

EQEmu Operations Center Web development tools

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2015, 09:17 PM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default Server Backup and General Newbie Thread

Hi All,
New to the server creation community, hoping for some guidance.

I am running Akka's Repack and using the EOC.
http://wiki.eqemulator.org/p?Akkas_P...epack&frm=Main

I dont think the two are necessarily related but figured this would be an ok area for me to post my question. if it needs moved, my appologies.

I have a couple questions related to how this all works.

Let me preface all this by stating that I generally understand the basics of server creation and world building but have a hard time with the "Server" specifics and HeidiSQL stuff. I am currently developing a fully custom server, to be titled "PlanarQuest", and have managed to put together the following:

- Populated "Hub" Zone with Quest NPC(working quests), Buff NPC, Corpse Summon and Rez NPC.
- 10 Identified and Partially Populated Tier Zones for Leveling and Gearing up.
- 5 Identified Raid Tiers
- Fully Itemized and Balanced Tier 1
- Nearly 1000's Custom Items Made
- Customized Server Rules and Variables (exp, zone loc's, skills, etc)
- 30 Custom Spells

Now, for where I am struggling/concerned:

- Server Backup
Navigated to C Drive -> EQ - AKKA'S PEQ REPACK -> EQEMU SERVER -> t_backup_server_database.bat. This produces a 0 byte peq<date>.sql file. I don't know what to do with this file ICE and I also feel like 0 Bytes is a red flag.

- Server Updates
How do I know what Database version I am running? and do I need to worry about anything in regards to what version PEQ DB Editor Tool I use when editing NPCs and whatnot. It appears like the only difference between v421 and v460 for me is that v460 wont generate a spell file for me, it errors out. Does my DB auto update somehow and it happens behind the scenes?

- Server Upkeep and Performance
I am probably far off from having to worry about this but what do I need to consider with running a server? Aside from general electricity cost and home PC upgrades I may need, what other things do i need to consider? Do I have hosting options available to me? (Perhaps a company where I provide them my files or something and they host them and run the server, if that sort of thing exists).


Appreciate anyone who can spare the time for some feedback and/or insight into these items for me. I did do some searching but having a hard time finding some current results.

Thanks all,
Reply With Quote
  #2  
Old 01-27-2015, 10:26 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Code:
- Server Backup
Navigated to C Drive -> EQ - AKKA'S PEQ REPACK -> EQEMU SERVER -> t_backup_server_database.bat. This produces a 0 byte peq<date>.sql file. I don't know what to do with this file ICE and I also feel like 0 Bytes is a red flag.
Need to make sure MariaDB database install is in your Windows PATH variable, this is a known issue with the repack. It causes backup scripts to not work because they rely on knowing where to find binaries such as 'mysqdump'

Code:
It appears like the only difference between v421 and v460 for me is that v460 wont generate a spell file for me, it errors out. Does my DB auto update somehow and it happens behind the scenes?
460 now generates a spellfile, this was an issue server side with write permissions.

As far as updating, making sure your windows PATH variable is set for MariaDB (MySQL) and the eqemu update script will take care of it if you get a hold of new windows binaries. Some other folks can help you answer that question as I need to go.

As well as other questions I'll let others pick those up.
Reply With Quote
  #3  
Old 01-28-2015, 09:26 AM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default

Quote:
Originally Posted by Akkadius View Post
Code:
- Server Backup
Navigated to C Drive -> EQ - AKKA'S PEQ REPACK -> EQEMU SERVER -> t_backup_server_database.bat. This produces a 0 byte peq<date>.sql file. I don't know what to do with this file ICE and I also feel like 0 Bytes is a red flag.
Need to make sure MariaDB database install is in your Windows PATH variable, this is a known issue with the repack. It causes backup scripts to not work because they rely on knowing where to find binaries such as 'mysqdump'

Code:
It appears like the only difference between v421 and v460 for me is that v460 wont generate a spell file for me, it errors out. Does my DB auto update somehow and it happens behind the scenes?
460 now generates a spellfile, this was an issue server side with write permissions.

As far as updating, making sure your windows PATH variable is set for MariaDB (MySQL) and the eqemu update script will take care of it if you get a hold of new windows binaries. Some other folks can help you answer that question as I need to go.

As well as other questions I'll let others pick those up.
Thanks for the info Akka.
I did some google-fu and came across this post:
http://www.eqemulator.org/forums/pri...6&pp=15&page=9

Followed the following instructions and the backup.bat now created a 22.5 MB zip/rar file:
Windows 8

Drag the Mouse pointer to the Right bottom corner of the screen
Click on the Search icon and type: Control Panel
Click on -> Control Panel -> System -> Advanced
Click on Environment Variables, under System Variables, find PATH, and click on it.
In the Edit windows, modify PATH by adding the location of the MariaDB binaries (i.e. C:\Program Files\MariaDB 10.0\bin) to the value for PATH.
Close the window.
Reply With Quote
  #4  
Old 02-02-2015, 09:45 AM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default

Thanks again for the feedback akka.

Anyone able to assist with my other questions related to:
- Server Upkeep and Performance

Thanks all!
Reply With Quote
  #5  
Old 02-02-2015, 12:24 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by utbbop View Post
Thanks again for the feedback akka.

Anyone able to assist with my other questions related to:
- Server Upkeep and Performance

Thanks all!
Really need more information to even be able to answer that question. Are you wanting to host it from home? Do you have a static i.p. address available to you? Do you have the funds available to you for paying for hosting? How many players are your end goal? Are you planning on making an elaborate website, you will need more bandwidth for that?
Reply With Quote
  #6  
Old 02-02-2015, 12:46 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

http://wiki.eqemulator.org/p?Tuning_Server_Performance
Reply With Quote
  #7  
Old 02-02-2015, 06:54 PM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default

Quote:
Originally Posted by Akkadius View Post
Thanks a ton Akka, great place to get me started and thinking in the right direction.
Reply With Quote
  #8  
Old 02-02-2015, 06:59 PM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default

Quote:
Originally Posted by provocating View Post
Really need more information to even be able to answer that question. Are you wanting to host it from home? Do you have a static i.p. address available to you? Do you have the funds available to you for paying for hosting? How many players are your end goal? Are you planning on making an elaborate website, you will need more bandwidth for that?
Thanks for the follow up Provo.

Are you wanting to host it from home?
Not against this, my determination would be based on the server needs and my available internet speeds through Time Warner.

Do you have a static i.p. address available to you?
Not entirely sure, probably something I would need to research with Time Warner?

Do you have the funds available to you for paying for hosting? How many players are your end goal?
Not entirely sure as I dont have any clue as to cost here. I anticipate a server that attracts less than 100 connections at any time. Probably more like 20-50 connections is more realistic...

If my options are to host at home or pay for hosting I think my preference would be to pay for hosting...assuming the cost isnt ridiculous. I really just have zero education on hosting a server with a third party. In my head, i picture paying someone to access a virtual machine of sorts where I can access my "AKKAS PEQ REPACK" folder to start/end/backup my server, etc. I would then re-establish connections to the EOC using the "virtual machines" IP's and stuff...

Are you planning on making an elaborate website, you will need more bandwidth for that?
Not planning anything elaborate. Just a simple site with a forums and landing/news page.


Thanks Provo, let me know if you want more info.
Reply With Quote
  #9  
Old 02-03-2015, 02:40 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I would start out slow, maybe host it yourself with a dynamic dns service for the time being. See how many players you attract to begin with. Also see how you like it as far as being the GM. I can tell you now it is a challenge when you have things coming at you from all different directions, many fires to put out. I would not go full blown until you get the hang of it and know for sure this is what you want to do.

And something I always preach......backup......backup.......backup
Reply With Quote
  #10  
Old 02-04-2015, 11:40 AM
utbbop
Sarnak
 
Join Date: May 2009
Location: Mentor
Posts: 58
Default

Quote:
Originally Posted by provocating View Post
I would start out slow, maybe host it yourself with a dynamic dns service for the time being. See how many players you attract to begin with. Also see how you like it as far as being the GM. I can tell you now it is a challenge when you have things coming at you from all different directions, many fires to put out. I would not go full blown until you get the hang of it and know for sure this is what you want to do.

And something I always preach......backup......backup.......backup
Thanks and I am in agreement.

In terms of backup. The tool provided with Akka's Repack should suffice, correct? Or is there an additional level of backup needed?
(Aka does Akka's backup solution backup all server related items such as quests and the DB or does it only do the DB and I should be backing up quests separately?)
Reply With Quote
  #11  
Old 02-04-2015, 12:24 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by utbbop View Post
Thanks and I am in agreement.

In terms of backup. The tool provided with Akka's Repack should suffice, correct? Or is there an additional level of backup needed?
(Aka does Akka's backup solution backup all server related items such as quests and the DB or does it only do the DB and I should be backing up quests separately?)
Everything I run is done in Linux, so I do not use such a tool. I am not sure if that tool lets you schedule a backup, most are not that elaborate. I was talking about scheduling backups and multiple levels. I never just trust one backup solution unless the data is not that important.
Reply With Quote
  #12  
Old 02-04-2015, 02:33 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by provocating View Post
Everything I run is done in Linux, so I do not use such a tool. I am not sure if that tool lets you schedule a backup, most are not that elaborate. I was talking about scheduling backups and multiple levels. I never just trust one backup solution unless the data is not that important.
You can trust my db_dumper.pl that backups up a database automatically and creates a tar file, this script downloads from eqemu_update.pl in one of the options.

I use it on a tasked basis for Windows and it works amazingly.
Reply With Quote
  #13  
Old 02-04-2015, 04:10 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by Akkadius View Post
You can trust my db_dumper.pl that backups up a database automatically and creates a tar file, this script downloads from eqemu_update.pl in one of the options.

I use it on a tasked basis for Windows and it works amazingly.
Well there you go, throw that in your task scheduler and you are good to go.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:29 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3