2 primary fog plan
-
@msi You assign the host you want to image to a location too. That way the target knows who better to talk to. Otherwise it just goes back to the master node.
-
@msi said in 2 primary fog plan:
Not sure what do you mean by adding a target computer to a location.
That’s demonstrated in the location plugin video.
-
-
@george1421 @Wayne-Workman Yes, I have. George helped with that before. I am kind of suspecting the switch. I noticed those are catalyst 2950 switch. Speed is 10/100 Mbps
-
@george1421 Also, how can I start replication time and image at my choice? For example, I have 12 images but I want to replicate only two of them to a particular storage node at night time. So that I don’t disturb the day time traffic.
Sorry that I am asking too many question, but I have to answer to my boss.
-
@msi Well there isn’t a clean way to control replication based on time of day. But there is a way…
There are two elements to this.
- In each image definition you can control what images replicate. For you to send only two a night, just enable the images for replication you want to replicate on that day.
- You can setup a cron task to enable and disable the fog replicator service based on time of day. Using the same concept you can change the bandwidth consumption by updating the record in the database then restarting the fog replicator service.
Depending on your image size, you might be better off seeding the remote locations via a usb flash drive then enabling replication on the master node once the images have been seeded on the remote storage nodes.
-
@george1421 I just want send two that is corresponds to that particular branch. Can you give me one example of Cron task in this case?
-
@msi something like this:
First, disable and stop the image replicator.
systemctl disable FOGImageReplicator systemctl stop FOGImageReplicator
Then setup a root crontab that would restart it when you want to start, and stop it when you want to stop. We use restart incase it’s already running. If it’s not running, restart will just start it.
0 22 * * * /usr/bin/systemctl restart FOGImageReplicator 0 6 * * * /usr/bin/systemctl stop FOGImageReplicator
-
@wayne-workman I think, I would rather create a storage group and assign the storage node under that group. According to your video tutorial, it shouldn’t replicate it.
-
Sounds good.