+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
*nix Thread, Fog - Storage nodes? in Technical; I am finally using fog in anger and have noticed that it is much slower to register hosts etc when ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30

    Fog - Storage nodes?

    I am finally using fog in anger and have noticed that it is much slower to register hosts etc when an image is being sent out to one or more machines.
    Not too much of a problem BUT if I was to install a storage node would this help with speed?
    Has anyone else done this and noticed an improvement.

    I am using 0.26 after using 0.27 which seemed to be even slower but looking back I think it was just that when it working slowly it gave me no feedback.

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    From what I understood when reading the documentation, adding more storage nodes means that the load is distributed between nodes.

    You can also specify a specific node so that, for example, you could build a tiny server and carry it to the room you are imaging so that it is nearer the endpoints.

  3. #3
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by Ric_ View Post
    You can also specify a specific node so that, for example, you could build a tiny server and carry it to the room you are imaging so that it is nearer the endpoints.
    I wish Ric. I'm imaging the whole school.

    I'll add on a second storage server this morning and see wht happens!

  4. #4

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,600
    Thank Post
    109
    Thanked 769 Times in 598 Posts
    Rep Power
    181
    Quote Originally Posted by reggiep View Post
    I wish Ric. I'm imaging the whole school.
    In one go?

  5. #5
    Heebeejeebee's Avatar
    Join Date
    Nov 2006
    Location
    Intergalactic Cruise
    Posts
    1,056
    Thank Post
    69
    Thanked 77 Times in 61 Posts
    Rep Power
    35
    Quote Originally Posted by Ric_ View Post
    In one go?
    Shouldn't be too bad if multicasting.

    We're testing it here and managed 60 PCs in 15 mins or so and that's including re-imaging them, letting sysprep do its thing and getting them added to the domain. Admittedly they were all the same type of machine so the image was just one being mulicast.

    So far I love it.

    Now if only those pesky SIS 900 POS NICs would PXE boot

    HBJB

  6. #6
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    I'm unicasting, with a queue of 10.

    Now then back to storage. I have installed fog storage over the top of an install of my old 0.27 server. All seemed fine but it didn't give me a username and password as it said it would in the documentation. Does anyone know where this might be located?

  7. #7


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    when I did 0.26 -> 0.27 it kept all the configuration settings the same

  8. #8
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Sorry, I didn't explain properly.

    My fog server is stillfine but i don't kow what the username and password is to connect my storage server to the main fog server. It did not give me them

    Does anyone know what the default ones would be?

    I have found what I think is the encrypted password in /var/www/fog/commons/config.php but I wouldn' know how to decipher this?

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    open up '/opt/fog/.fogsettings' in a text editor. The password is in there.

  10. #10
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Quote Originally Posted by Geoff View Post
    open up '/opt/fog/.fogsettings' in a text editor. The password is in there.
    This is what I have, no mention of a user apart from the sql which I have altered.

    Code:
    ## Created by the FOG Installer
    ## Version: 0.27
    ## Install time: Tue 04 Aug 2009 09:35:04 BST
    
    ipaddress="10.60.28.152";
    interface="eth0";
    routeraddress="";
    plainrouter="";
    dnsaddress="";
    dnsbootimage="";
    password="ea345062bf4145de09fa6a7efe4853c9";
    osid="2";
    osname="Ubuntu";
    dodhcp="";
    bldhcp="";
    installtype="S";
    snmysqluser="fogstorage"
    snmysqlpass="fs3434";
    snmysqlhost="10.60.28.57";
    fogupdateloaded="1"

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    There it is:

    Code:
    password="ea345062bf4145de09fa6a7efe4853c9";
    In the storage configuration UI on the main FOG server, put that in as the management password.

  12. Thanks to Geoff from:

    reggiep (4th August 2009)

  13. #12
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Cheers geoff, I'll give that a go!

  14. #13
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    Hmm, mixed results.
    The password solution from Geoff did work but it just moved me to my next error!

    The images are not moving across to the storage server.
    The /images folder has a 4kb file with the name of my first image.
    When I take a look in /opt/fog/log/fogreplicator.log I see the following message being repeated every 10 minutes...

    "Failed to connect to database server, will try again next iteration."

    My sqluser and password match up in the Fog Storage nodes settings on the web console and in the /opt/fog/.fogsettings file!

    Anyone any idaes at all?

    Thanks

  15. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    make sure the MySQL settings are correct in '/opt/fog/service/etc/config.php'

  16. #15
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30
    On my original fog server I have these lines in '/opt/fog/service/etc/config.php'

    Code:
    define( "MYSQL_HOST", "" );
    define( "MYSQL_DATABASE", "fog" );
    define( "MYSQL_USERNAME", "" );
    define( "MYSQL_PASSWORD", "" );
    and in my fog storage node I have...

    Code:
    define( "MYSQL_HOST", "10.60.28.57" );
    define( "MYSQL_DATABASE", "fog" );
    define( "MYSQL_USERNAME", "fogstorage" );
    define( "MYSQL_PASSWORD", "fs5998" );
    hmm, does that seem right!

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [Fog] FOG Help!
    By Dafty in forum O/S Deployment
    Replies: 2
    Last Post: 10th August 2011, 10:51 AM
  2. [Fog] FOG is AWESOME!
    By Batman in forum O/S Deployment
    Replies: 68
    Last Post: 22nd January 2010, 04:22 AM
  3. [Fog] Fog server
    By clarky2k3 in forum O/S Deployment
    Replies: 7
    Last Post: 15th April 2009, 12:26 PM
  4. [Fog] FOG
    By CheeseDog in forum O/S Deployment
    Replies: 5
    Last Post: 3rd March 2009, 09:54 AM
  5. Fog!
    By localzuk in forum Other Stuff
    Replies: 1
    Last Post: 23rd January 2007, 11:25 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •