Automating FreeBSD Installations Randi Harper

Slides:



Advertisements
Similar presentations
Information and Communications Theory Labs, School of Computer & Communication Sciences FILE: kickstart.sxi / 24/01/03 / Page 1
Advertisements

DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
PXE netboot installation of Linux/SuSE
Planning Server Deployments
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Chapter 2: Automating the Windows Vista Installation.
Installation. Installation   There are three phases to building an LTSP server: – –Installing the LTSP utilities – –Installing the LTSP client packages.
Institute of Technology Sligo - Dept of Computing Cisco IOS & Router Config Semester 2V2 Chapter 7 Chapter 8.
Host Configuration: BOOTP and DHCP
Network File System Joe Paulowskey Joe Paulowskey Susan Mulholland Joe Woulfe.
Installing Windows Deployment Service
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
Installing and maintaining clusters of FreeBSD servers using PXE and Rsync Cor Bosman XS4ALL
Cisco IOS & Router Config Semester 2V2 Chapter 6.
Configuration of Linux Terminal Server Group: LNS10A6 Thebe Laxmi, Sharma Prabhakar, Patrick Appiah.
2/12/2003 Lecture 2 Computer System Administration Lecture 2 Setup and Installation Irix & FreeBSD.
IT:NETWORK:MICROSOFT SERVER 2 DHCP AND WINDOWS DEPLOYMENT SERVICES.
System Administration HW1 huanghs. Computer Center, CS, NCTU 2 Requirements  Basic Install FreeBSD and upgrade to up-to-date –RELEASE Recompile your.
Module 10: Designing Operating System Deployment and Maintenance.
Enabling Palacios PXE-Boot Chen Jin Bharath Pattabiraman Patrick Foley.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
Deploying Windows 7 Lesson 3. Objectives Understand enterprise deployments Capture an image file Modify an image file Deploy an image file.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Condor and DRBL Bruno Gonçalves & Stefan Boettcher Emory University.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
TCP/IP Protocol Suite 1 Chapter 16 Upon completion you will be able to: Host Configuration: BOOTP and DHCP Know the types of information required by a.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Terminal Servers in Schools A second life for your older computers.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Chapter 17 BOOTP and DHCP.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Workstations.
C. Aiftimiei, E. Ferro / January LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL.
Installing a Network Printer. Network printers work much like any other printer except the data flow is through a network. This means the printer must.
The 2001 Tier-1 prototype for LHCb-Italy Vincenzo Vagnoni Genève, November 2000.
Working With TFTP. Basics of TFTP  Simple file transfer protocol  Wikipedia:   RFC 1350.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
MREPO: Yum/Apt repository kickstart installation via PXE GIUSEPPE PLATANIA INFN Catania I Corso di formazione INFN.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
PXEBOOT. What is PXEBOOT. The Preboot Execution Environment (PXE) is a service, Establish client/server communication and it will install the OS to the.
UNIX Filesystem and Hierarchy AfNOG 2008 Workshop May Rabat, Morocco.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Introduction to Diskless Remote Boot Linux Introduction to Diskless Remote Boot Linux Jazz Wang Yao-Tsung Wang Jazz Wang Yao-Tsung Wang.
Automated installations
BY: SALMAN 1.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Create setup scripts simply and easily.
BY: SALMAN.
Working With TFTP.
LINUX ADMINISTRATION
Host Configuration: BOOTP and DHCP
VME Pixel ROD Setup in UW Pixel Lab B050
DHCP server & Client Objectives Contents
Working With TFTP Nishal Goburdhan.
Working With TFTP.
Managing Software.
Diskless Remote Boot Linux
Host Configuration: BOOTP and DHCP
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
Linux Administration Odds and Ends
Cisco IOS & Router Config
Chapter 16 Host Configuration : BOOTP and DHCP
NFS.
Deploying Windows 7 Lesson 3.
SUSE Linux Enterprise Desktop Administration
Quattor Advanced Tutorial, LAL
The EU DataGrid Fabric Management Services
Presentation transcript:

Automating FreeBSD Installations Randi Harper randi@freebsd.org

PXE Booting Preboot eXecution Environment PXE capable network cards allow a computer to be booted over the network instead of local media One of the only viable ways to manage a large installation of servers

Using FreeBSD with PXE Used for both diskless clients and installing FreeBSD This talk only covers installing FreeBSD Documentation is poor or outdated, both for PXE and automated installs using sysinstall

PXE Server Configuration TFTP DHCP NFS Installation media

TFTP Enable in inetd.conf rc.conf: inetd_enable=”YES” tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot rc.conf: inetd_enable=”YES” Verify inetd is running, restart if needed

DHCP Install a DHCP server (net/isc-dhcp3-server) /usr/local/etc/dhcpd.conf use-decl-host-names on; filename “pxeboot”; Host declarations Start DHCP server

DHCP Host Declaration host pxe-client.local { hardware ethernet 00:00:00:00:00:00; option root-path "192.168.0.1:/usr/pxeroot"; fixed-address pxe-client.local; }

NFS Create /usr/pxeroot/ /etc/exports /usr /usr/pxeroot -ro pxe-client.local rc.conf: nfs_server_enable=”YES” mountd_enable=”YES” rpcbind_enable=”YES” Start services showmount -e

Installation Media Extract FreeBSD iso to /usr/pxeroot/ Copy /usr/pxeroot/boot/pxeboot to /tftpboot/ Use older version if necessary Edit /usr/pxeroot/boot/loader.conf vfs.root.mountfrom="ufs:/dev/md0c" On current, use md0

Scripting with sysinstall /usr/pxeroot/boot/mfsroot.gz gunzip mdconfig -a -t vnode -f mfsroot mount Insert magic into install.cfg unmount mfsroot before attempting to use

install.cfg debug=YES nonInteractive=YES noWarn=YES tryDHCP=YES netDev=le0 nfs:192.168.0.1:/usr/pxeroot mediaSetNFS dists=base doc manpages info src sbase ssys kernels GENERIC distSetCustom

install.cfg disk=ad0 partition=exclusive diskPartitionEditor ad0s1-1=ufs 2097152 / ad0s1-2=swap 1048576 / ad0s1-3=ufs 2097152 /var ad0s1-4=ufs 2097152 /tmp ad0s1-5=ufs 0 /usr 1 diskLabelEditor

install.cfg installCommit #command=sh /tmp/my_script.sh #system #package=bash-3.1.17 #packageAdd shutdown

install.cfg http://people.freebsd.org/~randi/pxe/ sysinstall(8) Beware YES is case sensitive No whitespace at end of line