Editing Device management using Bcfg2
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
|- | |- | ||
| Device | | Device | ||
- | | Maemo based handset, such as | + | | Maemo based handset, such as Nokia N900 |
|- | |- | ||
| Device management | | Device management | ||
Line 21: | Line 21: | ||
|- | |- | ||
| Enterprise | | Enterprise | ||
- | | A large company | + | | A large company ot other organization that wants employees to ba able to acces company IT systems using Maemo based devices |
|- | |- | ||
| Desktop computer | | Desktop computer | ||
Line 33: | Line 33: | ||
|} | |} | ||
- | Instructions given in this article are tested on | + | Instructions given in this article are tested on Fremantle. They may work on other releases as well, but probably not. |
=== Recommended reading === | === Recommended reading === | ||
Line 40: | Line 40: | ||
*[http://www.linuxlinks.com/article/20100222155850632/ConfigurationManagement.html 7 of the Best Free Linux Configuration Management Tools] | *[http://www.linuxlinks.com/article/20100222155850632/ConfigurationManagement.html 7 of the Best Free Linux Configuration Management Tools] | ||
- | * [http:// | + | * [http://trac.mcs.anl.gov/projects/bcfg2/wiki/Bcfg2Doc Bcfg2 documentation] |
== Device management? Why bother? == | == Device management? Why bother? == | ||
Line 72: | Line 72: | ||
== Getting Bcfg2 up and running == | == Getting Bcfg2 up and running == | ||
- | <font color="red">A word of warning</font>: Configuration management is complicated task. Learning Bcfg2 and the concepts behind it does take some time and effort. Do NOT try to manage Maemo clients as your first Bcfg2 rehearsal. Instead, familiarize yourself with Bcfg2 first using "ordinary" computers as clients. | + | <font color="red">A word of warning</font>: Configuration management is complicated task. Learning Bcfg2 and the concepts behind it does take some time and effort. Do NOT by try to manage Maemo clients as your first Bcfg2 rehearsal. Instead, familiarize yourself with Bcfg2 first using "ordinary" computers as clients. |
=== Problems with Bcfg2 in Maemo === | === Problems with Bcfg2 in Maemo === | ||
Line 141: | Line 141: | ||
tar zcvf bcfg2-1.0.1-mod.tar.gz bcfg2-1.0.1 | tar zcvf bcfg2-1.0.1-mod.tar.gz bcfg2-1.0.1 | ||
- | Transfer <code>bcfg2-1.0.1-mod.tar.gz</code> | + | Transfer <code>bcfg2-1.0.1-mod.tar.gz</code>. To the Device. Open (at Device) terminal window and install Bcfg2 by entering following commands |
apt-get install python | apt-get install python | ||
Line 192: | Line 192: | ||
This is a simple file | This is a simple file | ||
- | Edit file <code>/var/lib/bcfg2/Cfg/etc/simple/ | + | Edit file <code>/var/lib/bcfg2/Cfg/etc/simple/simple</code> to contain following: |
<FileInfo> | <FileInfo> | ||
Line 218: | Line 218: | ||
==== Some explanation: ==== | ==== Some explanation: ==== | ||
- | + | Bcfg2 has build the configuration using layered approach: | |
- | Bcfg2 | + | |
- | + | ||
* Metadata (roughly: "which kind of configuration should be where") | * Metadata (roughly: "which kind of configuration should be where") | ||
* Abstract (roughly: what should be configured) | * Abstract (roughly: what should be configured) | ||
Line 257: | Line 255: | ||
=== Autogroup probe === | === Autogroup probe === | ||
- | Bcfg2 is able to automatically determine group memberships using probes. | + | Bcfg2 is able to automatically determine group memberships using probes. [http://wiki.maemo.org/Image:Autogroup.sh Here] is a sample probe code which recognizes Maemo devices among many other computers. Just put the code into a file at Probes directory, for example, <code>/var/lib/bcfg2/Probes/autogroup</code> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Just put the code into a file at Probes directory, for example, <code>/var/lib/bcfg2/Probes/autogroup</code> | + | |
At Bcfg2 web site is another [http://trac.mcs.anl.gov/projects/bcfg2/wiki/Plugins/Probes/examples/group example] of autogroup probe code. This code does not recognize Maemo but might do better work with some other platforms. | At Bcfg2 web site is another [http://trac.mcs.anl.gov/projects/bcfg2/wiki/Plugins/Probes/examples/group example] of autogroup probe code. This code does not recognize Maemo but might do better work with some other platforms. | ||
Line 344: | Line 263: | ||
== TODO == | == TODO == | ||
- | |||
- | + | MaemoAPT package driver | |
- | + | ||
- | + | ||
- | + | ||
# Maemo does not have debsums utility | # Maemo does not have debsums utility | ||
#* Causes APT package driver not to load | #* Causes APT package driver not to load | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
[[Category:Power users]] | [[Category:Power users]] |
Learn more about Contributing to the wiki.