• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Replication - auto adding images to offsite FOG servers

Scheduled Pinned Locked Moved
FOG Problems
2
2
761
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    semipro1337
    last edited by Nov 4, 2015, 3:30 PM

    FOG 1.2.0
    Ubuntu 14.04 LTS - each site is identical with hardware and OS/Fog versions.

    Hello, I have been looking through the forums for different things regarding replication/location plugin posts and came across everything that I needed up until now, but I cant find anything for this particular issue or im just not typing the search string correctly to find it.

    Replication works great, disk are being copied to my 2 “offsite” servers (as soon as I fix the issue below I will have 9 off site servers to deploy).

    My question is, is there a way to make the master node auto-update the image database on the remote servers to match what shows when I goto the “images” area of the FOG GUI on the master server? On both remote servers when I goto look at the list of images, there are no entries in the GUI but the files exist in the /images folder, and if I click on Create New Image to manually add them, I get nothing but a page that says “Add new image definition” at the top of the screen.

    In the past with version .32 (didnt know abuot the location plugin back then) I would have a script run that would look for any changes in the /images folder on a primary and scp them out to the other servers, then it would shut down mysql, export the FOG Database, scp that to the outlying servers, then start mysql again. The outlying servers would then run a script each evening that would shut down mysql, import the database from the main server, and then everything on this FOG server would match what was on the main - but sometimes the images wouldnt work, the imageID would change for some reason compared to what it was on the main server and I would have to manually delete and re-create the image definition.

    Shouldnt the location plugin be adding these entries after replication?

    Thanks for your help!

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Nov 4, 2015, 9:39 AM Nov 4, 2015, 3:36 PM

      While I don’t have an answer for you, I do have a feature request out there for the exact same thing. https://forums.fogproject.org/topic/6014/create-the-concept-of-a-foreignmasterstorage-deployment-node
      Right now there the only way to do this is manually or scripting via sql dump and sql import of the images and snapins tables between the deployment nodes.

      You can do something similar but with storage nodes (not a master deployment node), and you will need to install the /tftpboot files on the storage node. You will need to use the location plugin and storage groups.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post

      140

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project