<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I have some questions !!!!]]></title><description><![CDATA[<p dir="auto">Hi first of all I must say that this is a great project!<br />
It’s very similar to what I started to do but more complex and very amature and fast and I’d like to contribute what I can to make it best for everyone.</p>
<p dir="auto">I have a few questions:</p>
<p dir="auto">Is there a way to make multiple tasks run one after another for the same host, except using scheduling or crone-style?<br />
What I am trying to understand if I’m able to accomplish a php form with a few checkbox that will make the host do 1 task after another (with reboots in between). I didn’t look yet in the database structure but is there any option right now for, for example, "task1, status (queued, completed, running), task2, status etc.<br />
If there isn’t any, I guess it won’t be very hard to accomplish it unless there are any failed trials I’m not aware of as a user.</p>
<p dir="auto">I noticed there is an auto OS detection code, is it working yet? When does it trying to detect the installed OS, and can it detect a crashed/unbootable OS?</p>
<p dir="auto">Is there a way to pass fog variables from FOG’s PXELinux (such as $mac, $ip, $hostname) to a dos application running from a memdisk image? Also is there any way to update the database from DOS after the application is over - for example, running a diagnostic dos app and when it returns to dos, make fog server know whether it completed or failed?<br />
I thought of making network drivers load after exiting the application and upload a file to the tftp server named "&lt;mac-address&gt;-completed, then make a line in the init phase checking if the task completed successfully and changing it’s state, or else is there another way to access mysql server from DOS?</p>
<p dir="auto">I hope this post is in the right place.<br />
Would kindley appreciate every answer.<br />
Thanks!</p>
]]></description><link>http://forums.fogproject.org/topic/12479/i-have-some-questions</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 15:29:02 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/12479.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Sep 2018 08:16:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I have some questions !!!! on Thu, 20 Sep 2018 09:44:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/41835">@vincitytaymodaimo</a> said in <a href="/post/116555">I have some questions !!!!</a>:</p>
<blockquote>
<p dir="auto">Is there a way to make multiple tasks run one after another for the same host, except using scheduling or crone-style?<br />
What I am trying to understand if I’m able to accomplish a php form with a few checkbox that will make the host do 1 task after another (with reboots in between). I didn’t look yet in the database structure but is there any option right now for, for example, "task1, status (queued, completed, running), task2, status etc.<br />
If there isn’t any, I guess it won’t be very hard to accomplish it unless there are any failed trials I’m not aware of as a user.</p>
</blockquote>
<p dir="auto">I guess you could do something like this using the API.</p>
<blockquote>
<p dir="auto">I noticed there is an auto OS detection code, is it working yet? When does it trying to detect the installed OS, and can it detect a crashed/unbootable OS?</p>
</blockquote>
<p dir="auto">Not sure what you’re referring to here. Where does the OS get auto detected? (this one is problematic anyway, since you can install multiple OS per disk)</p>
<blockquote>
<p dir="auto">Is there a way to pass fog variables from FOG’s PXELinux (such as $mac, $ip, $hostname) to a dos application running from a memdisk image?</p>
</blockquote>
<p dir="auto">Not that I’m aware of. A memdisk image would have no way to access iPXE variables.</p>
<blockquote>
<p dir="auto">Also is there any way to update the database from DOS after the application is over - for example, running a diagnostic dos app and when it returns to dos, make fog server know whether it completed or failed?</p>
</blockquote>
<p dir="auto">Anything scheduled as a task can. Others do not, by default.</p>
<blockquote>
<p dir="auto">I thought of making network drivers load after exiting the application and upload a file to the tftp server named "&lt;mac-address&gt;-completed, then make a line in the init phase checking if the task completed successfully and changing it’s state, or else is there another way to access mysql server from DOS?</p>
</blockquote>
<p dir="auto">There are some driver scripts floating about (postdownloadscripts) that will install drivers after deployment. They don’t report to the database itself, but they do output info to the screen.</p>
<p dir="auto">Clients never access the database itself, at best they contact the web server which may or may not access the database.</p>
]]></description><link>http://forums.fogproject.org/post/116558</link><guid isPermaLink="true">http://forums.fogproject.org/post/116558</guid><dc:creator><![CDATA[Quazz]]></dc:creator><pubDate>Thu, 20 Sep 2018 09:44:06 GMT</pubDate></item></channel></rss>