* Cloning process for Alphas?
@ 2000-01-25 5:00 Rob Hounsell
2000-01-25 5:00 ` Dirk Munk
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Rob Hounsell @ 2000-01-25 5:00 UTC (permalink / raw)
Hi,
Anyone know of a good procedure for cloning disk images on Alphas?
Ideally, we'd like to use a master CD image to create corresponding disk
images for upgrading systems. We thought about using dd, but I'm
wondering about cloning to different disk sizes (and thus possibly
wasting disk space). Conversely, I don't know the exhaustive list of
files required to create a successful clone if we went the filesystem
route i.e. copying files/directories.
Any help is appreciated.
Thanks,
Rob Hounsell
hounsell@nortelnetworks.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 Cloning process for Alphas? Rob Hounsell
@ 2000-01-25 5:00 ` Dirk Munk
2000-01-25 5:00 ` Rob Hounsell
2000-01-25 5:00 ` HerbalGypsy/justbob
2000-01-25 5:00 ` Mike Iglesias
2000-01-30 5:00 ` Jay Vlack
2 siblings, 2 replies; 9+ messages in thread
From: Dirk Munk @ 2000-01-25 5:00 UTC (permalink / raw)
Which operating system ??
OpenVMS,
Unix,
Linux,
Windows-NT ??
Rob Hounsell wrote:
>
> Hi,
>
> Anyone know of a good procedure for cloning disk images on Alphas?
> Ideally, we'd like to use a master CD image to create corresponding disk
> images for upgrading systems. We thought about using dd, but I'm
> wondering about cloning to different disk sizes (and thus possibly
> wasting disk space). Conversely, I don't know the exhaustive list of
> files required to create a successful clone if we went the filesystem
> route i.e. copying files/directories.
>
> Any help is appreciated.
>
> Thanks,
> Rob Hounsell
> hounsell@nortelnetworks.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 ` Dirk Munk
2000-01-25 5:00 ` Rob Hounsell
@ 2000-01-25 5:00 ` HerbalGypsy/justbob
1 sibling, 0 replies; 9+ messages in thread
From: HerbalGypsy/justbob @ 2000-01-25 5:00 UTC (permalink / raw)
Dirk Munk wrote:
>
> Which operating system ??
>
> OpenVMS,
> Unix,
> Linux,
> Windows-NT ??
NetBSD?
FreeBSD?
>
> Rob Hounsell wrote:
> >
> > Hi,
> >
> > Anyone know of a good procedure for cloning disk images on Alphas?
> > Ideally, we'd like to use a master CD image to create corresponding disk
> > images for upgrading systems. We thought about using dd, but I'm
> > wondering about cloning to different disk sizes (and thus possibly
> > wasting disk space). Conversely, I don't know the exhaustive list of
> > files required to create a successful clone if we went the filesystem
> > route i.e. copying files/directories.
> >
> > Any help is appreciated.
> >
> > Thanks,
> > Rob Hounsell
> > hounsell@nortelnetworks.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 ` Dirk Munk
@ 2000-01-25 5:00 ` Rob Hounsell
2000-01-25 5:00 ` Alex van Denzel
2000-01-25 5:00 ` HerbalGypsy/justbob
1 sibling, 1 reply; 9+ messages in thread
From: Rob Hounsell @ 2000-01-25 5:00 UTC (permalink / raw)
Hi,
UNIX Tru64, current version is 4.0F.
Dirk Munk wrote:
> Which operating system ??
>
> OpenVMS,
> Unix,
> Linux,
> Windows-NT ??
>
> Rob Hounsell wrote:
> >
> > Hi,
> >
> > Anyone know of a good procedure for cloning disk images on Alphas?
> > Ideally, we'd like to use a master CD image to create corresponding disk
> > images for upgrading systems. We thought about using dd, but I'm
> > wondering about cloning to different disk sizes (and thus possibly
> > wasting disk space). Conversely, I don't know the exhaustive list of
> > files required to create a successful clone if we went the filesystem
> > route i.e. copying files/directories.
> >
> > Any help is appreciated.
> >
> > Thanks,
> > Rob Hounsell
> > hounsell@nortelnetworks.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 ` Rob Hounsell
@ 2000-01-25 5:00 ` Alex van Denzel
2000-01-26 5:00 ` Adam Price
0 siblings, 1 reply; 9+ messages in thread
From: Alex van Denzel @ 2000-01-25 5:00 UTC (permalink / raw)
Rob Hounsell wrote:
> > > Anyone know of a good procedure for cloning disk images on Alphas?
> > > Ideally, we'd like to use a master CD image to create corresponding disk
> > > images for upgrading systems. We thought about using dd, but I'm
> > > wondering about cloning to different disk sizes (and thus possibly
> > > wasting disk space). Conversely, I don't know the exhaustive list of
> > > files required to create a successful clone if we went the filesystem
> > > route i.e. copying files/directories.
I don't know much about tru64 but one of these options could work:
- tar, and untar with -p to preserve attribs
- dump/restore
- cp -Rp (Recursive, preserve attribs)
--
Alex
Replace bitbucket with anything else.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 Cloning process for Alphas? Rob Hounsell
2000-01-25 5:00 ` Dirk Munk
@ 2000-01-25 5:00 ` Mike Iglesias
2000-01-30 5:00 ` Borje Sennung
2000-01-30 5:00 ` Jay Vlack
2 siblings, 1 reply; 9+ messages in thread
From: Mike Iglesias @ 2000-01-25 5:00 UTC (permalink / raw)
In article <388DE8BA.8D5D5B41@nortelnetworks.com>,
Rob Hounsell <hounsell@nortelnetworks.com> wrote:
>Hi,
>
> Anyone know of a good procedure for cloning disk images on Alphas?
>Ideally, we'd like to use a master CD image to create corresponding disk
>images for upgrading systems. We thought about using dd, but I'm
>wondering about cloning to different disk sizes (and thus possibly
>wasting disk space). Conversely, I don't know the exhaustive list of
>files required to create a successful clone if we went the filesystem
>route i.e. copying files/directories.
DU/Tru64 has the ability to make clones of systems. It's documented in
the "Sharing Software on a Local Area Network" book on the documentation
CD.
Basically what you do is install a system, setup a RIS server, and
move the /var/adm/smlogs/install.cdf file over to the RIS server.
You may have to tweak the file some for different disk types, but
it's not that big a deal. Configure the RIS server to install the
target system, and boot the target from it's ethernet adapter. If
you've setup everything correctly, it will do an install and you end
up with a system setup like the first one, minus things like setting
up NIS, /etc/resolv.conf, etc. The cloning process has a way to run
a script after the install is done so you can setup those things.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: 949-824-6926
Office of Academic Computing FAX: 949-824-2069
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 ` Alex van Denzel
@ 2000-01-26 5:00 ` Adam Price
0 siblings, 0 replies; 9+ messages in thread
From: Adam Price @ 2000-01-26 5:00 UTC (permalink / raw)
Alex van Denzel wrote in message <388E1549.6F960FC8@adenzel.demon.nl>...
>Rob Hounsell wrote:
>
>> > > Anyone know of a good procedure for cloning disk images on Alphas?
>> > > Ideally, we'd like to use a master CD image to create corresponding disk
>> > > images for upgrading systems. We thought about using dd, but I'm
>> > > wondering about cloning to different disk sizes (and thus possibly
>> > > wasting disk space). Conversely, I don't know the exhaustive list of
>> > > files required to create a successful clone if we went the filesystem
>> > > route i.e. copying files/directories.
>
>I don't know much about tru64 but one of these options could work:
>
>- tar, and untar with -p to preserve attribs
>- dump/restore
>- cp -Rp (Recursive, preserve attribs)
>
tar and cp both have the problem that they will copy hardlinks as files,
tar also looses setuid bits which is a major pain for this kind of thing.
In the past I have had good success with the procedure of using a custom
boot cd (see the back of the install guide I think although it may have
moved look for the section on advanced installs). The process is useful
since you can set it up to prompt for the info that varies from machine
to machine (hostname etc) and still keep the rest of the stuff the same.
One good tip if you do this is to then make use of the floppy drive record
all of the information you provide at install time, keep the files on it
uptodate and keep a unique floppy for each machine (use cron,store it in
the drive, it's not critical only useful)
The other partitions besides / and /usr, can then be cloned as compressed
vdump savesets, and a script written to create the partitions and extract
the files. Use default partition sizes read from the install floppy which
you can override, ask for the sizes before you start the install, and time
out if no response is given in a reasonable time, this way you can do
automated or partially automated restores.
Then if you ever need to rebuild a replacement for that workstation, you
use the standard boot cd plus the files on the floppy to automate the recovery.
When the amount of difference between the bootcd and the desired workstation
is too large to fit on a floppy, then it's time for a new bootcd.
Hope this helps
Adam
PS Excuse the rambling nature of this post, it's 3am and I've been up since 4am
yesterday with a screaming 1year old (new teeth).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 Cloning process for Alphas? Rob Hounsell
2000-01-25 5:00 ` Dirk Munk
2000-01-25 5:00 ` Mike Iglesias
@ 2000-01-30 5:00 ` Jay Vlack
2 siblings, 0 replies; 9+ messages in thread
From: Jay Vlack @ 2000-01-30 5:00 UTC (permalink / raw)
I'm not sure I really understand what you're trying to do. If you want to
upgrade systems that have an older version of Tru64 UNIX to v4.0F, then just
do an installupdate on each system using the v4.0F OS CD. If you already
have one system running and want to "clone" it's boot disk onto several
other systems that have no OS installed, there's several ways to do that.
One would be to install a second drive in the running system, disklabel it
with identical sized partitions as your working boot disk, then copy the
root, usr, and var (if not part of usr) partitions from the existing disk to
the new disk (you could use vdump and pipe the output to vrestore, see the
man page for vdump for an example). Of course you'd have to modify some
files like /etc/fstab to fix up SCSI device numbering, etc. Then you could
move the disk to your new system, boot the genvmunix kernel, run sizer and
merge the kernel config files (to account for hardware differences between
the two systems), build a new kernel and boot it up. I know this method will
work because I've done it before between two completely different
AlphaServers (cloned a boot disk from a 2100 and used it in a 4100).
Anyway, if you could give me more specific details on what you're trying to
do I could probably answer the question better.
--> Jay
Rob Hounsell wrote:
> Hi,
>
> Anyone know of a good procedure for cloning disk images on Alphas?
> Ideally, we'd like to use a master CD image to create corresponding disk
> images for upgrading systems. We thought about using dd, but I'm
> wondering about cloning to different disk sizes (and thus possibly
> wasting disk space). Conversely, I don't know the exhaustive list of
> files required to create a successful clone if we went the filesystem
> route i.e. copying files/directories.
>
> Any help is appreciated.
>
> Thanks,
> Rob Hounsell
> hounsell@nortelnetworks.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cloning process for Alphas?
2000-01-25 5:00 ` Mike Iglesias
@ 2000-01-30 5:00 ` Borje Sennung
0 siblings, 0 replies; 9+ messages in thread
From: Borje Sennung @ 2000-01-30 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2369 bytes --]
In article <86l45s$75o$1@news.service.uci.edu>,
iglesias@draco.acs.uci.edu (Mike Iglesias) writes:
>In article <388DE8BA.8D5D5B41@nortelnetworks.com>,
>Rob Hounsell <hounsell@nortelnetworks.com> wrote:
>>Hi,
>>
>> Anyone know of a good procedure for cloning disk images on Alphas?
>>Ideally, we'd like to use a master CD image to create corresponding disk
>>images for upgrading systems. We thought about using dd, but I'm
>>wondering about cloning to different disk sizes (and thus possibly
>>wasting disk space). Conversely, I don't know the exhaustive list of
>>files required to create a successful clone if we went the filesystem
>>route i.e. copying files/directories.
>
>DU/Tru64 has the ability to make clones of systems. It's documented in
>the "Sharing Software on a Local Area Network" book on the documentation
>CD.
>
My environment is based on RIS, with clients installing from the network.
I went thru this last summer, and after trying to work from the
documentation, and finding out that the system was left unconfigured,
made some scripts that will fully install a new machine, patch and
configure it.
Basically, what they do is hook into the boot sequence just before going
to multi-user and there run all installation and configuration, with the
required reboots and all. We can even configure DCE and DFS this way.
The scripts make the disk partitions based on some rules of thumb, installs
required software, which can be different between machines and makes life
much happier for the sysadmin.
When a new machine arrives, all I have to do is note the name, IP and MAC
numbers into the bootp and ris databases, and on the client give the
command to boot from the network, and return one hour later to a fresh
machine that is ready for the users to log onto.
I have also modified one of the RIS program in order to reduce the load of
RIS server with 99 percent, so the time to install a client is not dependent
on how many clients that are installing on the same time. The server easily
handles 40 simultane installing clients with a load average of 0.2
If anyone wants this script, just mail, and I will put together a kit.
--
B�rje Sennung
Maskinsektionens DataCentral Telefon: +46 31 - 772 37 06
Chalmers Tekniska H�gskola Fax : +46 31 - 772 11 92
412 96 G�teborg Sweden E-mail : bse@me.chalmers.se
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-01-30 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-25 5:00 Cloning process for Alphas? Rob Hounsell
2000-01-25 5:00 ` Dirk Munk
2000-01-25 5:00 ` Rob Hounsell
2000-01-25 5:00 ` Alex van Denzel
2000-01-26 5:00 ` Adam Price
2000-01-25 5:00 ` HerbalGypsy/justbob
2000-01-25 5:00 ` Mike Iglesias
2000-01-30 5:00 ` Borje Sennung
2000-01-30 5:00 ` Jay Vlack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox