Storage Node Issues
-
@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 thepassword
field in the .fogsettings file. -
@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.
-
@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?
-
@george1421 It looks like the issue now is a Db connection failure? Any thoughts?
-
@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?
-
@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
-
@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 mysqlsystemctl 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 -
@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)
-
@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 tobind-address = 0.0.0.0
and not worry about it. -
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.
-
@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?
-
@CoxM Did you solve the issue together with the help of @george1421 ?