ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Idea

    Scheduled Pinned Locked Moved IT Discussion
    linuxramdisk
    22 Posts 6 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by

      So I had possibly a weird idea. Not sure if anyone else has done this, if they have I'd like to look at it. Our RHEL workstations have 256 GB of RAM. We need to encrypt workstation drives for compliance reasons even if nothing is stored on them. I had an idea to load an initramfs from something like an sd card to boot up and then create a ~4-8GB RAMDisk for the OS. Then it would pull a real image and load it into the RAMDisk. Treating a fat client like a thin client, but then loading the actual OS onto it.

      This deals with encrypting data at rest, because there is no data at rest. It also gives us a performance boost for our engineering software.

      Stupid idea?

      wirestyle22W 1 Reply Last reply Reply Quote 1
      • wirestyle22W
        wirestyle22 @stacksofplates
        last edited by wirestyle22

        @johnhooks That's an interesting idea. I've never done it though

        stacksofplatesS 1 Reply Last reply Reply Quote 1
        • stacksofplatesS
          stacksofplates @wirestyle22
          last edited by

          @wirestyle22 said in Idea:

          @johnhooks That's an interesting idea. I've never done it though

          Thanks. I'm sure someone at some point has created something like this. But I'd like to do it with our high end workstations.

          1 Reply Last reply Reply Quote 0
          • thwrT
            thwr
            last edited by

            Sounds valid, but keeping things up to date might be an issue.

            stacksofplatesS 1 Reply Last reply Reply Quote 1
            • DashrenderD
              Dashrender
              last edited by

              4-8 GB for the OS? what OS are you running so lean on?

              stacksofplatesS thwrT scottalanmillerS travisdh1T 4 Replies Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @Dashrender
                last edited by stacksofplates

                @Dashrender said in Idea:

                4-8 GB for the OS? what OS are you running so lean on?

                A full RHEL Workstation install only uses around 4GB of space. Depending what packages you add on after it's somewhere between 4-8.

                1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @thwr
                  last edited by

                  @thwr said in Idea:

                  Sounds valid, but keeping things up to date might be an issue.

                  ya good point. That might be a hurdle.

                  thwrT 1 Reply Last reply Reply Quote 1
                  • thwrT
                    thwr @Dashrender
                    last edited by thwr

                    @Dashrender said in Idea:

                    4-8 GB for the OS? what OS are you running so lean on?

                    4GB is plenty in a core Linux system, even with a full blown desktop and a running LibreOffice for example.

                    1 Reply Last reply Reply Quote 2
                    • thwrT
                      thwr @stacksofplates
                      last edited by

                      @johnhooks I thought about something like this myself, but more in the context of LUKS on a Pi without storing the key on the SD-Card. Would be interesting to see your approach 😉

                      1 Reply Last reply Reply Quote 2
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @Dashrender said in Idea:

                        4-8 GB for the OS? what OS are you running so lean on?

                        That's plenty for an OS.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          This is a pretty standard set up. This is basically how we ran the school that I built in the early 2000s. The system image was pulled fresh over the network and ran in memory. Very effective.

                          stacksofplatesS wirestyle22W 2 Replies Last reply Reply Quote 3
                          • stacksofplatesS
                            stacksofplates @scottalanmiller
                            last edited by

                            @scottalanmiller said in Idea:

                            This is a pretty standard set up. This is basically how we ran the school that I built in the early 2000s. The system image was pulled fresh over the network and ran in memory. Very effective.

                            Is that the one you used SUSE for?

                            1 Reply Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22 @scottalanmiller
                              last edited by

                              @scottalanmiller said in Idea:

                              This is a pretty standard set up. This is basically how we ran the school that I built in the early 2000s. The system image was pulled fresh over the network and ran in memory. Very effective.

                              In the modern world how would you accomplish this? What would you use?

                              travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @Dashrender
                                last edited by

                                @Dashrender said in Idea:

                                4-8 GB for the OS? what OS are you running so lean on?

                                RHEL/CentOS can do useful things with ~500MB for a complete system. Depending on what they're doing, 4GB for the system drive could be more than enough for years to come.

                                @johnhooks Do you use a separate partition or mount point for /home? Generally you'd encrypt the home (data) sections and leave the OS as a standard install. Things like encfs make this easy to do. Encrypting everything takes more work and monkeying around with LVM, copying everything, etc.

                                At least with LVM, you should be able to get everything done on a live system. Yeah, it lets you do things like this.

                                stacksofplatesS 1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @travisdh1
                                  last edited by

                                  @travisdh1 said in Idea:

                                  @Dashrender said in Idea:

                                  4-8 GB for the OS? what OS are you running so lean on?

                                  RHEL/CentOS can do useful things with ~500MB for a complete system. Depending on what they're doing, 4GB for the system drive could be more than enough for years to come.

                                  @johnhooks Do you use a separate partition or mount point for /home? Generally you'd encrypt the home (data) sections and leave the OS as a standard install. Things like encfs make this easy to do. Encrypting everything takes more work and monkeying around with LVM, copying everything, etc.

                                  At least with LVM, you should be able to get everything done on a live system. Yeah, it lets you do things like this.

                                  We automount home from NFS. Only thing that's actually on these systems is the root partition and we have to separate /var, /var/log, and a couple others for SCAP.

                                  1 Reply Last reply Reply Quote 0
                                  • travisdh1T
                                    travisdh1 @wirestyle22
                                    last edited by

                                    @wirestyle22 said in Idea:

                                    @scottalanmiller said in Idea:

                                    This is a pretty standard set up. This is basically how we ran the school that I built in the early 2000s. The system image was pulled fresh over the network and ran in memory. Very effective.

                                    In the modern world how would you accomplish this? What would you use?

                                    All you need is a PXE capable network interface on the workstations. It's not exactly easy, but very doable for anyone that knows Linux.

                                    wirestyle22W 1 Reply Last reply Reply Quote 1
                                    • stacksofplatesS
                                      stacksofplates
                                      last edited by

                                      So it's kind of ridiculous that we need to encrypt the drive on the workstation since there is nothing on it. But we are forced to. Logs are also sent to an rsyslog server, so if I can just do away with the drive that would be nice ha.

                                      travisdh1T 1 Reply Last reply Reply Quote 2
                                      • scottalanmillerS
                                        scottalanmiller @wirestyle22
                                        last edited by

                                        @wirestyle22 said in Idea:

                                        @scottalanmiller said in Idea:

                                        This is a pretty standard set up. This is basically how we ran the school that I built in the early 2000s. The system image was pulled fresh over the network and ran in memory. Very effective.

                                        In the modern world how would you accomplish this? What would you use?

                                        Like this for example:

                                        https://help.ubuntu.com/community/DisklessUbuntuHowto

                                        1 Reply Last reply Reply Quote 2
                                        • travisdh1T
                                          travisdh1 @stacksofplates
                                          last edited by

                                          @johnhooks said in Idea:

                                          So it's kind of ridiculous that we need to encrypt the drive on the workstation since there is nothing on it. But we are forced to. Logs are also sent to an rsyslog server, so if I can just do away with the drive that would be nice ha.

                                          I'd almost just setup network boot then. Everything uses the same system image/software. If you need to add/update software, you do that and then save the results as the new system image.

                                          1 Reply Last reply Reply Quote 1
                                          • wirestyle22W
                                            wirestyle22 @travisdh1
                                            last edited by

                                            @travisdh1 said in Idea:

                                            @wirestyle22 said in Idea:

                                            @scottalanmiller said in Idea:

                                            This is a pretty standard set up. This is basically how we ran the school that I built in the early 2000s. The system image was pulled fresh over the network and ran in memory. Very effective.

                                            In the modern world how would you accomplish this? What would you use?

                                            All you need is a PXE capable network interface on the workstations. It's not exactly easy, but very doable for anyone that knows Linux.

                                            So I'm building a pretty robust VM host server to be used as a test environment. Any recommendations as far as a multi-port PXE capable NIC? Not to highjack the thread.

                                            travisdh1T 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post