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

    Storage Node Issues

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    18
    2.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.
    • george1421G
      george1421 Moderator @CoxM
      last edited by

      @coxm It will be the entry just called password, I believe (as said from memory).

      You can also test by using a windows client and attempting to ftp to the remote storage node with the user id of fog and the value from the password field in the .fogsettings file.

      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!

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @CoxM
        last edited by

        @coxm said in Storage Node Issues:

        I am also finding that when I go to 10.2.0.55 (the IP of my storage node) in a browser I am not seeing a management console, the page just times out. Does that mean the node itself isn’t right or would a storage node not have a web UI?

        FYI: Storage nodes don’t have a web ui, they are managed from the master node.

        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!

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @CoxM
          last edited by

          @coxm said in Storage Node Issues:

          16024639479 0 /images/Win10-Desktop/d1p2.img “A valid database connection could not be made”

          Well this one is a bit different… but may lead to what happened here. Lets assume you manually created the entry in the master node for the storage node? If yes, that may explain what is going on. When you install the storage node, it is suppose to reach out to the master node and connect to its database. The storage node doesn’t have its own mysql database, it uses the root FOG server’s db. If that db connection fails then the remote storage node won’t create its own record in the database, which kind of leads us down this broken path.

          What host OS is on your fog master node?

          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!

          1 Reply Last reply Reply Quote 0
          • C
            CoxM
            last edited by

            @george1421 It looks like the issue now is a Db connection failure? Any thoughts?

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @CoxM
              last edited by

              @coxm I have lots of thoughts, it would help to narrow down to just a few…

              What host OS is the master fog server 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!

              C 1 Reply Last reply Reply Quote 0
              • C
                CoxM @george1421
                last edited by

                @george1421 They are both runing on Ubuntu.

                The other thing I am not sure about being correct at the moment is the image and ftp path set in the storage management section. I am wanting to store the images on the storage node on a 2nd VHD, not the system drive but not sure how to reference it in the FOG management UI

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @CoxM
                  last edited by george1421

                  @coxm OK lets work on one issue at a time (sorry about the delay, its early in the AM here and I’m trying to get my morning stuff done).

                  OK lets assume that Ubuntu is “helping us” again. Can you confirm that mysqld.cnf (in either /etc/mysql or /etc/mysql/mysql.conf.d) contains this line (on your master fog server).

                  bind-address = 0.0.0.0
                  

                  It may be the default of :

                  bind-address = 127.0.0.1
                  

                  Which really doesn’t help us connect remotely.
                  If you need to change the setting then run this command to restart mysql systemctl restart mysql.service

                  Once mysql comes up run the following command.
                  lsof -i -P | grep :3306

                  You should get something that looks like this:

                  # lsof -i -P | grep :3306
                  mysqld     1574   mysql   64u  IPv4    20354      0t0  TCP 192.168.1.15:3306 (LISTEN)
                  

                  Where 192.168.1.15 should be the IP address of your fog server or the fog server’s name

                  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!

                  1 Reply Last reply Reply Quote 0
                  • C
                    CoxM
                    last edited by

                    @george1421 It was commented out and set to 127…

                    I have un commented and set to 10.2.0.60, that IP of my main fog server. I now get this…

                    [11-07-17 1:29:55 pm] * * Image replication is globally disabled
                    mirror: Access failed: 550 Failed to change directory. (/media/ubuntuadmin/Data/images/Win10-Desktop)
                    
                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @CoxM
                      last edited by george1421

                      @coxm said in Storage Node Issues:

                      /media/ubuntuadmin/Data/images/Win10-Desktop

                      How do you have things setup there? This is a non-standard location.

                      Are your images stored on an external (to the master fog server) disk?

                      Also setting bind-address = 0.0.0.0 means to connect the mysql server to all interfaces. It should work ok if you set it to the single interface on your fog server, but generally you would just set it to bind-address = 0.0.0.0 and not worry about it.

                      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!

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        CoxM @george1421
                        last edited by

                        @george1421

                        I would like to have the images on the main FOG server stored in the default local location.

                        On the storage nodes I want to have a smaller drive for system and fog install and a second disk for image storage, that way images cant fill up the system drive and cause me problem down the line.

                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @CoxM
                          last edited by

                          @coxm Lets switch over to IM since its quicker to get Q&A turn around. We’ll switch back to the forum once the Q&A session is over. Look for the talk bubble on the fog forum tool tray for additional questions.

                          But the first question is around: /media/ubuntuadmin/Data/images/Win10-Desktop is that on the master node or the storage node?

                          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!

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @CoxM Did you solve the issue together with the help of @george1421 ?

                            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
                            • 1 / 1
                            • First post
                              Last post

                            154

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project