Home > Systems Channel Tips > Server Operating Systems > Automating SUSE Linux Enterprise Server 11 installation
Systems Channel Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SERVER OPERATING SYSTEMS

Automating SUSE Linux Enterprise Server 11 installation


Sander van Vugt, Contributor
07.27.2009
Rating: --- (out of 5)


Systems Channel Update
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


It's not that hard to install SUSE Linux Enterprise Server 11. You insert the installation DVD in the optical drive of your client's server, boot from the DVD and follow the installation prompts. But what if you need to install not just one server but dozens? In this scenario, the SUSE platform has some convenient options for solutions providers.

The main tool for automating SUSE Linux Enterprise Server (SLES) installation is AutoYaST, which creates an XML file that contains all of the settings you need when installing SLES. When starting your next installation, just add the option autoyast=autoinst.xml at the boot prompt to begin the automated installation. Make sure that the installer can find the autoinst.xml file. If it can't, it will ask for your input on every step of the installation. One solution may be to copy it to a Web server (autoyast=http://your.web.server/autoinst.xml) and read it from there.

There are two methods for creating an AutoYaST configuration file; the first method is the easier. In the very last screen of the installation procedure, the installer asks whether you want to create the AutoYaST file, and if you answer affirmatively, the autoinst.xml file is created in the home directory of the user root. This allows you to use exactly the same configuration when installing the next server.

In the second method, you create the AutoYaST file by launching the AutoYaST module from the generic SUSE installation and configuration tool, YaST. The most convenient way to launch YaST is by typing the command yast2 autoyast from a shell interface. This launches the interface that you see in Figure 1. From this interface, you can carefully select all aspects of the installation and specify what exactly you want the installer to do. You can also just clone the settings that are used on your current installation. Just use the Tools>Create Reference profile option to create the profile, an...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Linux Server Operating Systems
SUSE Linux Enterprise Server 11: New Xen virtualization features
Tech Data offers video software for Mac OS X VARs
Using the Ubuntu Linux system monitor tool
Installing SUSE Linux Enterprise Server 11
Ubuntu Linux installation and hard drive setup guide
Application virtualization management suite due from Symantec
Red Hat JBoss growth, partner program changes bring opportunities
Red Hat revenue breaks $500 million mark
Novell channel chief assures Novell partners about leadership
Systems Channel News Roundup, Jan. 19-23

Server Operating Systems
Installing and managing Hyper-V on Windows Server 2008 Server Core
Using Hyper-V Manager to create virtual machines and hard drives
Monitoring Hyper-V performance and utilizing System Center VMM
Windows Server 2008 Server Core installation
Configuring Windows Server 2008 Server Core
Windows Server 2008 R2 Server Core changes and administration
Windows Server 2008 Server Core management options
Microsoft Hyper-V study guide: Benefits and requirements
SUSE Linux Enterprise Server 11: New Xen virtualization features
Using the Ubuntu Linux system monitor tool

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


d then select the Save option from the File menu to save the results to a disk. In listing 1, you can see part of what the result looks like. In this listing, you can see which kernel is going to be used and which modules will be loaded for this kernel.

[IMAGE]
Figure1: SUSE's administration tool, YaST, offers a convenient interface that allows you to create an AutoYaST file.

Listing 1: Example code from the autoinst.xml file

After creating the AutoYaST file, you can tune it if needed. Tuning is rather simple: Remove the settings that you don't want used automatically and change settings that you are not happy with. You can change the settings from the graphical interface, but if you like XML, you can also change the XML code directly.

After creating the AutoYaST file, you can use it while installing other servers. The easiest way to use the file is by configuring a network installation server. If, apart from the network installation server, you also configure a PXE boot server, you can use TFTP to install your SLES server completely unattended.

AutoYaST makes installation of multiple SUSE Linux Enterprise Servers easy. You've now learned how to set up AutoYaST to create a template that you can use on subsequent installations. Solutions providers should find that using the AutoYaST tool really helps for fast and seamless installation of multiple SLES servers.

About the expert
Sander van Vugt is an independent trainer and consultant living in the Netherlands. Van Vugt is an expert in Linux high availability, virtualization and performance and has completed several projects that implement all three. He is also the writer of various Linux-related books, such as Beginning the Linux Command Line, Beginning Ubuntu Server Administration and Pro Ubuntu Server Administration.

Rate this Tip
To rate tips, you must be a member of SearchSystemsChannel.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts