I don’t only read this information, but I also tried it. Not sure how it should work, but with Quick Registration configured, result was, when I booted targeted computer, FOG boot menu showed, and after few seconds computer booted back to OS on harddrive. When I manually choosed Quick registration and inventory from menu, host was registered with proper name given by settings, image was associated etc… But my interaction was needed. That is why I asked about possibility to choose Quick registration automaticaly from menu. This is for FOG 1.2.0 (I tried install trunk version also, but was not able to access FOG configuration page, so I did go back to 1.2.0) Am I missing something?
Posts made by mrzo
-
RE: Auto registration for unregistered hosts with Quick registration and invetory
-
RE: Auto registration for unregistered hosts with Quick registration and invetory
[quote=“Tom Elliott, post: 43696, member: 7271”]I guess I’m not understanding what you’re trying to do.[/quote]
I thought I explained it well, guess not…Simply - I want register (and deploy image to) 150 new computers without need to plug every one of them to keyboard and monitor and I want it do quickly as possible when they arrive. My idea was to plug them few at the time to power and network, boot them, they automaticaly register to FOG with inventory info, they shutdown. I add these computers to one “deploy” group , add task to this group to deploy image, power on computers, let it do its works move them to “finished” group and repeat.
I wanted do this with clonezlilla as we did it before, but I like the idea of have them registered, with invetory, have multiple different images ready for them when needed… So I started playing with FOG.
-
RE: Auto registration for unregistered hosts with Quick registration and invetory
[quote=“Junkhacker, post: 43692, member: 21583”]or, you could enable Fog quick registration
fog configuration > fog settings > fog quick registration[/quote]
I count on it. But as I understood, quick registration only helps with naming, assigning image to registering hostsetc… But you must register host normaly (choose one of registration option from FOG boot menu, manualy register it on web page, etc…) Or am I mistaken? -
RE: Auto registration for unregistered hosts with Quick registration and invetory
I think the simplest solution will be edit the php code. Thanks for offering a help, if I’ll need something I’ll use it.
-
RE: Auto registration for unregistered hosts with Quick registration and invetory
Thanks. No problem to editing some php code, but wanted to avoid this kind of customization for future fog updates (they probably overide this). But will, if I dont find other solution. I thought about this when I realised the boot menu is generated by php, but dont known the system yet. So great to pointing me to right class and code.
Regarding the computers, they will be refurbished and they will be (should be) set up to boot from network and without need to connect keyboard (as we asked for this).
Extracting MACs from log file is option, but for me problably most complicated. But when the script is done and functional, at least the possibility of error will be lower (agains manually recording it).
-
Auto registration for unregistered hosts with Quick registration and invetory
I want to ask if there is a simple way to not continue booting but select Quick registration and invetory from menu automatically for unregistered hosts only and if possible shutdown after this. Advanced menu? How? I know there is an option for importing csv file, but its just room for errors with obtaining and saving mac address…
We will be installing 150 new computers and I want use fog, and have them all registered for future use. My idea was connect few of them at one time, register them and after registration assign to “upload” group and upload prepared image. I found some options in fog settings for auto naming and image assigning, which is great, but I would like to make this more automatic.
-
RE: Problem uploading image - size only 58MB
Problem was with the available free space (it was combination of virtual disk setup and linux installation). Creating my first image now, seems ok so far. Thanks you all for pointing me to right direction.
-
RE: Problem uploading image - size only 58MB
[quote=“Tom Elliott, post: 43277, member: 7271”]How many partitions are on the Windows XP image?[/quote]
One - 80GB, cca 10GB used.
Just noticed, the FOG dashboard page shows disk free 0%, same for df command - not sure how this virtualbox dynamic volume works, but can imagine it could some problems, if the image creating utilit is checking free space during the proccess.But still able to upload any files via FTP to this machine.
-
RE: Problem uploading image - size only 58MB
[quote=“Tom Elliott, post: 43273, member: 7271”]I ask the questions I do because it sounds like the space where /images is being placed is not large enough to store the data.
That aside, be aware, while XP was supported, there was a problem I overlooked in 1.2.0 with downloading the XP/Vista images back to other machines. This has been fixed in SVN/Trunk of FOG.
Uploads were not affected, and the fact that it’s giving you an ETA to finish shows that the upload process (by itself) is working, but my guess is on the FOG server /images is not sized out properly.[/quote]
Thanks for warning about problem with XP, but if we will use this at the end, there will be Windows 7 machines probably. And yes my guess was disk free size problem also, but then I tried upload 500MB file to the same virtiabox via FTP and it worked. Could try to convert virtualbox disk to static, but not sure if it helps. -
RE: Problem uploading image - size only 58MB
[quote=“Uncle Frank, post: 43270, member: 28116”]No error message, won’t be easy to find the problem then. Start off with running a “debug upload session”. Click on the host, then Basic Tasks and from there schedule “debug upload”. Hopefully we get more information about what’s wrong with that.[/quote]
Some basic info about hosts image file in image.
After starting fog script some info about preparing upload, and after few “Enters” uploading begins, stops after few seconds again with message “* Image uploaded”
[url=“/_imported_xf_attachments/1/1751_IMG_4079.JPG?:”]IMG_4079.JPG[/url]
-
RE: Problem uploading image - size only 58MB
[quote=“Tom Elliott, post: 43269, member: 7271”]What version of FOG?
What OS is FOG installed on?
What was the system that performed the update? I’m assuming you have a “master” image you’re trying to upload?
How much disk space is on the FOG Server?
What else have you tried?[/quote]
FOG is installed on Debian 6.0, FOG is latest stable build 1.2.0
Not sure what “master” image is, I am just testing FOG for our purpose of deploying/cloning image on multiple new computers due to arrive. Uploading image from older Windows XP machine (HP Compaq dc7700), PC is registered in fog, created new task to upload image from host, FOG booted from network OK, image upload begins with ETA cca 30 min, after 15s max of uploading message about uploading finnished shows and PC reboots back to Windows - same for Single disk, or All disks.
FOG server is installed in the virtual box, where disk space is dynamic - on the main machine there is over 100GB of free space. I tried uploading some bigger file to the debian server via ftp with fog user credentials, and no problem there…
I tried creating new image for the host on web, new storage, few times register pc again (ot related to this problem) etc… Nothing special as I am new to FOG. I expected at least uploading image to work “out of the box” and was prepared only to tests deploying this image
And of course I searched this forum, but when I found some uploading problem thread, there was always some error message with it, which I dont have - all seems as uploading procces was successful but was not.
-
Problem uploading image - size only 58MB
Hi,
new to FOG, just installed it in a virtualbox for testing purposes, but can’t do basic task as upload image to server. Uploading finishes after few seconds (time estimate cca 30min) with no error, PC restarts, and size of the image is only 58 MB or 0. Tried single disk, tried all disk, same result. Can the virtualbox be source of this problem (everything else works fine)? Or some setting I missed?