Seedbank: Difference between revisions

    From Aharoni Lab Wiki
    (Created page with "Up to: Part Of::Servers Or, more specifically, the Storinator Q30 enhanced == Web Administration (IPMI) == There are two subsystems on the NAS, the [https://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface IPMI system] and the main operating system. The IPMI system can be used to configure the system before an OS is present and manage other administration tasks. * Log into the web console through its IP (currently 192.168.1.28), but check the DHCP...")
     
    No edit summary
    Line 1: Line 1:
    Up to: [[Part Of::Servers]]
    Up to: [[Part Of::Servers]], [[Part Of::Earthseed]]


    Or, more specifically, the Storinator Q30 enhanced
    Or, more specifically, the Storinator Q30 enhanced
    == Hardware ==
    * 30 16.38TB hard drives (1 used for OS, so 29)


    == Web Administration (IPMI) ==
    == Web Administration (IPMI) ==
    Line 11: Line 15:
    ** Username: ADMIN
    ** Username: ADMIN
    ** Password: (on side of server)
    ** Password: (on side of server)
    == Install Debian ==
    See: https://knowledgebase.45drives.com/kb/kb450289-ubuntu-20-04-redundant-os-installation/
    * Get yourself  a [https://www.debian.org/distrib/ copy of debian]
    ** Specifically, a [https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/ full installation image]
    * Open the IPMI control panel (see above)
    * Launch a virtual console either with the HTML5 or Java plugin
    ** To use java, you'll need openjdk, and since apparently this kind of java file has been deprecated you'll also need [https://openwebstart.com/ openwebstart]
    ** Then open the <code>launch.jnlp</code> file with openwebstart (not sure how to do via CLI, right click and "open with...")
    ** It seems like HTML5 can do everything the java version does without needing all that java shit, so might as well use that?
    * The power of the "server" is different than the IPMI subsystem, so you might need to turn on the server on the Remote Control -> Power Control menu
    * Wait this thing comes with Ubuntu installed... nvm for now
    == Config ==
    See the [https://github.com/Aharoni-Lab/earthseed-ansible/ ansible] configuration for the <code>seedbank</code> host.
    === Security ===
    * Users
    ** Root password changed
    ** User password changed
    ** Made user <code>jonny</code> that is in sudoers
    * SSH
    ** Root access disabled
    ** Password access disabled
    * Firewall
    ** Disable all incoming connections, except LAN to port 22.




    Line 19: Line 54:
    * [https://knowledgebase.45drives.com/kb/kb450020-setting-up-remote-access/ Setting up Remote Access]
    * [https://knowledgebase.45drives.com/kb/kb450020-setting-up-remote-access/ Setting up Remote Access]
    * [https://knowledgebase.45drives.com/kb/kb450190-mounting-ipmi-virtual-media/ Mounting Virtual Media]
    * [https://knowledgebase.45drives.com/kb/kb450190-mounting-ipmi-virtual-media/ Mounting Virtual Media]
    * [https://knowledgebase.45drives.com/kb/kb450289-ubuntu-20-04-redundant-os-installation/ Installing Ubuntu]
    * [https://www.45drives.com/community/articles/RAID-and-RAIDZ/ RAID and RAIDZ] - info on [[ZFS]] and [[RAIDZ]]
    * https://wiki.archlinux.org/title/ZFS/Virtual_disks - Archwiki on [[ZFS]]
    * https://arstechnica.com/information-technology/2020/05/zfs-101-understanding-zfs-storage-and-performance/
    * https://github.com/mrlesmithjr/ansible-zfs/blob/master/tasks/manage_zfs.yml Example of using ZFS ansible commands
    == Reference ==
    === Quotations ===
    [[Daniel]] says that the [https://aharoni-lab.slack.com/archives/C04TPPQ5EJH/p1698095615350299 45drives ppl said this when ordering]:
    <blockquote>
    I spoke with our Architect, and the Storinator Q30 configured with 2 vdevs of 15 HDDs in RAIDZ2 does have the capability to saturate a 10Gb network.
    I would recommend adding more resiliency by going with 3 vdevs of 10 HDDs in RAIDZ2. It will still be able to saturate a 10Gb network but will add more fault tolerance and faster resilvering times.
    </blockquote>
    we shall figure out what that means...

    Revision as of 16:48, 23 October 2023

    Up to: Servers, Earthseed

    Or, more specifically, the Storinator Q30 enhanced

    Hardware

    • 30 16.38TB hard drives (1 used for OS, so 29)

    Web Administration (IPMI)

    There are two subsystems on the NAS, the IPMI system and the main operating system. The IPMI system can be used to configure the system before an OS is present and manage other administration tasks.

    • Log into the web console through its IP (currently 192.168.1.28), but check the DHCP server
    • The default creds are
      • Username: ADMIN
      • Password: (on side of server)

    Install Debian

    See: https://knowledgebase.45drives.com/kb/kb450289-ubuntu-20-04-redundant-os-installation/

    • Get yourself a copy of debian
    • Open the IPMI control panel (see above)
    • Launch a virtual console either with the HTML5 or Java plugin
      • To use java, you'll need openjdk, and since apparently this kind of java file has been deprecated you'll also need openwebstart
      • Then open the launch.jnlp file with openwebstart (not sure how to do via CLI, right click and "open with...")
      • It seems like HTML5 can do everything the java version does without needing all that java shit, so might as well use that?
    • The power of the "server" is different than the IPMI subsystem, so you might need to turn on the server on the Remote Control -> Power Control menu
    • Wait this thing comes with Ubuntu installed... nvm for now

    Config

    See the ansible configuration for the seedbank host.

    Security

    • Users
      • Root password changed
      • User password changed
      • Made user jonny that is in sudoers
    • SSH
      • Root access disabled
      • Password access disabled
    • Firewall
      • Disable all incoming connections, except LAN to port 22.



    Documentation

    Reference

    Quotations

    Daniel says that the 45drives ppl said this when ordering:

    I spoke with our Architect, and the Storinator Q30 configured with 2 vdevs of 15 HDDs in RAIDZ2 does have the capability to saturate a 10Gb network. I would recommend adding more resiliency by going with 3 vdevs of 10 HDDs in RAIDZ2. It will still be able to saturate a 10Gb network but will add more fault tolerance and faster resilvering times.

    we shall figure out what that means...