r988 out.
I doubt it’s fully complete, but it looks like I can finally view snapin jobs. I can’t tell if they’re actually working yet, but I’m almost certain I’m getting close.
r988 out.
I doubt it’s fully complete, but it looks like I can finally view snapin jobs. I can’t tell if they’re actually working yet, but I’m almost certain I’m getting close.
IPTables isn’t, to my knowledge, the firewall that’s running.
Ubuntu 12.04, to my knowledge, uses ufw for its firewall program. try:
[code]sudo ufw disable[/code] On both of the boxes and try again. I’m currently installing two Ubuntu 12.04 boxes just to give it a shot as well to help in troubleshooting.
Thanks Nathan for the support.
Also,
I wanted to try something as a test with this, but I am stuck testing within VM modes at work. Maybe I can get the community to test this part.
I’ve added, I think, recognition within the ClientServiceManager to look for additional MAC’s. Theoretically this should allow you to use the FOG Client even on wireless clients. I have NOT…I repeat…have NOT added wireless device recognition/adding for wireless MACs into the init.gz file. My worry with doing such a thing is make a kernel that’s just too large for a simple imaging solution. If I were to add Wireless adding of mac’s it could, potentially, add about 30-50 mb to the size of the kernel, not to mention the wireless tools needing to be built into the init.gz itself.
That said, however, I think I might be able to get the FOG Service hostregister utility to do this work for me. It isn’t added yet, but I with the addition of the hostname checking, I think I can have it, now, pull the information from the system and add it to the correct areas.
To my knowledge, ownership of these folders really don’t matter.
They’re usually given permissions of
[code]chmod -R 777 /images[/code]
However, it’s FTP that moves the file from /images/dev to /images.
Make sure your FTP username and password are correct.
[code]passwd fog[/code]
Set the password and make sure you set this same password under:
Storage Management->Storage Node->Management Username/Password and that it’s set under:
FOG Configuration->FOG_TFTP_FTP_PASSWORD
That should help you out.
Hey all,
Just wanted to give you an update as to why I haven’t been making as many revisions as you’ve seen in the early past.
I assure you all I am still working on these things, but I was finally able to get 0.33b testing within my workplace. With this, I’m trying to test and fix specific things within.
I was able to get Printer Management working and am currently working on Snapin Dploy working. This is taking longer than I expected, but I’m just trying to make things operate properly. I hope you all understand.
It sounds like the PXE File can’t be found. Can you verify that the FOG_TFTP_HOST is pointing to the proper IP address, it should be your server which you changed the IP to.
I might suggest adding more CPU to the VM. VM’s from a power base don’t make the greatest of Server’s especially on the scale that FOG can provide. Most FOG servers for imaging in the term’s you’re suggesting is usually a physical, albeit seperate, server due to the amount of work it provides.
Yes you could turn of compression, but then you’d be using a lot more space.
I would take a look at the file:
[code]/var/www/fog/management/includes/dashboard.include.php[/code]
[COLOR=#000000]Lines 79-87[/COLOR]
[php]for( $i = 30; $i >= 0; $i-- )
{
$res = mysql_query(“SELECT COUNT(*) AS c, DATE(NOW() - INTERVAL $i DAY) AS d FROM tasks WHERE DATE(taskCreateTime) = DATE(NOW()) - INTERVAL $i DAY”, $conn) or die(mysql_error());
if ($ar = mysql_fetch_array($res))
{
// NOTE: Must multiply timestamp by 1000 for unix timestamp in MILLISECONDS
$Graph30dayData[] = ‘["’ . strtotime($ar[‘d’])*1000 . '", ’ . $ar[‘c’] . ‘]’;
}
}[/php]
[COLOR=#000000]The $ar[‘c’] variable is what gives you your Number of machines imaged, and for what ever reason, either your database is store the values as 1.0000000000000, or the sql statement is turning the value into a floating number rather than an integer.[/COLOR]
[COLOR=#000000]This is what my value shows. Also, as you’re running on Ubuntu 8.04, what version of PHP do you have?[/COLOR]
[COLOR=#000000]JPGraph (the thing that creates the graphs), all versions included with FOG 0.32, requires 5.1.0 or above to operate properly.[/COLOR]
Matt,
I haven’t seen/heard of this problem before you brought it the attention here.
That being said, it looks to me like a numbering issue. Likes it’s taking the information and turning it into a decimal/floating point number, which shouldn’t be the case.
If it’s any help, you can try taking a look at what variables are in play for this. Have you modified any files? Was there a specific time when this started happening?
Can you, perhaps, give more information?
Are you saying this never gets to asking you what your hostname is?
Is your PXE file configured properly?
Please try to provide more information. I can’t help you, especially if you just give it up.
What I’d recommend is just checkout what you need. You probably need the tftp folder which would be
[code]svn co https://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp[/code]
Then just
[code]cp -r tftp/* /tftpboot[/code]
Then you’ll need to edit the /tftpboot/pxelinux.cfg/default file to readjust for your server.
Then I would recommend looking at what is happening on your SQL Server System them. It sounds, to me, like some other service is running and stealing the resources of the system.
Is this server by chance on a VM? If it is, maybe try adding more resources, such as another CPU and maybe a little bit more RAM.
If it’s not on a VM, you will need to dig into what’s eating your resources and stop those services (as necessary) from running or using the amount of resources.
r987 out. Its only a minor change but user tracking seems to work properly now in that you can change the date.
You have to change the Storage Management IP as well:
Storage Management-><YOUR NODE NAME>->IP Address
In FOG Settings you’ll most likely need to change:
FOG_WEB_HOST
FOG_TFTP_HOST
If you use WOL you’ll also need to change:
FOG_WOL_HOST
To change your PXE Default file:
FOG Configuration/Other ->PXE Boot Menu
That’s the easiest method, or you can edit the actual file:
Change the web= references to point to the new IP Address:
[code]/tftpboot/pxelinux.cfg/default[/code]
Okay,
Then the first thing you’ll need to do is change your interface IP address to that of the subnet you’ll be working on.
The next parts you’ll have to change will be the Storage Management IP. (Make sure it’s set to the subnet you’re on).
Then you’ll have to change the IP addresses corresponding with your new system under (FOG Configuration/Other)->FOG Settings
Then you’ll have to resave your PXE file so it obtains the IP of your “new” setup for the subnet.
I think, possibly, you’re over thinking this.
My guess is you’re worried because you have multiple sub nets, but only one FOG Server. You’re wanting to make it mobile so you can keep all your images on one system, but so you can, basically, plug’n’play on your alternate networks.
While you could, possibly do this, I think it’d be easier in the long run if you used a tool called ip-helper.
My guess is that you are using one DHCP Controller to hand out the IP Addresses for all systems under your management. Is this correct?
If that is the case, this means that all nodes come to a central point, and they’re distributed, from that point, back to your DHCP Server for IP Assignment. All you should have to do is an ip-helper for all tftp requests to point back to your FOG Server. Then you don’t have to lug a server and make an IP change everytime you need to work on another network’s systems.
We have a person who seems to have this working.
I’ve never used plugins but it seems that if your DMI field is set to Bios-version, and you type 1.0 in the DMI Field, all systems that match that would be assigned with the appropriate information such as: imageID, join domain, or what have you.
Again, I don’t really know how this all works so I could be talking out my *** here. Maybe somebody with knowledge/understanding of how this works can chime in?