Midgard/UnRaid
System Information:
CPU: 2x Intel® Xeon® CPU E5620 @ 2.40GHz
RAM:24 GiB DDR3 Single-bit ECC (max. installable capacity 384 GiB)
OS: Linux 5.10.28-Unraid x86_64
Storage: 1.4 TB SERVER storage (used as parity drive), and 9 1TB hdds (8 in a array and one acting as a cache drive)
What is Midgard:
The Midgard Server was designed as a backup server. This server is going to help backup files, data, applications, software, and hardware. Backups help prevent data loss and save our database. Midgard will help backup all sorts of data and files here at 24Pintech. A backup server is an essential for a program like 24PinTech so that we dont lose any valuable information through our database.
What is Unraid:
Unraid is a Operating System that is used for Linux to store and help manage all kinds of data. Unraid helps us create arrays of drives so that all users can access files through our Network. We were originally going to ESXI for our server but the version of ESXI that was going to be utilized was incompatiable.
The Creation of Midgard:
- Downloaded and installed UnRaid.
- Tested the Raid Setup
- Added Midgard to the Domain through SMB settings.
- Rearranged the Array for the server to have a 1.4 TB parity drive using the drives in the server (NOT IN THE ARRAY), 8 1 TB Hard Drives, and a1 TB Cache Hard Drive.
- Created a new Array.
- Set and make the IP Address of the Midgard Server to 10.21.25.13.
- Changed the Name of the server to Midgard.
How to Perform a Backup (manually):
Step 1:
- Log into Odin at 10.21.25.3
Step 2:
- Open "Windows server backup" from the windows search bar.
Step 3:
- Once the windows open up on the right side of the page select "back up once option''
Step 4:
- Go through the wizard until it asks what you want to back up.
Step 5:
- Select "remote location option" and enter the path to the backup folder at"\\10.21.25.13\Backups"
Step 6:
- Start the Back up
Switch Configuration When Using LACP And Port Bonding:
When configuring an LACP etherchannel between a switch and UnRaid server use {(C-IF-RANGE)#channel-protocol lacp}
on the switch and "active-backup (1)" etherchannel bond on the UnRaid server.
Troubleshooting:
This section will help aide and find solutions to any problems that can possibly occur on the server.
You delete a share in UnRaid if it is empty though the web gui, although if not empty and you don't want to delete everything through file explorer then you can do it through the command line which is located in the top right of the web gui (displayed in the image provided). Just copy paste this command into the terminal and replace the placeholder text with what share you want to remove.
rm -rf /mnt/user/Backups/(insert share name here)
Backup Did Not Complete Properly:
If the Backup did not finish that could mean that no files or data were restored. It is also possible that some files were resotred and some were not. Here are a few soloution to this problem.
Identifying The Data That Was Not Restored:
- Open Windows Server Essentials, and select Computer and Backups
- Choose the Device that the backup did not complete succesfully and view the properties.
- Choose the backup that did not complete and view the details.
- The details of the backup will show green check marks on the areas that were successful in the Backup
How to Replace a Bad Drive in the SAS:
- STOP THE ARRAY FIRST; PLEASE FOR THE LOVE OF GOD (it's under the main tab scroll to the bottom)
- Shutdown the SAS (power button is on the back of the MIDGAURD SAS, NOT THE THOR SAS
- Replace the bad drive (it's a hot swap drive, in and out)
- Turn on the SAS & reboot the unraid server. If the array is stopped just hold the power button down on the front for a force shutdown (MAKE SURE THE ARRAY ISN'T ONLINE and no data will be lost)
- Under the main tab (if the array has auto started STOP THE ARRAY) add the new replacement drive via the drop down menus and the start array button will say "replacement drive attached"
- HIT START AND NOT WORRY ABOUT IT FOR THE NEXT 24 HOURS!!!