@Wayne-Workman That is exactly how I am saying it’s the wrong node, the bandwidth graph. I have some imaging to do today yet at that site, so I’ll start imaging and run iftop on the storage node, see where it’s actually coming from.
good to know!
@Wayne-Workman That is exactly how I am saying it’s the wrong node, the bandwidth graph. I have some imaging to do today yet at that site, so I’ll start imaging and run iftop on the storage node, see where it’s actually coming from.
good to know!
@Tom-Elliott I was unaware there was a chat option. Is it an IRC node or the like? I thought the forum was pretty much it these days.
@Tom-Elliott How can I check? I just ssh’d into the box, and found the file under /images as expected, looking right. But is there somewhere else I should look?
sorry for needing my hand held on this one, it’s the first time I’ve worked with storage nodes and the location plugin.
I also verified that during the boot process, it pulled it’s Init and such from 192.168.0.30, as I wanted to. It was only the imaging itself that it pulled from the default.
@Tom-Elliott My bad, I thought it would have something to do with it and wanted to pre-empt the request.
The original image was on the default master node, yes. It then replicated over to the secondary node in Audubon, which is where I’d like to pull from.
@Wayne-Workman
Yes, I have location defined and assigned. Pics of my current setup:
Host Page:
Location Page:
Storage Page:
@Joe-Gill I’d strongly recommend getting off the 2003 server. That’s been End of Life and non-supported for nearly what, 18 months now?
Ok, so I’ve got two fog servers setup, both running Ubuntu 14.04 and did install from the fog installer script. Both are on version 8533 as of this writing.
I enabled the location plugin, added the storage members, made sure they were in the same storage group. I created the location, assigned the storage group and the node to them, and have it pulling inits and such from them.
However, when I actually imaged a client, it was pulling from the master node still.
Image Replicator log is as follows:
[07-12-16 5:50:23 pm] * Started sync for Image Win10HS
lftp -e ‘set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -R --ignore-time -vvv --exclude ‘dev/’ --exclude ‘ssl/’ --exclude ‘CA/’ --delete-first /images/Win10HS /images/Win10HS; exit’ -u fog,[Protected] 192.168.0.30
[07-12-16 5:50:23 pm] | CMD:
[07-12-16 5:50:23 pm] * Starting Sync Actions
[07-12-16 5:50:23 pm] | Files match
[07-12-16 5:50:23 pm] | Remote File size: 15619523591
[07-12-16 5:50:23 pm] | Local File size: 15619523591
[07-12-16 5:50:23 pm] | Remote File: /images/Win10HS/d1p2.img
[07-12-16 5:50:23 pm] | Local File: /images/Win10HS/d1p2.img
[07-12-16 5:50:23 pm] | Files match
[07-12-16 5:50:23 pm] | Remote File size: 10076807
[07-12-16 5:50:23 pm] | Local File size: 10076807
[07-12-16 5:50:23 pm] | Remote File: /images/Win10HS/d1p1.img
[07-12-16 5:50:23 pm] | Local File: /images/Win10HS/d1p1.img
[07-12-16 5:50:23 pm] | Files match
[07-12-16 5:50:23 pm] | Remote File size: 190
[07-12-16 5:50:23 pm] | Local File size: 190
[07-12-16 5:50:23 pm] | Remote File: /images/Win10HS/d1.partitions
[07-12-16 5:50:23 pm] | Local File: /images/Win10HS/d1.partitions
[07-12-16 5:50:23 pm] | Files match
@Tom-Elliott Sure does. Thanks for the help!
After getting rid of the localhost bind, I can login fine. No issues at all.
When I attempt that, I get ERROR 2003 (HY000): Can’t connect to MySQL server on ‘10.1.0.24’ (111) . Tried from 2 other linux boxes.
@Wayne-Workman I haven’t touched it in a while, but where do I grab the fogstorage credentials?
I can connect locally as the root user and such
Appears you’re right. I disabled the location plugin (we only have one location at the time anyways, so why bother) and it booted right up.
Now, I’m hoping to add a second location within the week here as a pure storage node, now that we finally got our high speed WAN in place. Hopefully this can be resolved by then, so I don’t have to worry about stuff pulling across the WAN!
@Quazz
Content is:
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
params
param mac0 ${net0/mac}
param arch ${arch}
param platform ${platform}
param product ${product}
param manufacturer ${product}
param ipxever ${version}
param filename ${filename}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain http://10.1.0.24/fog/service/ipxe/boot.php##params
yep, and I can connect to it via the root login as well.
@george1421 Just double checked, yep, that’s the Apache error log (error.log) pulled from the Log viewer under Fog configuration.
it also worries me where it stays the MySql server has gone away …
Not so much a problem, just was wondering how they did something that worked for them, but I can start a new thread if needed. Just didn’t want to clutter it up with duplicates.
To that point, I’m looking for the partially. I’d like to be able to keep them on a confined ‘imaging switch’ or vlan, but still able to register with AD at the end of it all, and still allow me to shoot out Snapins at a later date.
We do 1:1 laptops, so they only image when th ey’re brought back into the office, but we still need Snapisn and the like.
Here is the apache log with everything from Today:
[Tue Jul 05 08:59:02.976170 2016] [:error] [pid 21672] [client 10.1.0.111:34431] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24
[Tue Jul 05 08:56:58.739643 2016] [:error] [pid 21671] [client 10.1.0.199:52938] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24
[Tue Jul 05 08:53:13.733738 2016] [:error] [pid 21671] [client 10.1.0.111:33092] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24
[Tue Jul 05 08:51:50.436565 2016] [core:notice] [pid 21668] AH00094: Command line: ‘/usr/sbin/apache2’
[Tue Jul 05 08:51:50.436466 2016] [mpm_prefork:notice] [pid 21668] AH00163: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
[Tue Jul 05 08:51:35.704898 2016] [mpm_prefork:notice] [pid 18204] AH00169: caught SIGTERM, shutting down
[Tue Jul 05 08:51:29.633638 2016] [:error] [pid 20670] [client 10.1.0.199:52574] PHP Warning: PDO::__construct(): MySQL server has gone away in /var/www/fog/lib/db/pdodb.class.php on line 32, referer: http://10.1.0.24/fog/management/index.php?node=task&sub=active
[Tue Jul 05 08:51:29.612471 2016] [:error] [pid 18211] [client 10.1.0.199:52573] PHP Warning: PDO::__construct(): MySQL server has gone away in /var/www/fog/lib/db/pdodb.class.php on line 32, referer: http://10.1.0.24/fog/management/index.php?node=task&sub=active
[Tue Jul 05 08:49:26.891831 2016] [:error] [pid 18334] [client 10.1.0.111:7252] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24
[Tue Jul 05 08:48:34.090955 2016] [:error] [pid 18276] [client 10.1.0.111:62502] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24
[Tue Jul 05 07:59:31.363747 2016] [:error] [pid 18209] [client 10.1.0.199:63368] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/pages/schemaupdaterpage.class.php on line 46, referer: http://10.1.0.24/fog/management/index.php?node=schema
[Tue Jul 05 07:27:04.514030 2016] [core:notice] [pid 18204] AH00094: Command line: ‘/usr/sbin/apache2’
[Tue Jul 05 07:27:04.513958 2016] [mpm_prefork:notice] [pid 18204] AH00163: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
[Tue Jul 05 07:26:44.892635 2016] [mpm_prefork:notice] [pid 4381] AH00169: caught SIGTERM, shutting down
Just pulled from GIT this morning, on version 8413
Host will register fine, but when I either attempt an AutoReg task, or a quick image, I get :
Could not image, input/output error (http://ipxe.org/id0c6539) and then it reboots.
When I browse to http://fog-ip/fog/service/ipxe/boot.php?mac=client0mac I get:
#!ipxe
set fog-ip 10.1.0.24
set fog-webroot fog
set boot-url http://${fog-ip}/${fog-webroot}
And that’s all.
Help? Let me know if you need other logs, etc.
@ITSolutions Do you have any other informatoin on this setup? that sounds exactly like what I’m looking to do, so I’d love to learn a bit more.
Updated to 8341, this seems to be fixed. had me freaked out, as my 4th of july weekend involves imaging 1200 machines…