User Tools

Site Tools


projects:crashcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:crashcloud [2024/11/25 12:53] mikedlrprojects:crashcloud [2025/01/28 08:39] (current) – difficulties mikedlr
Line 21: Line 21:
   *   * with admin right to install virtualization etc   *   * with admin right to install virtualization etc
   *      *   
 +  * process:
 +      * get connected to the switch next to the servers via SSH, with a socks proxy (-d) 
 +      * identify machines that might be free
 +      * see in NetBox what machines are appropriate - exist don't have role 
 +      * login to machines by going to their management address - check they are powered down but can be powered up
 +      * burn nixos from download site to USB
 +      * plug in to usb on server
 +      * power on and boot - connect to console
 +      * machine comes up but fails to get IP address 'cos no DHCP
 +      * check and if needed make physical connection from machine to switch
 +      * get and IP address and the switch configured
 +      * manually add IP address, default route and resolver config
 +      * set SSH password for nixos account. 
 +      * login remotely 
 +      * install colmena
 +      * start to work on building config
 +  * upgrade bios if required - dangerous and probably avoid
 +  * get NixOS on a USB pen drive or
 +  * set up NixOS image on a SMB server so that it can be mounted as virtual CD
 +  * install NixOS 
   * get a router we can configure to integrate with this   * get a router we can configure to integrate with this
   * set up VMs with external network access   * set up VMs with external network access
Line 29: Line 49:
  
   * discuss this initially: - Done - got some suggestions from q3k and radex. - make a small crash cloud not a duplicate of hscloud since most services can't split between kubernetes anyway.   * discuss this initially: - Done - got some suggestions from q3k and radex. - make a small crash cloud not a duplicate of hscloud since most services can't split between kubernetes anyway.
 +
 +
 +====== instructions ======
 +
 +https://code.hackerspace.pl/hswaw/hscloud/src/branch/master/cluster/doc/admin.md
 +
 +
 +* to setup 
 +** get a machine and install Nixos on it (any configuration it says)
 +** add machine configuration to [[https://code.hackerspace.pl/hswaw/hscloud/src/branch/master/cluster/machines|cluster/machines directory]]
 +** 
 +
 +===selected difficulties===
 +
 +* NixOS is not easily dockerizable because the privilage model requires a special daemon which runs as root. This should instead run as a non root nix user and give access through that
 +* If you install two bootloaders, one by accident first which ends up with priority, NixOS silently respects that and doesn't place it's own bootloader to run, which means changes don't take effect
 +* Not clear about NixOS debugging - never managed to get prompt inside the machine
  
 ====== Technical understanding  ====== ====== Technical understanding  ======
projects/crashcloud.1732539189.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki