Latest FOG 0.33b
-
r1343 released.
Fixes path display on Image Management Page, if you have multiple master nodes. It would only display the first node it found which would typically be the first ID in the sequence. It now pulls the master node based on the Group ID.
-
[quote=“Tom Elliott, post: 24314, member: 7271”]r1343 released.
Fixes path display on Image Management Page, if you have multiple master nodes. It would only display the first node it found which would typically be the first ID in the sequence. It now pulls the master node based on the Group ID.[/quote]
And so the “scheduler” will work ?
-
r1344
When i put my Storage NAS in master :
1°) The Scheduler service in log message say : “I don’t appear to be the group manager, I will check back later”
2°) If I change the Storage Group for NAS to default and i Update, the upate fail ! -
Which scheduler service says “I don’t appear to be the group manager, I will check back later”?
When you’re changing the Storage Group for nas, to default, make sure it isn’t set to default node!
-
And, I’m assuming your changing the Storage_NAS group to default and not trying to change the Group Name NAS to default?
-
[quote=“Tom Elliott, post: 24323, member: 7271”]And, I’m assuming your changing the Storage_NAS group to default and not trying to change the Group Name NAS to default?[/quote]
This conf is ok ? If i want use a NAS for the Storage ?[url=“/_imported_xf_attachments/0/597_Capture.JPG?:”]Capture.JPG[/url]
-
If you want NAS as the master storage node for the default group, it’s perfectly fine to set it, just remember to uncheck the defaultMember’s master status.
-
[quote=“Tom Elliott, post: 24291, member: 7271”]
FOG_TFTP_PXE_CONFIG_DIR is no longer really required as we’ve moved the pxelinux.cfg directory to /var/www/fog/service/ipxe. The “config” is done dynamically from the boot.php/BootMenu.class.php files. Tasks aren’t “saved” anywhere anymore so we don’t need to ftp the 01-XX-XX-XX-XX-XX-XX files anymore.
FOG_TFTP_PXE_KERNEL_DIR should be set based on the variables during install time. If it’s not set, I don’t know why. However, this should be set to /var/www/fog/service/ipxe
FOG_TFTP_PXE_KERNEL should only contain “bzImage” as iPXE uses relative links. So when it chains to iPXE, it’s chaining to [url]http://{fogserverip}/service/ipxe/boot.php[/url]The relative location in full form when loading bzImage and init.xz would then be:
[url]http://{fogserverip}/service/ipxe/{bzImage,init.xz}[/url]The location of the init.xz and bzImage files is in: /var/www/fog/service/ipxe which is why you set the KERNEL_DIR parameter to that folder. If for some reason permissions weren’t setup properly, this folder should be chown -R fog.root /var/www/fog/service/ipxe
[/quote]Thank you for all these explanations, you made many interesting changes since 0.32… I better understand how it all fits.
I only changed my DHCP server to use “undionly.kpxe” : when I started my test computer, it started with the fog kernel. It didn’t clone this computer (maybe because it’s an “Advanced Format Drive”), but cloning is ok with classic disks.
Many thanks
-
I do not know if I speak well, this is what I want:
[U]Here’s what I have:[/U]
- Storage Group = default,
in this Group -> Storage Node = DefaultMember
image path = /images
IP = 172.16.8.44
(This group does me nothing)
- Storage Group = NAS
in this Group -> Storage Node = Storage_NAS
image path = /volume1/images
IP = 172.16.8.43
(this is where I want to save, it’s NAS Synology)
How to make:
- The Scheduler works (because it does not work when it is Storage_NAS in master)
- If I do not put in the master Storage_NAS but DefaultMember the Scheduler works, but I is not the path / volume1/images in the configuration file.
- Storage Group = default,
-
[quote=“Tom Elliott, post: 24314, member: 7271”]r1343 released.
Fixes path display on Image Management Page, if you have multiple master nodes. It would only display the first node it found which would typically be the first ID in the sequence. It now pulls the master node based on the Group ID.[/quote]
If i ave multiple master nodes the service sheduler log : I don’t appear to be the group manager, I will check back later. -
It’s not multiple master nodes. It multiple groups.
If you move the Storage_NAS into the Default group (as you’re using the server off of the default group) and make the Storage_NAS as master, all should work.
-
[quote=“Tom Elliott, post: 24333, member: 7271”]It’s not multiple master nodes. It multiple groups.
If you move the Storage_NAS into the Default group (as you’re using the server off of the default group) and make the Storage_NAS as master, all should work.[/quote]
I’ve moved the Storage_NAS into the Default group, but now when i upload a image of the host it doesn’t write into the NAS under folder /volume1/images but it’s write in the first time to the DefaultMember in folder /images.When i’ve a other group, it’s write directly to the Storage_NAS under folder /volume1/images
-
I’m still confused. Is Storage_NAS the master node in the Default group?
-
r1347 released.
More changes, namely to the BootMenu.class.php. We’ve added some elements to make it that much more similar to the “old” pxe system. Hidden menu displays the key sequence, once the key sequence is hit, it presents a login screen. Debug mode is now only accessible if HiddenMenu is enabled AND the keysequence/auth scheme are met. This is because giving, basically, anybody inherit access to debug can be pretty dangerous.
There were a few more revision changes that basically implemented this and fixed a few other areas on the BootMenu.class.php file. Just giving you all a heads up.
-
When I do a fresh install under Centos and I update the DB from the browser, I have problems with the SQLs. It’s easy solve it:
[CODE]138c138
< “INSERT INTO" . DATABASE_NAME . "
.users
VALUES (‘’,‘fog’, MD5(‘password’),‘0000-00-00 00:00:00’,‘’)”,“INSERT INTO
" . DATABASE_NAME . "
.users
(uName,uPass, uCreateDate, uCreateBy) VALUES (‘fog’, MD5(‘password’),‘0000-00-00 00:00:00’,‘’)”,
140c140
< “INSERT INTO" . DATABASE_NAME . "
.supportedOS
VALUES (‘’,'”._(“Windows XP”).“', ‘1’)”,
“INSERT INTO
" . DATABASE_NAME . "
.supportedOS
(osName,osValue) VALUES ('”._(“Windows XP”).“', ‘1’)”,
142c142
< “INSERT INTO" . DATABASE_NAME . "
.schemaVersion
VALUES (‘’,‘1’)”
“INSERT INTO
" . DATABASE_NAME . "
.schemaVersion
(vValue) VALUES (‘1’)”
147c147
< “INSERT INTO" . DATABASE_NAME . "
.supportedOS
VALUES (‘’,'”._(“Windows Vista”).“', ‘2’)”,
“INSERT INTO
" . DATABASE_NAME . "
.supportedOS
(osName,osValue) VALUES ('”._(“Windows Vista”).“', ‘2’)”,
257c257
< “INSERT INTO" . DATABASE_NAME . "
.supportedOS
VALUES (‘’,‘Other’, ‘99’)”,
“INSERT INTO
" . DATABASE_NAME . "
.supportedOS
(osName,osValue) VALUES (‘Other’, ‘99’)”,
844c844
< (ngmMemberName, ngmMemberDescription, ngmIsMasterNode, ngmGroupID, ngmRootPath, ngmIsEnabled, ngmHostname, ngmMaxClients, ngmUser, ngmPass )
(ngmMemberName, ngmMemberDescription, ngmIsMasterNode, ngmGroupID, ngmRootPath, ngmIsEnabled, ngmHostname, ngmMaxClients, ngmUser, ngmPass, ngmKey )
846c846
< (‘DefaultMember’, ‘“._(“Auto generated fog nfs group member”).”’, ‘1’, ‘1’, ‘/images/’, ‘1’, ‘" . STORAGE_HOST . "’, ‘10’, ‘" . STORAGE_FTP_USERNAME . "’, ‘" . STORAGE_FTP_PASSWORD . "’ )",('DefaultMember', '"._("Auto generated fog nfs group member")."', '1', '1', '/images/', '1', '" . STORAGE_HOST . "', '10', '" . STORAGE_FTP_USERNAME . "', '" . STORAGE_FTP_PASSWORD . "','' )",[/CODE]
In these insert SQLs you must put the column names. In the last one, you must add the ‘ngmKey’ column
-
[quote=“Tom Elliott, post: 24338, member: 7271”]I’m still confused. Is Storage_NAS the master node in the Default group?[/quote]
To put it simply, when Storage_NAS is the master node in the Default group, the scheduler say: I don’t appear to be the group manager, I will check back later. -
This is expected. The reason for it to “I don’t appear to the be group manager.” Is the IP of your fog server is not the same as the IP of the NAS. So it is NOT the group manager for that particular node. For everything else, however, it should be perfectly fine.
-
r1348 released.
Add’s hooking to the Storage Management Page. Finally, only one more page left.
-
r1349 released.
All Management pages are now rid of excessive php tags and table information is all hooking able.
-
[quote=“Tom Elliott, post: 24344, member: 7271”]This is expected. The reason for it to “I don’t appear to the be group manager.” Is the IP of your fog server is not the same as the IP of the NAS. So it is NOT the group manager for that particular node. For everything else, however, it should be perfectly fine.[/quote]
Hello Tom,Can you then tell me the proper way to set FOG knowing that:
[U][B]FOG server:[/B][/U]
[LIST]
[]CentOS 6.5
[]5 GB disk
[*]FOG 0.33B
[/LIST]
(No backup on the server that has a 5GB disk)[U][B]The NAS server:[/B][/U]
[LIST]
[]SYNOLOGY
[]8TB disk
[/LIST]
NFS share as many NAS trade is prefixed to the volume name, for it is SYNOLOGY / volume1 / for IOMEGA is “/ nethdd /” which gives for SYNOLOGY “/ volume1/images” and IOMEGA "/ nethdd / images "I also want to keep the timer function.