This is a draft re-write of 

http://unattended.sourceforge.net/dynamic.php#database

If you like it I will add the proper HTML to paste into the existing page.

Please comment freely.  My goal was to give step-by-step directions and 
guidance without repeating the information within the files themselves.

Thanks!
 
-Jeff


-----------------------------------------------------------
Jeffrey Albro | Systems Administrator | Boston University
   - Department of Electrical and Computer Engineering -
[EMAIL PROTECTED] |  Photonics, Room 305  | 617-358-2785
-----------------------------------------------------------



Using a Database

If you wish to store and organize installation settings for a large number 
of computers you are best off with a database of some sort.  This is where
Unattended really shines in large organizations.

Unattended offers two options:

        MySQL Database

        CSV Flat File

Setting up a MySQL system:

        Set up the MySQL Database on a server using the comments at the 
        beginning of lib/conf-mysql.pl

        Populate the database to suit your needs.  Use the guidelines 
        at the beginning of site/orig-config.pl

        mv site/config.pl site/orig-config.pl
        
        cp site/sample-config.pl site/config.pl

        Edit site/config.pl
        
                Uncomment the two lines under "# Set db for mysql interface"
        
                Edit the second line with the correct mysql host, username, and 
                password.

        Make sure the MySQL server can be reached by any client you install.

        Done!

Setting up a CSV Flat File system:

        Create site/unattend.csv based upon the format described at the 
        beginning of lib/conf-csv.pl and the Lookups and Properties 
        described in the beginning of site/sample-config.pl

        mv site/config.pl site/orig-config.pl

        cp site/sample-config.pl site/config.pl

        Edit site/config.pl
        
                Uncomment the two lines under "# Setup db for CSV interface"

        Done!


Making the most of your Database:

        If you prefer to have a more straightforward list of MAC addresses
        associated with computer names, organization names, passwords, etc,
        you could create this list and then generate the MySQL DB or CSV file
        that Unattended prefers from this list.

        If you wish to modify unattend.txt setting that Unattended does not 
        have properties for, you can use a database to generate the 
        Unattended MySQL database linking MAC addresses -> computer names
        and computer names -> specific unattend.txt file.  Then you use
        your master database to generate these unattend.txt files. 

        In Active Directory environments, remember you don't need to do
        everything with Unattended.  Software can be added and settings
        configured with Group Policy.  With the ComputerName and 
        MachineObjectOU you can add the computer directly to the OU 
        you want it in.

Further development:

        If you developed other database-modules 
        (e.g. for LDAP or PostgreSQL or such) to 
        meet your environment, we would love to 
        hearing from you and appreciate your 
        contribution!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
unattended-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to