Difference between revisions of "Location Plugin"

From FOG Project
Jump to: navigation, search
Line 4: Line 4:
  
  
This page is intended to better document the location plugin. It's a work in progress.  Below, you'll only find notes / jibberish that I'm collecting at the moment.
+
This page is intended to better document the location plugin. It's a work in progress.  Below, you'll only find notes / gibberish that I'm collecting at the moment.
  
  
Line 10: Line 10:
  
  
 +
Why not use the Location Plugin to do the transfers for you?
  
 +
Heck, if you update to the Development versions, you don’t even have to setup rsync tunnels.
  
<pre>GRANT ALL PRIVILEGES ON . TO ‘fog’@’%’ IDENTIFIED BY ‘PassHere’ WITH GRANT OPTION;</pre>
+
You can install the Nodes how you see fit. I’d recommend, for your case, to install all the servers as “Full Servers”, and then once the installation is complete edit the /opt/fog/.fogsettings file to use:
 +
snmysqluser=‘fogstorage’
 +
snmysqlpass=‘fogstoragepasswordfromfogsettings’
 +
snmysqlhost=‘IP.OF.Main.Server’
  
and inside my.cnf, I set
+
This way, all the fog servers at all of the buildings communicate to a single server.
bind-address = *
 
  
edit the my.cnf file in /etc/mysql/my.cnf. And comment the bind-address line with the # symbol. Once commented and saved, restart the mysql service. That should be it.
+
THen you create your storage nodes based on the information of the other fog servers.
  
 +
Create the appropriate groups as necessary.
  
FOG Configuration -> FOG Settings -> FOG Storage -> FOG_STORAGENODE_MYSQLUSER & FOG_STORAGENODE_MYSQLPASS
+
Assign the images to the groups you want the images to “cross” between.
 +
 
 +
That way you have a centrally managed server, with pxe boot setup locally at each building.
 +
 
 +
The location plugin will attach to the hosts that belong at that particular building.

Revision as of 19:48, 5 August 2015

Location Plugin

This page is intended to better document the location plugin. It's a work in progress. Below, you'll only find notes / gibberish that I'm collecting at the moment.




Why not use the Location Plugin to do the transfers for you?

Heck, if you update to the Development versions, you don’t even have to setup rsync tunnels.

You can install the Nodes how you see fit. I’d recommend, for your case, to install all the servers as “Full Servers”, and then once the installation is complete edit the /opt/fog/.fogsettings file to use: snmysqluser=‘fogstorage’ snmysqlpass=‘fogstoragepasswordfromfogsettings’ snmysqlhost=‘IP.OF.Main.Server’

This way, all the fog servers at all of the buildings communicate to a single server.

THen you create your storage nodes based on the information of the other fog servers.

Create the appropriate groups as necessary.

Assign the images to the groups you want the images to “cross” between.

That way you have a centrally managed server, with pxe boot setup locally at each building.

The location plugin will attach to the hosts that belong at that particular building.