Storage Management (Usage / Slow)
-
I’ve just installed my 1st node.
I want it to deliver images for another site. Thought I would have to create a storage group as well to deliver from there only?
I had issues getting it to replicate as 1st so went back to 1 node, no group and now I have a replicated image.Is this an issue?
Also FOG management seems a lot slower and if I change the graph to my NODE, sometimes it doesn’t load.
(currently the FOG server and NODE are on the same site) -
What version of FOG?
And image replication can only happen 1 of 2 ways.
- Two or more nodes in the same group with only one master set in the group.
- Assigning membership of an image to more than one storage group (fog trunk only).
-
Version 8440
please explain basic config for what I want. I would like the 2nd site to download Image from the server (node) on the sub-site, not from master fog server at head office. (images are uploaded at HO)
Thanks in advance.
-
@ITCC This article explains all of that, and includes a video.
https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin -
@ITCC
You’ll need a storage group for each location and assign the image to both groups, with the main office being the main storage group so FOG knows in which direction to replicate.Please refer to Tom’s answer instead
-
@Quazz Correction:
You need a storage group layout that’s for your locations. Nodes can be assigned to those different groups to create a kind of “load-balancing” system.
A location can be defined as a Group nodes are associated with their respective groups. If you really need to associate a particular Node for a host, you can still do so without necessarily requiring a new group as a part of that location. The only issue I see this posing is while a host may be designated to go to a particular node, other hosts might use that same node as it’s a part of the same group.
-
I think i have made good progress, but would like to check with you.
(watched the video)So i want a remote site (Junior Node) to deliver images to PC’s on that site and not to the Senior Node. (also don’t want the Senior to try and pick an image from Junior Node… do i want to split the Groups?)
I’m currently not getting replication (Added note 30 mins ago) -
@ITCC What OS is fog running on? I need to know to give you commands to check stuff.
-
Debian based
-
@ITCC What is the output of
service FOGImageReplicator restart
andservice FOGImageReplicator status
andtail -100f /opt/fog/log/fogreplicator.log
-
on the new node the status is down.
does it pull or push from master? -
Sorry for the small picture but this happens now when imaging anything.
Sorry foe the small view.
Says windows 7 when windows10
and Attepting to check inFOG VER
Fri Jul 08, 2016 15:07 pm
Running Version 8479
SVN Revision: 5864 -
@ITCC said in Storage Management (Usage / Slow):
on the new node the status is down.
does it pull or push from master?Execute those on the master node.
-
i’ll complete tomorrow and reply with log output.
-
LOOKING GOOD THIS TIME,
[07-11-16 9:32:59 am]
___ ___ ___
/\ \ /\ \ /\
/::\ \ /::\ \ /::\
/:/:\ \ /:/:\ \ /:/:\
/::-:\ \ /:/ \ /:/
/:/:\ :_\ /:/__/ :_\ /://:_
/ // \ /:/ / /\ //
:_\ /:/ / :_
// :/:/ / :/:/ /
::/ / ::/ /
// /__/###########################################
Free Computer Imaging Solution
###########################################[07-11-16 9:33:00 am] Interface Ready with IP Address: 80.175.66.162
[07-11-16 9:33:00 am] Interface Ready with IP Address: 192.168.39.6
[07-11-16 9:33:00 am] Interface Ready with IP Address: fog-server.churcherscollege.local
[07-11-16 9:33:00 am] Interface Ready with IP Address: mail.churcherscollege.com
[07-11-16 9:33:00 am] * Starting ImageReplicator Service
[07-11-16 9:33:00 am] * Checking for new items every 600 seconds
[07-11-16 9:33:00 am] * Starting service loop
[07-11-16 9:33:00 am] * Starting Image Replication.
[07-11-16 9:33:00 am] * We are group ID: #1
[07-11-16 9:33:00 am] | We are group name: DefaultGroup
[07-11-16 9:33:00 am] * We have node ID: #1
[07-11-16 9:33:00 am] | We are node name: 1- Senior School
[07-11-16 9:33:00 am] | Not syncing Image: JDT1.8
[07-11-16 9:33:00 am] | This is not the primary group
[07-11-16 9:33:00 am] * Found Image to transfer to 2 node(s)
[07-11-16 9:33:00 am] | Image name: JDT1.8
[07-11-16 9:33:01 am] * Starting Sync Actions
[07-11-16 9:33:01 am] | CMD:
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/JDT18 /images/JDT18; exit’ -u fog,[Protected] 192.168.39.5
[07-11-16 9:33:01 am] * Started sync for Image JDT1.8 -
I want to make sure the locations don’t run from each other.
what do i need to do to make sure the Junior only takes from the server in the JS?I ask as my StorageGroup says free 20 (19 as imaging now)
-
i’ve noticed that the main server is sending the image to the node and then the node is downloaded the image to machines that are not on the JS site. (this image is also not replicated to the node, in this example)
-
@ITCC You’ll probably want to use the location plugin.
-
on the video it states that selecting a host location “locks” the machine to that server.
This doesn’t seem to be the case.Please advise.
-
Location plugin installed, just trying to configure not to use WAN for anything other than replication.