• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Gilou
    3. Best
    G
    • Profile
    • Following 1
    • Followers 2
    • Topics 7
    • Posts 105
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by Gilou

    • RE: Mac Netbooting

      Hi Wayne & Frank,

      I have read extensively through all the information I could get at the time I investigated that (like 2 years ago), we have macminis, 2011 & 2012. And I never could get them to properly boot on the network, so what I did was to live boot a Ubuntu image on the mac, and “fog” myself (well, that is why I helped have partclone replace partimage in fog, because partimage couldn’t handle hfs).

      Now I see you updated the wiki from what I remembered, as I was doing all that in the “pre ipxe” era. So I might give it a try next week… Thanks for the updates, I’ll let you know if that helps.

      Cheers,
      Gilles

      posted in Feature Request
      G
      Gilou
    • r4211 schema issue

      installing from latest SVN on debian8 (on mysql 5.5), I encountered an error due to the latest schema update not mentioning the type of new columns. I suppose they are meant to be INT, but I guess it was just forgotten there 😉

      The following errors occured

      Update ID: 198 - 0

      Database Error:

      You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1

      Database SQL:

      ALTER TABLE fog.snapinGroupAssoc ADD COLUMN sgaPrimary

      Update ID: 198 - 1

      Database Error:

      You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1

      Database SQL:

      ALTER TABLE fog.imageGroupAssoc ADD COLUMN igaPrimary

      posted in Bug Reports
      G
      Gilou
    • RE: FOG storage node and data replication

      Hi,

      I have a similar scenario, with images being built in one place, then transferred out to other independent FOG servers (NOT secondary sites). I do it rather manually, using rsync and mysqldump on images (something like mysqldump fog images --where ‘imageId IN (xx,xx,xx)’ with the corresponding images to pull down).

      I’ve thought about integrating them into fog, but sometimes, we need to pull back images from other servers, and not all sites have the same kind of connectivity, so the transfers have to happen at different times of day… So well, I use my brain, and we do sync using rsync/mysqldump as required. I will probably end up with some file synchronization system… but rsync works nicely for this. And the “one way image pull” is easy to script.

      One way (meaning you don’t care what’s on the slave, as far as images go):
      on master: mysqldump fog images > /images/images.sql
      on “slave”: rsync -avP fog@master:/images/ /images && mysql fog < /images/images.sql

      I think it’s not too appropriate to use the storage node feature for this, unless we can indeed define a bandwidth limit and time for the sync to happen, which can be done using a script & crontab without touching FOG. And if you want independent servers (I do), that won’t do, you need a full master on each site.

      EDIT: ah, I just saw Tom’s news https://news.fogproject.org/imagesnapin-replication/
      Well. That could do it… I guess we need to be able to flag a “big master”, or maybe have the ability to set an image as shared wherever it comes from on “masters”.
      Cheers,
      Gilles

      posted in FOG Problems
      G
      Gilou
    • 1 / 1