Re: Cloaning a SPARC 20.
From: Bruce D Porter (ytc1_at_despammed.com)
Date: 11/07/04
- Previous message: Spauldo da Hippie: "Multiple Disk Installation with Solaris 8"
- In reply to: David Kirkby: "Cloaning a SPARC 20."
- Next in thread: Frank-Christian Kruegel: "Re: Cloaning a SPARC 20."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 07 Nov 2004 11:54:50 +0000
On Sun, 07 Nov 2004 01:01:50 +0000, David Kirkby wrote:
> I have a web server and load of stuff set up on a Sun SPARCstation 20.
> with a 9 GB disk running Solaris 9. There are no special cards in it -
> just one disk, a couple of SuperSPARC CPUs and possibly a framebuffer (I
> can't recall, as I only ever access it remotely via ssh).
>
> I have another SS20, with basically the same hardware but an 18 GB
> disk.(The CPUs are however a pair of 125 MHz HyperSPARCs). It has
> Solaris 9 on it too, but almost certainly a different set of patches,
> and different versions of applications.
>
> I want to get the two machines so they are identical - apart from one
> having a different IP address to the other, but on the same subnet.
>
> What is the best way to 'clone' the first machine?
>
> I've never attached a tape drive to the either machine. I have a DDS-4
> drive I could possibly fit, although I'm not sure how the tape drive
> will take to having such a slow SCSI connection. It might cause the tape
> to stop/start, which does not do it a lot of good.
>
> I always copy data files to another machine on a daily basis, which
> itself gets backup up to tape.
>
> I thought of
>
> 1) Putting the first machine into single user mode
> 2) Backing up via UFS dump to tape - hoping my tape drive will be okay.
> 3) Boot the second machine from CD
> 4) Mount the file systems of the second machine on /tmp of the CD and
> clear their contents.
>
> # mkdir /tmp/foo (whilst booting from a Solaris CD)
> # mount /dev/rsk/c0t0d0 s0 /tmp/foo
> # rm -fr /tmp/foo
> and so on to clear the other file systems.
>
> 5) Run ufsrestore, to dump the file systems from the first machine onto
> the second
>
> 6) Change the hostname + IP address of the cloned machine (I'll have to
> work out how do the IP address, but I'm sure the man pages of
> sys-unconfig will help).
>
>
> If it's possible to do this without taking the first machine down, I
> would like that, but it is probably asking too much.
Sounds like you want to do a flash install. Assuming you want to blow away
second machine...
On first machine
flarcreate -n "Some usefull info" -R / -S -c <a directory big enough to
hold file>
This will cretae a compress flar archive, the size depends on your system.
If you want to exlude filesystems use the -x switch.
The -S stops the flar checking how big it will be and if enough space
exists on the target fielsystem.
Assuming the 2 systems are on the same subnet you could then use the 1st
machine to JumpStart the second. If you are not allready set up as a
JumpStart server try JET http://www.sun.com/bigadmin/content/jet/
(It has a handy flash module)
Or if the second machine has a CD drive, then start the install process
and when given the option for install choose flash over NFS.
Or the flar can be put on tape and the install can be chosen from there.
HTH
--
Bruce
*(Emails to the posted address will be ignored)*
"The internet is a huge and diverse community and not every one is friendly"
http://www.ytc1.co.uk
- Previous message: Spauldo da Hippie: "Multiple Disk Installation with Solaris 8"
- In reply to: David Kirkby: "Cloaning a SPARC 20."
- Next in thread: Frank-Christian Kruegel: "Re: Cloaning a SPARC 20."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|