Selecting which server to capture/deploy images on Fog
First of all, I want to say I’m very grateful for all the hard-work put into this project. It’s amazing how many options and how well integrated it is. I’ve implemented it into my work environment and we have now 2 servers, 1 main and 1 storage node both on CentOS 7.
I’m extremely happy with the speed of the server however, I keep tweaking and tweaking because I’m a perfectionist. My servers are as follows:
Main : 3x3TB SAS in a RAID5 with LACP on 2x1Gb NICs
Node: 4x300GB SAS 15k in a RAID0 with LACP on 2x1Gb NICs
The speeds I’m getting are 12-14gb/min for deploy and 4-5 for capturing.
What I’m trying to accomplish and I was wondering if it’s possible at all, is to select on which server I want the images to be captured first and which server to deploy them first. I’d like to deploy and capture them on my NODE. Would it be possible?
If I can’t capture them on my NODE, would I be able to at least deploy them from it?
is to select on which server I want the images to be captured first and which server to deploy them first.
There are some rules that you have to work with. Rule 1. Captures always, always, always go to the master of the storage-group the image is assigned to. This rule can’t be changed, it’s how fog works.
However, you can have many storage groups, and a storage node can belong to many groups. A storage node can be a master in one group, and a non-master in another - there’s a whole lot of ways to setup the nodes & groups & masters. Here’s more information on how replication works: https://wiki.fogproject.org/wiki/index.php?title=Replication
For the second part of your question, I think you might be looking for the Location plugin, here’s more details: https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin I think if you watch the video, a lot of your questions will be answered.