Re: Cloaning a SPARC 20.

From: Bruce D Porter (ytc1_at_despammed.com)
Date: 11/07/04

  • Next message: Scott Howard: "Re: Multiple Disk Installation with Solaris 8"
    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                     
    

  • Next message: Scott Howard: "Re: Multiple Disk Installation with Solaris 8"

    Relevant Pages

    • Re: rescue boot disk help
      ... The tape drive is a LTO-2 ... > file systems, but I can't write to tape because there is no st module. ... > Freeing unused kernel memory: ... You need the scsi generic support either in the kernel ...
      (comp.os.linux.misc)
    • Re: not quilting, but more destruction and refabrication :-)
      ... THEN, it's on to the seams....I don't mind seams, but I *hate* ... I don't know of you are using woven tape or not. ... forgiving of sanding errors and dosen't "fuzz up" if you sand a little ... to install :-) ...
      (rec.crafts.textiles.quilting)
    • mksysb restore hangs on 0c45 from tape at 530 ml4 on pseries 7028 6E1
      ... The source system has been "overwrite" installed from ... the build is currently installed with "restore to other ... After install I have rebooted and configured the bosinst.data file to ... I then transfer the tape to another server, also a pl220, same model ...
      (comp.unix.aix)
    • OT: What I did this weekend
      ... a tape backup system last month. ... install disk, I saw it here in the past, where is it now? ... No problem - I have some boot disks ...
      (microsoft.public.cert.exam.mcse)
    • RE: OT: What I did this weekend
      ... > a tape backup system last month. ... > install disk, I saw it here in the past, where is it now? ... No problem - I have some boot disks ...
      (microsoft.public.cert.exam.mcse)