Posts made by CoxM
-
RE: Cant access management portal
@sebastian-roth Here is what I am getting
image url)
-
RE: Cant access management portal
also found the mysql service is not running and failing to start, should it be running?
-
RE: Cant access management portal
Just to add to this issue
When I type in 127.0.0.1/fog/management it changes the url to 127.0.0.1/fog/management/?node=schema
If i disable the apache2 service it doesn’t change the url, restart it and it does again so something is working right, just not showing me the portal!
-
Cant access management portal
Hey all,
My FOG has been running great for some time. Recently we had some drama on the network (long story!) which meant we have to just turn off FOG asap, no grace nothing, just end the VM. This had to be done due to domain membership changes.I have now started the server again with a disabled virtual network card so that I can go in and adjust the AD domain details. unfortunately even going to 127.0.0.1 it wont load the portal. I just get a blank white screen.
Any thoughts?
Thanks -
RE: Using FOG across 2 domains
Perhaps a more simple way of asking the question would be - How can I stop the default FogSettings Active Directory settings impacting a specific host. Will the AD settings on the host be overwritten by FogSettings config?
-
Using FOG across 2 domains
Hi All,
For the next 3 weeks or so we are going to be in the process of swapping from an old domain that we no longer have over to a new domain. Currently I have 3 offices with 2 on the new domain and 1 on the original domain.
I haven’t yet had to fog a machine in the 2 offices that are on the new domain but now I am.
How can I ensure that machines running fog images and fog client on the old domain (of which there are many) stay on that domain but that this single machine is on the new domain and doesn’t try to get auto switched back by fog?
Hope that makes sense.Thanks,
Matt -
RE: Image Replication Across Storage Groups
@wayne-workman Thanks for that.
I am trying to confirm that now I have an image replicated to a storage node on my remote site, should i image a pc in that remote site which is made part of that remote site storage group it will pull the image from that node, not the master Fog server on my local site.Hopefully that all makes sense!
-
RE: Image Replication Across Storage Groups
@Wayne-Workman Dont worry, was a Linux permission issue on the 2nd data disk. All sorted and replicating as we speak!
Thanks.Just to confirm, any machine I put into the same storage group as the storage node will pull the data from that box rather than the Full Fog master server, is that correct?
Thanks.
Matt. -
RE: Image Replication Across Storage Groups
@wayne-workman
Thanks, looks like thats all sorted. The problme seems to now be the file path specified on the Storage node
Also, can you confirm what the “deleting file…” is about, that image is in use on live systems so dont need that disappearing!mirror: Access failed: 550 Failed to change directory. (/media/ubuntuadmin/Data/Images/Win10-Desktop) [12-14-17 4:01:19 pm] | There are no other members to sync to. [12-14-17 4:01:19 pm] | Image Name: Win10-Desktop [12-14-17 4:01:19 pm] * Not syncing Image between nodes [12-14-17 4:01:19 pm] * Attempting to perform Group -> Nodes image replication. [12-14-17 4:01:19 pm] * Started sync for Image Win10-Desktop lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator.Win10-Desktop.transfer.ATL-FOG.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/Win10-Desktop" "/media/ubuntuadmin/Data/Images/Win10-Desktop"; exit' -u fog,[Protected] 10.0.0.23 [12-14-17 4:01:19 pm] | CMD: [12-14-17 4:01:19 pm] * Starting Sync Actions [12-14-17 4:01:18 pm] * Deleting remote file: [12-14-17 4:01:18 pm] | Files do not match. [12-14-17 4:01:18 pm] | 16024639479 0 /images/Win10-Desktop/d1p2.img ftp://fog:password@10.0.0.23 [12-14-17 4:01:13 pm] * Deleting remote file: [12-14-17 4:01:13 pm] | Files do not match. [12-14-17 4:01:13 pm] | 355111921 0 /images/Win10-Desktop/d1p1.img ftp://fog:password@10.0.0.23 [12-14-17 4:01:07 pm] * Deleting remote file: [12-14-17 4:01:07 pm] | Files do not match. [12-14-17 4:01:07 pm] | 190 0 /images/Win10-Desktop/d1.partitions [12-14-17 4:01:02 pm] * Deleting remote file: [12-14-17 4:01:02 pm] | Files do not match.
Thanks,
-
RE: Image Replication Across Storage Groups
@Wayne-Workman
Ignore me, I hadnt set the storage node as master in its own group. Now that I have we are getting this.[12-14-17 3:14:55 pm] * Type: 2, File: /var/www/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.0.0.23, Username: fog [12-14-17 3:14:51 pm] | Image Name: Win10-Desktop [12-14-17 3:14:51 pm] * Found Image to transfer to 2 groups
Where is it pulling the username/password from and where should it be set?
Thanks for your help. -
RE: Image Replication Across Storage Groups
@wayne-workman HI, I have made that change to the image file and this is the log output for replication from the master logs
[12-14-17 3:04:51 pm] | There are no other members to sync to. [12-14-17 3:04:51 pm] | Image Name: Win10-Desktop [12-14-17 3:04:51 pm] * Not syncing Image between nodes [12-14-17 3:04:51 pm] * Attempting to perform Group -> Nodes image replication. [12-14-17 3:04:51 pm] | There are no other members to sync to. [12-14-17 3:04:51 pm] | Image Name: Win10-Desktop [12-14-17 3:04:51 pm] * Not syncing Image between groups [12-14-17 3:04:51 pm] | There are no other members to sync to. [12-14-17 3:04:51 pm] | Image Name: [12-14-17 3:04:51 pm] * Not syncing Image between nodes [12-14-17 3:04:51 pm] | Replicating postinitscripts [12-14-17 3:04:51 pm] | There are no other members to sync to. [12-14-17 3:04:51 pm] | Image Name: [12-14-17 3:04:51 pm] * Not syncing Image between nodes [12-14-17 3:04:51 pm] | Replicating postdownloadscripts [12-14-17 3:04:51 pm] * Attempting to perform Group -> Group image replication. [12-14-17 3:04:51 pm] * We are node ID: 1. We are node name: POR-FOG [12-14-17 3:04:51 pm] * We are group ID: 1. We are group name: Lakeside [12-14-17 3:04:51 pm] * Starting Image Replication. [12-14-17 2:54:51 pm] | There are no other members to sync to. [12-14-17 2:54:51 pm] | Image Name: Win10-Desktop [12-14-17 2:54:51 pm] * Not syncing Image between nodes
Looks like it is trying now to do group to group replication but struggling for some reason.
-
RE: Image Replication Across Storage Groups
Thanks for the reply @Wayne-Workman. I have the master node and the storage node configured and working but the master node wont replicate the imkages over to the storage node. the membership is as follows.
Fog Server - Master - Storage GroupA - Physical Location A
StorageNode1 - Not Master - Storage GroupB -Physical Location Bthe logs on the master show the following
[12-14-17 2:54:51 pm] | There are no other members to sync to. [12-14-17 2:54:51 pm] | Image Name: Win10-Desktop [12-14-17 2:54:51 pm] * Not syncing Image between nodes [12-14-17 2:54:51 pm] * Attempting to perform Group -> Nodes image replication. [12-14-17 2:54:51 pm] | There are no other members to sync to. [12-14-17 2:54:51 pm] | Image Name: Win10-Desktop [12-14-17 2:54:51 pm] * Not syncing Image between groups [12-14-17 2:54:51 pm] | There are no other members to sync to. [12-14-17 2:54:51 pm] | Image Name: [12-14-17 2:54:51 pm] * Not syncing Image between nodes [12-14-17 2:54:50 pm] | Replicating postinitscripts [12-14-17 2:54:50 pm] | There are no other members to sync to. [12-14-17 2:54:50 pm] | Image Name: [12-14-17 2:54:50 pm] * Not syncing Image between nodes [12-14-17 2:54:50 pm] | Replicating postdownloadscripts [12-14-17 2:54:50 pm] * Attempting to perform Group -> Group image replication. [12-14-17 2:54:50 pm] * We are node ID: 1. We are node name: POR-FOG [12-14-17 2:54:50 pm] * We are group ID: 1. We are group name: Lakeside [12-14-17 2:54:50 pm] * Starting Image Replication. [12-14-17 2:44:50 pm] | There are no other members to sync to.
I am guessing that the problem is that the master and slave are in different storage groups?
-
Image Replication Across Storage Groups
Hi All,
I have got 4 office locations and, at the moment, 2 FOG instances. One master at location A and in storage group 1 and one storage node in location B win storage group 2.what i want to end up with is a storage group for each location with a storage node in that location (Physically and in FOG config) but the single master in location A. This would then allow image management for all remote storage node locations from my base office location.
Is that possible?
Thanks,
Matt. -
RE: Storage Node Issues
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.
-
RE: Storage Node Issues
@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)
-
RE: Storage Node Issues
@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
-
RE: Storage Node Issues
@george1421 It looks like the issue now is a Db connection failure? Any thoughts?
-
RE: Storage Node Issues
Progress!!! Still not working tho ;-(
mirror: d1p2.img: Fatal error: max-retries exceeded [11-07-17 12:24:56 pm] * Started sync for Image Win10-Desktop lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator.Win10-Desktop.transfer.POR-FOG-SN1.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/Win10-Desktop" "/images/Win10-Desktop"; exit' -u fog,[Protected] 10.2.0.55 [11-07-17 12:24:56 pm] | CMD: [11-07-17 12:24:56 pm] * Starting Sync Actions [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 16024639479 0 /images/Win10-Desktop/d1p2.img "A valid database connection could not be made" [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 355111921 0 /images/Win10-Desktop/d1p1.img "A valid database connection could not be made" [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 190 0 /images/Win10-Desktop/d1.partitions "A valid database connection could not be made" [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 0 0 /images/Win10-Desktop/d1.original.swapuuids "A valid database connection could not be made" [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 30 0 /images/Win10-Desktop/d1.original.fstypes "A valid database connection could not be made" [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 190 0 /images/Win10-Desktop/d1.minimum.partitions "A valid database connection could not be made" [11-07-17 12:24:56 pm] * Deleting remote file: [11-07-17 12:24:56 pm] | Files do not match. [11-07-17 12:24:56 pm] | 1048576 0 /images/Win10-Desktop/d1.mbr "A valid database connection could not be made" [11-07-17 12:24:55 pm] * Deleting remote file: [11-07-17 12:24:55 pm] | Files do not match. [11-07-17 12:24:55 pm] | 1 0 /images/Win10-Desktop/d1.fixed_size_partitions "A valid database connection could not be made" [11-07-17 12:24:55 pm] | Image Name: Win10-Desktop [11-07-17 12:24:55 pm] * Found Image to transfer to 1 node [11-07-17 12:24:55 pm] * Attempting to perform Group -> Nodes image replication. [11-07-17 12:24:55 pm] | There are no other members to sync to. [11-07-17 12:24:55 pm] | Image Name: Win10-Desktop [11-07-17 12:24:55 pm] * Not syncing Image between groups [11-07-17 12:24:55 pm] * Started sync for Image dev/postinitscripts lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.POR-FOG-SN1.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/dev/postinitscripts" "/images/dev/postinitscripts"; exit' -u fog,[Protected] 10.2.0.55 [11-07-17 12:24:55 pm] | CMD: [11-07-17 12:24:55 pm] * Starting Sync Actions [11-07-17 12:24:55 pm] * Deleting remote file: /images/dev/postinitscripts/ [11-07-17 12:24:55 pm] | Files do not match. [11-07-17 12:24:55 pm] | 249 0 /images/dev/postinitscripts/fog.postinit "A valid database connection could not be made" [11-07-17 12:24:54 pm] | File Name: dev/postinitscripts [11-07-17 12:24:54 pm] * Found Image to transfer to 1 node [11-07-17 12:24:54 pm] | Replicating postinitscripts [11-07-17 12:24:54 pm] * Started sync for Image postdownloadscripts lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.POR-FOG-SN1.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.2.0.55 [11-07-17 12:24:54 pm] | CMD: [11-07-17 12:24:54 pm] * Starting Sync Actions [11-07-17 12:24:54 pm] * Deleting remote file: /images/postdownloadscripts/ [11-07-17 12:24:54 pm] | Files do not match. [11-07-17 12:24:54 pm] | 235 0 /images/postdownloadscripts/fog.postdownload "A valid database connection could not be made" [11-07-17 12:24:54 pm] | File Name: postdownloadscripts [11-07-17 12:24:54 pm] * Found Image to transfer to 1 node [11-07-17 12:24:54 pm] | Replicating postdownloadscripts [11-07-17 12:24:54 pm] * Attempting to perform Group -> Group image replication. [11-07-17 12:24:54 pm] * We are node ID: 1. We are node name: DefaultMember [11-07-17 12:24:54 pm] * We are group ID: 1. We are group name: Lakeside [11-07-17 12:24:54 pm] * Starting Image Replication. [11-07-17 12:24:54 pm] * Starting service loop [11-07-17 12:24:54 pm] * Checking for new items every 600 seconds [11-07-17 12:24:54 pm] * Starting ImageReplicator Service```