Intermittently offline storage node...


  • Moderator

    I had this idea… it’s sort of out there but here goes…

    Is it possible to have a always-on Master storage node tied to another storage node within the same LAN?

    And if so, say that other storage node was a laptop… that went “offline” from time to time…

    When it came back online, would it sync any images I uploaded? Would it sync the database?

    What sort of communications do Master storage nodes and other storage nodes need to fully function?

    Any way to turn the web GUI on for a non-master storage node? Would things still sync if I did?


  • Moderator

    I can update my script with rsync :

    • It’s debian based
    • The laptop can only used to deploy (any update “laptop” to “FoG Main Server”)
    • Each site have there own DHCP

    I’ll post it here asap.

    Regards,
    Ch3i.


  • Moderator

    [quote=“ch3i, post: 45427, member: 2513”]Hi,

    I used it before because few sites were not connected in VPN with the head office. If you have a VPN community in your organisation and a possibility to have storage on each site, you can use Location plugin here (as say Wayne Workman) : [url]http://www.fogproject.org/wiki/index.php/Plugins#Location_Plugin[/url]
    Else I can help you to duplicate your fog server.

    Regards,
    Ch3i.[/quote]

    I, however, am interested in details for duplicating a FOG server.


  • Moderator

    [quote=“Shane, post: 45419, member: 1055”]Hi Ch3i,

    Any chance you could elaborate on what you do as I am trying to set up the same. We run a fog server at head office where we setup all hardware. We then need to travel to remote sites and deploy those images.

    Regards,

    Shane[/quote]

    Hi,

    I used it before because few sites were not connected in VPN with the head office. If you have a VPN community in your organisation and a possibility to have storage on each site, you can use Location plugin here (as say Wayne Workman) : [url]http://www.fogproject.org/wiki/index.php/Plugins#Location_Plugin[/url]
    Else I can help you to duplicate your fog server.

    Regards,
    Ch3i.


  • Moderator

    [quote=“Shane, post: 45419, member: 1055”]Hi Ch3i,

    Any chance you could elaborate on what you do as I am trying to set up the same. We run a fog server at head office where we setup all hardware. We then need to travel to remote sites and deploy those images.

    Regards,

    Shane[/quote]

    If you have a WAN between all your sites, you should use the location plugin instead.
    What I’m working on, and what Ch3i is talking about, is not an ideal setup for organizations that already have a WAN.



  • [quote=“ch3i, post: 45131, member: 2513”]I use this system.

    To do it :
    1/ Rsync between the server and laptop to sync database/application and images.
    2/ Run the installer on the laptop before each use to update your configuration (pxe, …)

    Regards,
    Ch3i.[/quote]

    Hi Ch3i,

    Any chance you could elaborate on what you do as I am trying to set up the same. We run a fog server at head office where we setup all hardware. We then need to travel to remote sites and deploy those images.

    Regards,

    Shane


  • Moderator

    [quote=“Wayne Workman, post: 45005, member: 28155”]Well, the idea is to have a laptop with FOG installed, and go out with a cross-over cable to deploy & capture images. However, I want the client registration info and images I capture to sync with the primary server once the laptop is brought back online later…

    I think I’m just going to have to try it out and see…[/quote]

    I use this system.

    To do it :
    1/ Rsync between the server and laptop to sync database/application and images.
    2/ Run the installer on the laptop before each use to update your configuration (pxe, …)

    Regards,
    Ch3i.


  • Developer

    storage nodes don’t run their own databases. they connect to the primary fog server.


  • Moderator

    Well, the idea is to have a laptop with FOG installed, and go out with a cross-over cable to deploy & capture images. However, I want the client registration info and images I capture to sync with the primary server once the laptop is brought back online later…

    I think I’m just going to have to try it out and see…


  • Moderator

    You could make a storage node that boots via WOL and then you could run the image replicator, or use some other method of replicating the images.

    Just make sure you give it time to boot up and replicate before trying to pull an image off of it.

    You might also be able to hack in the ability for the server to SSH into a hypervisor and start a specific VM, however this will likely not ever come to the ‘normal fog’ :)


Log in to reply
 

339
Online

39.3k
Users

11.0k
Topics

104.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.