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

Change Fog Server Name

Scheduled Pinned Locked Moved
General
5
13
5.4k
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.
  • L
    LJedi
    last edited by Oct 12, 2015, 9:00 PM

    Is there a way to change the fog server name from “fog-server” to a custom name?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Oct 13, 2015, 12:45 AM

      Yup. What distribution of Linux are you using?

      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
      • L
        LJedi
        last edited by Oct 13, 2015, 3:05 PM

        I am using Kubuntu for the server.

        W 1 Reply Last reply Oct 13, 2015, 3:32 PM Reply Quote 0
        • W
          Wayne Workman @LJedi
          last edited by Oct 13, 2015, 3:32 PM

          @LJedi
          sudo hostname your-new-name
          http://askubuntu.com/questions/87665/how-do-i-change-the-hostname-without-a-restart

          Also, if you installed the FOG Legacy Client and used the fog server’s hostname instead of the IP, you’ll have to either:
          A. reinstall all the clients to point to the new hostname or IP
          B. create a static DNS A record to point the old hostname to the correct IP.

          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
          • L
            LJedi
            last edited by Oct 13, 2015, 3:54 PM

            Thanks. After I change the host name of the server and download the new client, will that new client reflect the name change?

            W 1 Reply Last reply Oct 13, 2015, 3:58 PM Reply Quote 0
            • W
              Wayne Workman @LJedi
              last edited by Oct 13, 2015, 3:58 PM

              @LJedi During the client’s installation, you specify the name/IP to use. It doesn’t come built into the client.

              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
              • L
                LJedi
                last edited by Oct 13, 2015, 4:44 PM

                For the “New Fog Client Service” which is an MSI, going though the MSI for server adress it has it by default as “fog-server” and not the reflected name change. With me changing the server name, will the default name on the MSI change also?

                upload-fbb669b2-8c66-46d2-9f60-348318123f09

                W 1 Reply Last reply Oct 13, 2015, 5:48 PM Reply Quote 0
                • W
                  Wayne Workman @LJedi
                  last edited by Oct 13, 2015, 5:48 PM

                  @LJedi fog-server is just a default value. You may change that field to whatever you want. The name or a static IP address is acceptable.

                  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
                  • B
                    BigT
                    last edited by Oct 13, 2015, 9:07 PM

                    I work with LJedi. Not sure if i can help clarify what we are trying to do here.

                    We are trying to deploy the Fog Client Service automatically through Group Policy. Since each of our sites has its own Fog Server, we want the install in Location A to have the ServerA name and the install in Location B to reflect the ServerB name.

                    We are able to change the server name when we manually install the Fog Client but we do not see a way to push that change when trying to push the install via GP.

                    W 1 Reply Last reply Oct 13, 2015, 11:00 PM Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Oct 13, 2015, 9:18 PM

                      Server name / IP of your FOG server is stored in the registry (new client) or in a text file (old client). From the screenshot it looks like you are using the new client. So check out this reg-key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FOG (hope I got this right from memory…)

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman @BigT
                        last edited by Oct 13, 2015, 11:00 PM

                        @BigT @LJedi
                        Also, you can use this method:

                        msiexec /i FOGService.msi /quiet WEBADDRESS="192.168.1.2" WEBROOT=""
                        

                        In Group policy, you should be able to provide arguments to the MSI. If you have problems with that, you can always deploy it via a startup script.

                        This example was taken from the New Client Progress thread here: https://forums.fogproject.org/topic/4250/new-client-progress/105

                        And so you know, @Jbob is the New Client developer, so be sure to send a large thank-you his way for making such an awesome client that works 100% on Windows, Linux, and Mac OSX and is a bazillion times more secure and reliable.

                        Also, I am unsure about the method that @Uncle-Frank proposed - simply because I know a lot of encryption-related things happen when the new client gets installed… simply changing the web address via the registery might not work. @Jbob will have to confirm or deny this.

                        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
                        • J
                          Joe Schmitt Senior Developer
                          last edited by Joe Schmitt Oct 13, 2015, 5:33 PM Oct 13, 2015, 11:32 PM

                          @LJedi @BigT Sorry for not stepping in sooner, it has been a pretty hectic week / month for me.

                          @Wayne-Workman is correct. Assuming you never changed the webroot of your fog server (that is, if it is still x.x.x.x/fog to access via a browser) then you can simply do this

                          msiexec /i FOGService.msi /quiet WEBADDRESS="x.x.x.x"
                          

                          Where x.x.x.x is your fog server ip / DNS name

                          When it comes to the registry entry you should be able to alter it in there, however to err on the side of caution this above method is best.

                          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          1 Reply Last reply Reply Quote 0
                          • B
                            BigT
                            last edited by Oct 14, 2015, 6:38 PM

                            Thank you for your suggestions. We will test and report back.

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

                            192

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project