Let me explain with a quick history:
25 year Windows admin with just enough linux exp to be completely destructive
I got laid off on june, and new job in Aug, asked to start setting up network monitoring in zabbix (had never heard of zabbix until august of this year and until then, only rebooted, df -h, grep'd a few thing for linux experience)
fast forward, i have a 4 page dash board monitoring 190 devices, both physical and virtual in 4 cities
my problem? I didn't account for database growth and put my frontend, backend, and db all on one debian box with a 100 GB hdd.
Today i'm getting the zabbix login error : Database error : no such file or directory
which lead me to: mariadbd: Error writing file './ddl_recovery.log' (Errcode: 28 "No space left>
which lead me to not knowing how to expand the virtual disk of linux server, reading on how to do that, had me figure out that i do not have fdisk installed: and i can't install it because : E: You don't have enough free space in /var/cache/apt/archives/.
basically my /dev/sda1 is 97G in size and 100% full
What I would love to do, is backup the database, build a new back end, build a new mariadb server, import the db, build a new front end server. My infrastructure isn't going to grow much, so my questions are:
how big do you suggest the 3 servers be cpu/mem/storage, I now know that i need to give the DB server a lot more hdd space
not know a huge amount of linux - do i give the db server 2 drives, one for OS and a larger one just for the db?
is it really as easy as importing the backup?
If I am currently using debian, would it matter if i plan on doing everythign new on ubuntu (as far as the db backup is concerned?)
Thank you in advance and thanks for excusing my newness I have come a long way in 4 months but this backup/lift and shift a database in linux is way beyond anything i've done in my break/fix career lol
25 year Windows admin with just enough linux exp to be completely destructive
I got laid off on june, and new job in Aug, asked to start setting up network monitoring in zabbix (had never heard of zabbix until august of this year and until then, only rebooted, df -h, grep'd a few thing for linux experience)
fast forward, i have a 4 page dash board monitoring 190 devices, both physical and virtual in 4 cities
my problem? I didn't account for database growth and put my frontend, backend, and db all on one debian box with a 100 GB hdd.
Today i'm getting the zabbix login error : Database error : no such file or directory
which lead me to: mariadbd: Error writing file './ddl_recovery.log' (Errcode: 28 "No space left>
which lead me to not knowing how to expand the virtual disk of linux server, reading on how to do that, had me figure out that i do not have fdisk installed: and i can't install it because : E: You don't have enough free space in /var/cache/apt/archives/.
basically my /dev/sda1 is 97G in size and 100% full
What I would love to do, is backup the database, build a new back end, build a new mariadb server, import the db, build a new front end server. My infrastructure isn't going to grow much, so my questions are:
how big do you suggest the 3 servers be cpu/mem/storage, I now know that i need to give the DB server a lot more hdd space
not know a huge amount of linux - do i give the db server 2 drives, one for OS and a larger one just for the db?
is it really as easy as importing the backup?
If I am currently using debian, would it matter if i plan on doing everythign new on ubuntu (as far as the db backup is concerned?)
Thank you in advance and thanks for excusing my newness I have come a long way in 4 months but this backup/lift and shift a database in linux is way beyond anything i've done in my break/fix career lol
Comment