• cypherix93@lemmy.world
      link
      fedilink
      English
      arrow-up
      82
      ·
      2 months ago

      I can’t be bothered to walk down to the basement, so practically my server is also only accessible by SSH

      • yhvr@lemm.ee
        link
        fedilink
        arrow-up
        10
        ·
        2 months ago

        I’m at college right now, which is a 3 hour drive away from my home, where a server of mine is. I just have to ask my parents to turn it back on when the power goes out or it gets borked. I access it solely through RustDesk and Cloudflare Tunnels SSH (it’s actually pretty cool, they have a web interface for it).

        I have no car, so there’s really no way to access it in case something catastrophic happens. I have to rely on hopes, prayers, and the power of a probably outdated Pop!_OS install. Totally doesn’t stress me out I’ll just say I like to live on the edge :^)

          • yhvr@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            2 months ago

            Hadn’t heard of pikvm before. Will keep that in mind, thanks!

        • Lucy :3@feddit.org
          link
          fedilink
          arrow-up
          6
          ·
          2 months ago

          Currently the server(s) are in my room, which is so messy my dad probably wouldn’t even enter it voluntarily. And in the case grub/fstab/crypttab/etc. are messed up, which is probably the most common error, he probably couldn’t solve it by himself. Soon everything’s gonna live in its own little room in the basement, so it’s gonna be accessible easier actually.

  • Neuromancer@lemm.ee
    link
    fedilink
    arrow-up
    59
    ·
    2 months ago

    In the old days some of the servers took at hour to reboot. That was stressful when you couldn’t ping it at an hour.

      • Neuromancer@lemm.ee
        link
        fedilink
        arrow-up
        32
        ·
        2 months ago

        The more disk you had, the longer it took. It walked the scsi bus which took forever. So if you had more disk. It took even longer.

        Since everything was remote, you’d have to call hands and they weren’t technical. Also no cameras since it was the 90’s.

        Now when I restart a vm or container. I panic if it’s not back up in 10 minutes.

          • Neuromancer@lemm.ee
            link
            fedilink
            arrow-up
            8
            ·
            2 months ago

            It isn’t a disk driver since the OS is not loaded yet. It is the hardware identifying each disk in the SCSI chain. Not sure what else it was doing walking the bus much I know finding all the disk was the longest part.

            • CanadaPlus@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              2 months ago

              Shoot, it did occur to me that might not technically be the right word.

              Still, even if you’re an engineer in the late 80’s, it seems like it would be obvious you need a way for disks to announce themselves in O(1) time. Was it just a limitation of interoperability between vendors or something?

              • Neuromancer@lemm.ee
                link
                fedilink
                arrow-up
                0
                arrow-down
                1
                ·
                2 months ago

                I think it was just a limit of how quick everything ran back then. Also, this was an IBM system that was checked, double-checked, and triple-checked because it was a mission-critical system. IBM used to be known for quality hardware. Hard to imagine because they are such a crap company now but that was the equivalent of a google back then.

    • fuckwit_mcbumcrumble@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 months ago

      I like how posting got fairly fast. Then we started putting absurd amounts of ram into servers so now they’re back to slow.

      Like we have a high clock speed dual 32 core AMD server with 1TB of ram that takes at least 5 minutes to do it’s RAM check. So every time you need to reboot you’re just sitting there twiddling your thumbs waiting anxiously.

      • Neuromancer@lemm.ee
        link
        fedilink
        arrow-up
        9
        ·
        2 months ago

        I will date myself. These machines had a lot of memory as well which added to the slow reboot. I think it was 16 gigs.

        The r series for IBM took forever. The p series was faster but was still slow

            • trolololol@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              2 months ago

              I had a friend with one of those while I had an Atari. The Atari game would come up within a minute, but the tape took like 15 min to start.

              • Neuromancer@lemm.ee
                link
                fedilink
                arrow-up
                1
                arrow-down
                2
                ·
                2 months ago

                Using a tape drive is crazy when you think about it. It was slow…. This wasn’t the big tape cartridges. It was a standard Audio tape. Not sure why they could store but it was all sequential

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    42
    ·
    2 months ago

    Initializing VPC…

    Configuring VPC…

    Constructing VPC…

    Planning VPC…

    VPC Configuration…

    Step (31/12)…

    Spooling up VPC…

    VPC Configuration Finished…

    Beginning Declaration of VPC…

    Declaring Configuration of VPC…

    Submitting Paperwork for VPC Registration with IANA…

    Redefining Port 22 for official use as our private VPC…

    Recompiling OpenSSH to use Port 125…

    Resetting all open SSH connections…

    Your VPC declaration has been configured!

    Initializing Declared VPC…

  • nick@midwest.social
    link
    fedilink
    arrow-up
    41
    ·
    2 months ago

    Just had to restart our main MySQL instance today. Had to do it at 6am since that’s the lowest traffic point, and boy howdy this resonates.

    2 solid minutes of the stack throwing 500 errors until the db was back up.

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      19
      ·
      2 months ago

      If you have the bandwidth… it is absolutely worth it to invest in a maintenance mode for your system, just check some flat file on disk for a flag before loading up a router or anything and then, if it’s engaged, just send back a static html file with ye olde “under construction” picture.

      • nick@midwest.social
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 months ago

        That’s not really… possible at this point. We have thousands of customers (some very large ones, like A——n and G—-e and Wal___t) with tens or hundreds of millions of users, and even at lowest traffic periods do 60k+ queries per second.

        This is the same MySQL instance I wrote about a while ago that hit the 16TiB table size limit (due to ext4 file system limitations) and caused a massive outage; worst I’ve been involved in during my 26 year career.

        Every day I am shocked at our scale, considering my company is only like 90 engineers.

    • naeap@sopuli.xyz
      link
      fedilink
      arrow-up
      12
      ·
      2 months ago

      Never touch a running system
      Until you have a inviting hole in your system

      Nevertheless, I’m panicking every time I update my sever infrastructure…

        • Buddahriffic@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          2 months ago

          Someone set up a script to automatically create daily backups to tape. Unfortunately, it’s still the first tape that was put in there 3.5 years ago, every backup since that one filled up failed. It might as well have failed silently because everyone who received the email with the error message filtered them to a folder they generally ignored.

        • msage@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          And no one ever tried to restore it.

          Happened to me as well, after a year I learned incremental DB backups were wrongly offset by GMT diff, so we were losing hours every time. Fun.

          Luckily we never needed them.

          And now we have Postgres with WAL archiving and I sleep so much better.

  • Ignotum@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    2 months ago

    I have more than once typed shutdown instead of reboot when working on a remote machine… always fun

    • chatokun@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      6
      ·
      2 months ago

      Networking, we had a remote office in Europe (I’m in the US) and wanted to reset a phone. Phone was on port 10 of the Cisco switch, port 1 went to the firewall (not my design, already in place).

      Helping my coworker, I tell her to shut port 10.

      Shut port 1, enter.

      Ok… office is offline and on another continent…

    • sik0fewl@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 months ago

      Not sure if this will help you, but I always do shutdown and then think about whether I want to do -r or -h. I’m sure it won’t help 🙂

  • NastyNative@mander.xyz
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    2 months ago

    Tbh there is nothing more taxing on my mental health than doing maintenance on our production servers.

  • WagnasT@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    2 months ago

    when it was the wrong server and you’re hoping it comes back up before 5 minutes and nagios starts sending alerts

  • pedz@lemmy.ca
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    2 months ago

    I work with IBM i/AS400 servers and those are not exactly the quickest thing to “reboot” (technically an IPL). Especially the old ones. I have access to the HMC/console but even this sometimes takes several minutes (if not dozens) just to show what’s going on.

    It’s always a bit stressful to see the codes passing one after the other and then it stops on one and seems to get stuck there for a while before continuing the IPL process. Maybe it’s applying PTFs (updates) or something, and you just have to wait while even the console is blank.

    I’ve been monitoring those servers for years and I’m still sometimes wondering if it hanged during the IPL or if it’s just doing its thing, because this part, even with codes, is not very verbose.

    Fortunately it’s also very stable so it pretty much always comes back a few minutes after you start wondering why the hell it’s taking so long.

    • tooclose104@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      When someone previously told a vrtx vm not to auto boot after power up and none of the remote access is working either… Both undocumented as well, of course. And your tired AF tech is statically configuring the wrong IP range on their laptop to manu because it’s been a long shutdown day and are also unfamiliar with the system in general (me). Good times, I figured it out though, but lots of sweating and swearing.

  • PenisDuckCuck9001@lemmynsfw.com
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 months ago

    That’s why you connect an arduino to the motherboards reset pin and load it with a program where it resets the system if it doesn’t receive an ACK signal over the usb connection every 10 minutes.

    Eventually though the networking and apache stops working after around 150 days so you also have to make a script that resets the system after 30 minutes of not having network.