• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Replicating the Storage Node itself

Scheduled Pinned Locked Moved
General
3
13
3.7k
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.
  • I
    iyoung
    last edited by Apr 12, 2016, 8:58 PM

    I have a Storage Node VM that works correctly, takes replications and spits out images as needed.
    My questions: If I use the cloning feature of the hypervisor and make sure that things like hostname and TCP/IP stuff is changed, can I add the newly cloned Storage Node to the main FOG server using the same credentials as the “parent” Storage Node or is there some unique ID that must be respected.

    The SN is on Ubuntu 14.04 LTS and the main server is on Ubuntu 15.10

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 12, 2016, 9:53 PM

      I think it might work… give it a try and let us know? Worst thing that could happen is it doesn’t work.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 1
      • I
        iyoung
        last edited by iyoung Apr 15, 2016, 11:29 AM Apr 15, 2016, 3:38 PM

        Cloned the Storage Node using VirtualBox’s cloning feature. Changed the TCP/IP info and plugged in the same password into the main FOG and it worked. Storage Node was added and I could see it in the Dashboard (well I get the failed to connect error, but I can click on the link and get the info on the Node.) There was a power outage that corrupted the VHD for the clone, so I’ll try cloning it again and see if it serves image download requests

        W D 2 Replies Last reply Apr 15, 2016, 7:49 PM Reply Quote 0
        • W
          Wayne Workman @iyoung
          last edited by Apr 15, 2016, 7:49 PM

          @iyoung Thanks for following up! Sounds like this project has a lot of potential to work!

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • D
            Duncan @iyoung
            last edited by Jul 11, 2016, 7:32 AM

            @iyoung

            Did you get this to work?

            Im looking to clone a storage node. change the name and IP and then add it to the fog server?

            Thanks

            W 1 Reply Last reply Jul 11, 2016, 5:58 PM Reply Quote 0
            • W
              Wayne Workman @Duncan
              last edited by Wayne Workman Jul 11, 2016, 11:59 AM Jul 11, 2016, 5:58 PM

              @Duncan Read the thread please.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              D 1 Reply Last reply Jul 12, 2016, 7:52 AM Reply Quote 0
              • D
                Duncan @Wayne Workman
                last edited by Jul 12, 2016, 7:52 AM

                @Wayne-Workman

                I got it working, cloned the 1st storage node, changed the host name and IP and added it to the server.

                Tested and all working 🙂

                Saved me a lot of time cloning.

                1 Reply Last reply Reply Quote 0
                • I
                  iyoung
                  last edited by iyoung Jul 13, 2016, 12:23 PM Jul 13, 2016, 6:10 PM

                  Sorry about the last response @Duncan. I clone after installing FOG in SN mode, but before adding it to the main server. I had written a little guide for cloning, that covered everything from Fog setting to SSH logins, but of course I can’t find it.

                  The biggest things you need to change after cloning are:
                  1: IP address
                  2: MAC address
                  3: Hostname (both /etc/hosts and /etc/hostname)
                  4: /opt/fog/.fogsettings (change the ip address)
                  5: SSH configuration (If you are connecting over SSH)

                  after which you can rerun the FOGinstallerfolder/bin/installfog.sh. Then add it the server and your good to go.

                  1 Reply Last reply Reply Quote 0
                  • I
                    iyoung
                    last edited by Jul 13, 2016, 6:24 PM

                    Hey @Wayne-Workman would you like me to right up a step by step guide on cloning Storage Nodes for the wiki?

                    W 1 Reply Last reply Jul 13, 2016, 6:25 PM Reply Quote 0
                    • W
                      Wayne Workman @iyoung
                      last edited by Jul 13, 2016, 6:25 PM

                      @iyoung Yes, and please include steps for the interface’s uuid. That’s the only thing I’m seeing missing. See here: http://www.itechlounge.net/2014/03/linux-how-to-generate-uuid-for-network-interface-on-rhelcentos/

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      I 1 Reply Last reply Jul 13, 2016, 6:38 PM Reply Quote 0
                      • I
                        iyoung @Wayne Workman
                        last edited by iyoung Jul 13, 2016, 12:39 PM Jul 13, 2016, 6:38 PM

                        @Wayne-Workman I’m using Ubuntu Server, so I won’t be able to include screen shots of that part, which looks to be RH Linux thing. I’ll just add the text and cite the article.

                        1 Reply Last reply Reply Quote 1
                        • I
                          iyoung
                          last edited by iyoung Sep 26, 2016, 3:41 PM Sep 26, 2016, 9:41 PM

                          Hey @Wayne-Workman I finally have the how-to done. How do you want it, should I upload it in a forum post?

                          W 1 Reply Last reply Sep 27, 2016, 6:29 PM Reply Quote 0
                          • W
                            Wayne Workman @iyoung
                            last edited by Wayne Workman Sep 27, 2016, 12:29 PM Sep 27, 2016, 6:29 PM

                            @iyoung Yes. Make a new thread, put it in tutorials.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

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

                            330

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project