LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-16-2004, 03:04 PM   #1
scilec
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Enterprise 3
Posts: 7

Rep: Reputation: 0
Mirroring via Kickstart installation


Hi,

I'm trying to configure my ks.cfg file to automatically set up LVM mirroring between two SCSI disks in a RAID 1 configuration. As of yet, I haven't been able to find any documentation on this. Can anybody provide me with help or point me to a useful web site? Thank you!

Steve
 
Old 12-16-2004, 06:02 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 198Reputation: 198
Here is one we use at work for 3ES which should work with some editing and plugging in of your own setup:

I took everything out of %pre and %post, it was too specific, you'll probably just want to see how we did the SCSI LVM setup.. this one is only setting up two main raid devices.. you can use more with similiar setup and editing to your liking.

###################################################
#System language
lang en_US
#Language modules to install
#langsupport zh_CN.GB2312 zh_TW.Big5 cs_CZ da_DK nl_NL fr_FR de_DE is_IS it_IT ja_JP.eucJP ko_KR.eucKR no_NO pt_PT ru_RU.k0I8r sl_SI
es_ES sv_SE uk_UA --default=en_US
langsupport da_DK nl_NL fr_FR de_DE it_IT es_ES --default=en_US
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone --utc America/Chicago
#Root password
rootpw --iscrypted <encrypted password here>
#Don't Reboot after installation
#reboot
#Install Red Hat Linux instead of upgrade
install
#Network information
network --bootproto=dhcp --device=eth0
#Use NFS installation Media
nfs --server=roman.dmotorworks.com --dir=/export/sysadmin/linux/redhat/3ES/os
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part raid.0a --size 300 --ondisk hda --asprimary
part raid.0c --size 300 --ondisk hdc --asprimary
part raid.1a --size 76000 --ondisk hda
part raid.1c --size 76000 --ondisk hdc

raid /boot --level 1 --device=md0 --fstype=ext3 raid.0a raid.0c
raid pv.10 --level 1 --device=md1 raid.1a raid.1c

volgroup rootvg pv.10
logvol / --vgname=rootvg --size=2048 --name=root --fstype=ext3
logvol swap --vgname=rootvg --size=2048 --name=swap
logvol /tmp --vgname=rootvg --size=2048 --name=tmp
logvol /usr --vgname=rootvg --size=8134 --name=usr --fstype=ext3
logvol /var --vgname=rootvg --size=2048 --name=var --fstype=ext3
logvol /data1 --vgname=rootvg --size=30000 --name=data1 --fstype=ext3


#System authorization infomation
auth --useshadow --enablemd5 --enablekrb5 --krb5realm DMOTORWORKS.COM --krb5kdc kerberos.dmotorworks.com --krb5adminserver kerbero
s.dmotorworks.com
#Firewall configuration
firewall --disabled
#Use text mode install
text
#Package install information
%packages --resolvedeps
@ Editors
@ Text-based Internet
@ Development Tools
@ Kernel Development
@ Administration Tools
@ System Tools
# Add in these packages
postfix
xemacs
perl-CGI
perl-DB_File
perl-Time-HiRes
perl-Net-DNS
# Drop these packages
-anonftp
-finger-server
-rdate
-rdist
-rsh-server
-rusers
#-rwall
#-rwall-server
-rwho
-talk
#-talk-server
-telnet-server
-gaim
-sendmail

%pre

%post

#################################################
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invoke kickstart installation from Linux shell jeff99chapman Red Hat 2 10-26-2005 11:14 AM
Kickstart installation. Access to cdrom in %post mrcash Fedora - Installation 2 07-21-2005 11:29 AM
Kickstart Installation hansi umayangan Red Hat 0 04-08-2005 12:20 AM
Redhat Kickstart Installation Colossalboom Linux - Software 0 08-21-2003 07:56 AM
kickstart installation new2linux Linux - Software 2 04-15-2003 06:08 PM


All times are GMT -5. The time now is 11:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration