Fedora13 KS an-node01.ks

From AN!Wiki
Jump to: navigation, search

 AN!Tools :: 2-Node Clusters :: Fedora13 KS an-node01.ks

This is the current kickstart script for the Fedora 13 an-node01 general purpose cluster node.

Updated: Sep. 07, 2010

# Kickstart file created by Digimer
# Email:     digimer@alteeve.com
# Updated:   Sep. 07, 2010
# Based on:  Fedora 13
# Spin Name: AN!Cluster
# Spin Ver.: 0.2.002
# Node:      AN!Node Base-Type 01
 
 
### Setup values.
install
# If you've built a PXE server, you can change 'cdrom' to 
#url --url=http://192.168.1.10/f13/x86_64/img/
# For more info on setting up a PXE server, see:
# - https://alteeve.com/index.php/Setting_Up_a_PXE_Server_in_Fedora)
cdrom
lang en_US.UTF-8
keyboard us
timezone --utc America/Toronto
 
 
### NICs; Ideal Setup: eth0 = Internet-facing, eth1 = DRBD, eth2 = back_channel
network --device eth0 --bootproto dhcp --onboot yes --hostname an-node01.alteeve.com
# If you know what your MAC addresses are on the node, you can pre-configure your
# network in advance. Replace the MAC addresses below with yours.
#network --device 90:E6:BA:71:82:EA --device eth0 --bootproto static --onboot yes --ip 192.168.1.72 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 192.139.81.117,192.139.81.1 --hostname an-node01.alteeve.com
#network --device 00:21:91:19:96:53 --device eth1 --bootproto static --onboot yes --ip 10.0.0.72 --netmask 255.255.255.0
#network --device 00:0E:0C:59:46:E4 --device eth2 --bootproto static --onboot yes --ip 10.0.1.72 --netmask 255.255.255.0
 
 
### Security
# This password is 'initial'. Be sure to change it after the first boot!
rootpw  --iscrypted $6$0riSEDMyCvHPdhCv$lvuhEOqU2yo9szCJHtAsVUK3maHyWlpZmVi6PCRkrOfifL/38J7SaGUopehv/rzwQvhqxNla/jPvD10uwuPY4/
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
selinux --permissive
firewall --disabled
# This options causes the user to be asked for their location, language,
# timezone, root password and initial user account.
firstboot --reconfig
 
 
### Hard drive info.
# A note here: LVM is desirable on each node's system, but isn't the
# most reliable when also using CLVM. For this reason, the local nodes
# will use simple RAID. All LVM stuff will be handled post-install.
zerombr
clearpart --all --initlabel --drives=sda,sdb
ignoredisk --only-use=sda,sdb
 
### Setup the two RAID arrays
# /boot
part raid.01 --ondisk=sda --asprimary --size=250
part raid.02 --ondisk=sdb --asprimary --size=250
# /
part raid.11 --ondisk=sda --asprimary --size=40000
part raid.12 --ondisk=sdb --asprimary --size=40000
# <swap>
part raid.21 --ondisk=sda --asprimary --size=4096
part raid.22 --ondisk=sdb --asprimary --size=4096
# DRBD
#part raid.5 --ondisk=sda --asprimary --size=50000 --grow
#part raid.6 --ondisk=sdb --asprimary --size=50000 --grow
 
# Format /boot, / 'root' and <swap>.
raid /boot --fstype=ext3 --level=1 --device=md0 raid.01 raid.02
raid /     --fstype=ext3 --level=1 --device=md1 raid.11 raid.12
raid swap  --fstype=swap --level=1 --device=md2 raid.21 raid.22
 
 
### Repositories. Need to change these once the AN!Repo is up.
#repo --name="Fedora 13 - x86_64"           --baseurl=http://fedora.mirror.iweb.ca/releases/13/Everything/x86_64/os/
#repo --name="Fedora 13 - x86_64 - Updates" --baseurl=http://fedora.mirror.iweb.ca/updates/13/x86_64/
 
 
### Services. Multiple entries are comma-seperated with no spaces.
services --disabled NetworkManage
services --enabled network
 
%packages
###############################################################################
# These will be restored when I work out the createrepo magic                 #
###############################################################################
#drbd-xen
#drbdlinks
#drbd-utils
#drbd
#drbd-udev
#drbd-heartbeat
#drbd-bash-completion
#xen
#xenwatch
#xen-hypervisor
#xen-runtime
#acpitool
#system-config-lvm
#system-config-display
#lsscsi
#net-snmp-utils
#drbd-pacemaker
#pax
#gnome-applet-sensors
#oddjob
#acpi
#bash-completion
#nmap-frontend
#pacemaker
#x86info
#xenner
#hfsutils
#tpb
#logwatch
#lvm2-cluster
#heartbeat
#redhat-lsb
#hddtemp
###############################################################################
# Disabled stuff to make things smaller                                       #
###############################################################################
#@virtualization
#@clustering
###############################################################################
@admin-tools
@base
@core
@editors
@fonts
@gnome-desktop
@graphical-internet
@hardware-support
@online-docs
@sound-and-video
@system-tools
@text-internet
@base-x
system-config-network
mtools
iscsi-initiator-utils
gpgme
bridge-utils
jfsutils
hdparm
vbetool
createrepo
lzop
radeontool
PackageKit-command-not-found
enca
ntpdate
xsel
fuse
virt-top
gdm
postfix
xfsprogs
-ModemManager
-NetworkManager
-NetworkManager-glib
-geoclue
-pywebkitgtk
-rhythbox
-webkitgtk
-brasero
-brasero-libs
-sound-juicer
-fetchmail
-totem
-totem-mozplugin
-totem-nautilus
-gstreamer-plugins-bad-free
-gnome-dvb-daemon
-gstreamer-plugins-base
-gnome-applets
-gstreamer-plugins-good
-gstreamer-python
-gstreamer-rtsp
-gnome-user-share
-httpd
-httpd-tools
-slv2
-jack-audio-connection-kit
-mobile-broadband-provider-info
-mutt
-procmail
-sendmail
-pulseaudio
-alsa-plugins-pulseaudio
-blueman
-bluez
-pulseaudio-module-bluetooth
-pulseaudio-utils
-samba-client
-samba-common
-samba-winbind-clients
-gvfs-smb
-libsmbclient
-schroedinger
-sox
-speex
-icedax
-libshout
-vorbis-tools
-xfce4-notifyd
-fedora-release-notes
-ccid
-coolkey
-unix2dos
-irda-utils
-wqy-zenhei-fonts
-lohit-assamese-fonts
-lohit-bengali-fonts
-lklug-fonts
-paratype-pt-sans-fonts
-kacst-book-fonts
-kacst-digital-fonts
-kacst-pen-fonts
-sil-abyssinica-fonts
-kacst-decorative-fonts
-jomolhari-fonts
-kacst-letter-fonts
-lohit-kannada-fonts
-khmeros-base-fonts
-paktype-tehreer-fonts
-kacst-titlel-fonts
-kacst-naskh-fonts
-vlgothic-fonts
-kacst-art-fonts
-kacst-poster-fonts
-lohit-gujarati-fonts
-paktype-naqsh-fonts
-thai-scalable-waree-fonts
-lohit-devanagari-fonts
-smc-meera-fonts
-kacst-office-fonts
-kacst-farsi-fonts
-kacst-one-fonts
-kacst-qurn-fonts
-lohit-telugu-fonts
-sil-padauk-fonts
-lohit-punjabi-fonts
-lohit-tamil-fonts
-kacst-title-fonts
-kacst-screen-fonts
-lohit-oriya-fonts
-cheese
-vinagre
-gok
-gnome-backgrounds
-compiz-gnome
-nautilus-sendto
-gnome-bluetooth
-deja-dup
-NetworkManager-pptp
-NetworkManager-openconnect
-NetworkManager-gnome
-gnote
-gnome-user-docs
-simple-scan
-gnome-games
-gnome-screensaver
-pulseaudio-module-x11
-gnome-pilot
-shotwell
-gvfs-gphoto2
-pulseaudio-module-gconf
-gnome-color-manager
-eog
-NetworkManager-openvpn
-NetworkManager-vpnc
-gdm-user-switch-applet
-mousetweaks
-brasero-nautilus
-caribou
-orca
-evolution
-empathy
-transmission-gtk
-evolution-help
-nspluginwrapper
-pino
-java-1.6.0-openjdk-plugin
-printer-filters
-ivtv-firmware
-openconnect
-NetworkManager-openconnect
-openldap-clients
-zisofs-tools
-BackupPC
-jigdo
-NetworkManager-openvpn
-NetworkManager-vpnc
-zsh
-bonnie++
-openswan
-system-config-printer
-setroubleshoot
-cups-pk-helper
%end

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Us: Alteeve's Niche! Support: Mailing List IRC: #clusterlabs on Freenode   © Alteeve's Niche! Inc. 1997-2019
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.
Personal tools
Namespaces

Variants
Actions
Navigation
projects
Toolbox