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

    Install XenServer 7 on USB

    IT Discussion
    7
    34
    12.6k
    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.
    • BRRABillB
      BRRABill @travisdh1
      last edited by

      @travisdh1 said i

      Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.

      I'm a little OCD so I've been buying the little teeny ones that go flush on the server.

      But your link looks like a great option.

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

        @BRRABill said in Install XenServer 7 on USB:

        @travisdh1 said i

        Micro Center has 64GB for $13. Best warranty you'll find is the real reason I like those tho, if it ever goes bad they'll replace it.

        I'm a little OCD so I've been buying the little teeny ones that go flush on the server.

        But your link looks like a great option.

        They're great for the internal USB port, which most servers have. I don't have any 1U servers, they might not fit something that short.

        1 Reply Last reply Reply Quote 0
        • hobbit666H
          hobbit666
          last edited by

          would you adam and eve it!!!!!

          re-created the install USB stick. Used disk part on the 64GB and "cleaned" it. Re-installed and it boots first time 🙂

          1 Reply Last reply Reply Quote 1
          • BRRABillB
            BRRABill @scottalanmiller
            last edited by

            @scottalanmiller said

            Everything that writes anything more than a config file should be off of the USB. Swap on USB would be insanely slow AND kill it quickly. Basically you should never allow swapping AND logging should be external.

            Question 1:
            Even though I set up logging to be external, it still seems to write data to the boot device. (Not sure if this still happens in XS7. Just set it up tonight.)
            Is there an amount of writing that would be OK? Like a few KB a day? Or would we prefer to see NO log writing?

            Question 2:
            How does one go about disabling swapping on XS?

            scottalanmillerS 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @BRRABill
              last edited by

              @BRRABill said in Install XenServer 7 on USB:

              Question 1:
              Even though I set up logging to be external, it still seems to write data to the boot device. (Not sure if this still happens in XS7. Just set it up tonight.)
              Is there an amount of writing that would be OK? Like a few KB a day? Or would we prefer to see NO log writing?

              Ideally, no writing. If something is logging, even just once in a while, we have to ask... why?

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

                @BRRABill said in Install XenServer 7 on USB:

                Question 2:
                How does one go about disabling swapping on XS?

                remove the swap entry from /etc/fstab

                1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill @scottalanmiller
                  last edited by

                  @scottalanmiller said

                  Ideally, no writing. If something is logging, even just once in a while, we have to ask... why?

                  For some reason XS keeps writing to the boot disk even after you move the logging. There is a workaround, but it never worked for me without changing permissions.

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

                    @BRRABill said in Install XenServer 7 on USB:

                    @scottalanmiller said

                    Ideally, no writing. If something is logging, even just once in a while, we have to ask... why?

                    For some reason XS keeps writing to the boot disk even after you move the logging. There is a workaround, but it never worked for me without changing permissions.

                    What is it writing?

                    BRRABillB 1 Reply Last reply Reply Quote 0
                    • BRRABillB
                      BRRABill @scottalanmiller
                      last edited by

                      @scottalanmiller said

                      What is it writing?

                      Log files.

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

                        @BRRABill said in Install XenServer 7 on USB:

                        @scottalanmiller said

                        What is it writing?

                        Log files.

                        but which ones, from what source?

                        BRRABillB 1 Reply Last reply Reply Quote 0
                        • BRRABillB
                          BRRABill @scottalanmiller
                          last edited by

                          @scottalanmiller said

                          but which ones, from what source?

                          This is the article that describes the logging, and how to stop the logging that happens even after you choose to use remote logging.

                          This is what I could not get to work, as other people also seem to have had an issue with per the comments.

                          http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

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

                            That doesn't seem to highlight where it is failing, though.

                            BRRABillB 1 Reply Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill @scottalanmiller
                              last edited by

                              @scottalanmiller said

                              That doesn't seem to highlight where it is failing, though.

                              The issue I was having (and the commenter was also having) is that after I made those changes, the files would just overwrite themselves again.

                              The only way to fix it was to follow the "dirty, dirty trick" he recommends by changing the permissions to read only on those files.

                              That finally did it for me.

                              I keep bringing up this issue because as a community we always tell people to install XS and install it on USB. But XS does writing to the boot partition sometimes even when you think it is not.

                              Has anyone actually LOOKED at their USB boot device. Are you SURE it isn't being written to? Because mine definitely was, and I think that is the standard.

                              I think it was @DustinB3403 who said to just remap the log directory elsewhere. I guess that would work as well?

                              And I know you two were discussing the swap partition. Did we ever decide if it really WAS writing to it?

                              Is there a way to know how much data is being written to a particular partition?

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

                                it is absolutely standard that it writes to the install location, it has to be modified as any install like this has to be. But you have to modify that behaviour.

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