SUMMARY: RE: Solaris 2.8/2.6 - Last question Ever on Jumpstart
sun-managers@sunmanagers.ececs.uc.edu
Thanks to:
"Dave Maupin" maupin@athenasecurity.com
Ken Robson" <ken@odtv.com>
Imre.Kolos@eth.ericsson.se (Imre Kolos)
"Charles M. Atkinson" Charles.Atkinson@lon.ipalliance.net
The responses are below. I am not using the free option because I would
like to leave a 4-10MB piece of the disk unused for ODS or Veritas. I am
currently looking into using prtvtoc or fmthard as part of my startup script
to dynamically partition drives. There is a reason why I want to be able to
fully configure a (replacement disk) on a system from a start-up script.
The way that I configure all these systems is that when everything is
configure I add two boot servers to the local segment:
System A is a boot server for System B, System C, System D. etc etc…
System D is a boot server for System A.
In all scenarios I can use one boot server to do a "boot net -s" for a
failed system. The failed systems goes through a basic OS install on Disk-1
and (fmthard or formats) the failed Disk-2. My finish script as its last
step dumps the contents of the last backup tape onto Disk-2. I was playing
with "dd" but in the past I had hit a 2GB limit on it. I am testing on
Solaris 2.6 5/98 Kernel -23 to see if that has been fixed and incidentally I
am also testing Solaris 8. If possible, I'll probably use "dd" instead of
ufsdump.
The long result in my preliminary tests is that:
We can boot any server in single user mode without Data-Center Operator
Assistance using "boot net -s"
We can rebuild the systems in under 2hrs with the previous nights backup
without baby-sitting the system.
We don't need two media CDs to rebuild a basic OS.
We cut our Disaster Recovery for those systems in half.
If anyone has a scripted sample of the dynamic formatting of a disk, can you
please send me a copy.
In the mean time this is the style of profile that I am using:
Here is a sample profile (prof_sample_1) on an 18GB disk using EXPLICIT
formatting:
# more prof_sample_1
install_type initial_install
system_type standalone
system_type server
client_arch sun4u
partitioning explicit
filesys c0t0d0s0 1536 /
filesys c0t0d0s1 1024 swap
filesys c0t0d0s3 1536 /opt
filesys c0t0d0s4 1536 /usr
filesys c0t0d0s5 1024 /var
filesys c0t0d0s6 11340 /home01
cluster SUNWCXall
The first partitions (/, swap, opt, user, and var use 6656MB). Home or in
my case Home01 uses 11340. Which leaves about 4MB unused at the end of the
disk for ODS Mirroring or Veritas Encapsulation. For a 9GB drive the match
for /home01 is (9000-6656=2344) leave the last 4MB unused so the partition
becomes 2340MB.
I do like Dave Maupin's sample profile and the partitioning scheme and will
test that on my systems.
Thanks.
Conner McCleod.
#############
"Dave Maupin" maupin@athenasecurity.com
#############
>Are you guys/gals using other partitioning schemes that you
feel are superior to explicit?
>I use explicit, but find the "free" keyword useful. Since the
space required by the OS doesn't change based on disk size, I find I
just need to have all the rest of the disk go to one partition like
/export/home (or in my example, /var). Below is my 18gb profile. We always
set up disk suite, so there are partitions for that preallocated as well
(the 3 for the state databases, and the 64 for logging).
bash-2.03# cat 18gb
install_type initial_install
system_type standalone
partitioning explicit
filesys rootdisk.s0 1024 swap
filesys rootdisk.s1 2048 /
filesys rootdisk.s3 free /var
filesys rootdisk.s4 3
filesys rootdisk.s5 2048 /opt
filesys rootdisk.s6 2048 /usr
filesys rootdisk.s7 64
isa_bits 32
cluster SUNWCuser add
--dave
###############33
Ken Robson" ken@odtv.com
################33
Conner,
Just do a fmthard in you begin script and then use your exiting
disk set-up in your profile. I also have written Jumpstarts where I look at
the disks in the begin script, dynamically size the partitions then
dynamically create/edit my profile.
Hope this helps,
Ken.
##################33
"Charles M. Atkinson" Charles.Atkinson@lon.ipalliance.net
####################33
Have you considered dynamic profiles? I understand you can
write the profile using the begin script but have not started doing this in
Yet.
####################33
Imre.Kolos@eth.ericsson.se (Imre Kolos)
####################33
Hi,
the "free" keyword could save you the maths.
Select a universal partitioning that fits into the
smallest disk you have to install solaris to and
assign the remaining capacity to a bucket partition like:
filesys c0t0d0s0 2048 /
filesys c0t0d0s1 1024 swap
filesys c0t0d0s3 1536 /opt
filesys c0t0d0s4 1536 /usr
filesys c0t0d0s5 1024 /var
filesys c0t0d0s6 free /home01
regards,
Imre
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:20 CDT