Difference between revisions of "Midgard/UnRaid"
(How to update UnRaid) |
|||
Line 68: | Line 68: | ||
#re-add the drive through the drop down menu | #re-add the drive through the drop down menu | ||
#START THE ARRAY AND NOT WORRY ABOUT IT FOR THE NEXT 24 HOURS!!! (it'll just rebuild the drive, no biggie) | #START THE ARRAY AND NOT WORRY ABOUT IT FOR THE NEXT 24 HOURS!!! (it'll just rebuild the drive, no biggie) | ||
=== '''How to Update UnRaid:''' === | |||
[[File:Update OS.png|thumb]] | |||
Go to the tools tab | |||
# Go to the "tools" tab. | |||
# Under the "About" section select "Update OS" depicted in the image to the right. | |||
# Select check for updates in the top right. | |||
# A script will run, once it is done running hit done, and UnRaid will tell you if there is a new version or if the system is up to date. |
Revision as of 14:46, 14 October 2021
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.
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!!!
How to Register a Drive if the Drive is Disabled Due to an Outside Force:
- Stop the array, it's under the main tab scroll to the bottom (very important!)
- un-assign the drive with an error (red x), click the drop down on the drive and select "empty"
- Start the array WITH THE DRIVE MISSING, it should say "drive not installed"
- Stop the array again (also very important)
- re-add the drive through the drop down menu
- START THE ARRAY AND NOT WORRY ABOUT IT FOR THE NEXT 24 HOURS!!! (it'll just rebuild the drive, no biggie)
How to Update UnRaid:
Go to the tools tab
- Go to the "tools" tab.
- Under the "About" section select "Update OS" depicted in the image to the right.
- Select check for updates in the top right.
- A script will run, once it is done running hit done, and UnRaid will tell you if there is a new version or if the system is up to date.