Re: ANNOUNCE: Xorg configuration model
- From: Dominique Dumont <dominique.dumont@xxxxxx>
- Date: Wed, 31 Jan 2007 13:45:29 GMT
"Andy" <anedza@xxxxxxxxxxxxxxxxxxxxxx> writes:
So, your module would allow somebody to configure a UNIX system from
inside of a Perl program?
Yes. Through the application's configuration files. (But we can also
imagine a way for Config::Model to be connected to the application to
configure it directly)
But a "Unix system" is quite wide. You'd need a description of all the
configuration data (i.e. configuration model) you want to modify.
I know the Vax system had some sort of monitor that ran in the
background that was able to automatically handle problems with the
computer. For example, if the system went down it was able to reboot
everything and bring itself back online without the intervention of an
operator.
Could your configuration model be made to do this?
Err, I do not known VAX at all, so without more specific details, it's
hard to answer.
For example, you would enter a bunch of rules into the model to tell
it what to do under specific situations (ie values read from system
variables).
That's a question I've had in mind for some time. Currently the model
is static, i.e. you can define default value within a configuration
model. There's no provision (within a model) to query the host to get
informations.
The advantage is that you can audit configuration data from a remote
system on your laptop, which is handy for support.
On the other hand, one can imagine a Perl library to get these
informations from the host and fill the configuration tree (i.e. an
instance of a configuration model) before showing the user interface.
But this would run only on the target system.
Then, the model would figure out what it has to do to reconfigure a
server based on a combination of values from a bunch of system
variables.
Yes. The tricky part will be to figure out the configuration model.
Would the procedures it had to execute to work with the server be
coded as Perl subroutines?
No, but at some point you will have to feed some data to a Perl
program.
HTH
--
Dominique Dumont
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner
.
- References:
- Re: ANNOUNCE: Xorg configuration model
- From: Andy
- Re: ANNOUNCE: Xorg configuration model
- Prev by Date: HTML:Parser how to remove "//<![CDATA[ ... //]]>" ?
- Next by Date: Perl Tk:Scheduler command called subroutine fails to talk to tk widgets
- Previous by thread: Re: ANNOUNCE: Xorg configuration model
- Next by thread: HTML:Parser how to remove "//<![CDATA[ ... //]]>" ?
- Index(es):
Relevant Pages
|
|