Re: cloning solarins installations

From: Karoly VEGH (karoly.vegh@eunet.co.at)
Date: Wed Nov 30 2005 - 14:34:04 EST


On Mon, Nov 21, 2005 at 10:13:57PM +0100, Karoly VEGH wrote:
 
> I would like to clone solaris installations - e.g. I would like to
> remove one disk from a complete installation from a raid1 device,
> put it into another machine, boot from it, sync it up in raid1 again
> with a third disk.

Hi,

I am about to solve this problem, though to be able to summarize I
sould once more need your kind help.

The problem is: I do not want to halt the server, to remove one disk, so
I created a flash archive with "flarcreate", now I would like to setup a
tftp and bootserver, to be able to boot the other boxes over the net,
and during the installation use the flash archive shared on NFS.

to do this, I began doing the jumpstart setup, though for a reason not
clear to me, the target box won't boot.

The target box is is connected witha crossover cable to the bootserver
directly - for testing purposes.

I boot the target box from OBP with: boot net

but all I see is:

ok boot net
Boot device: /pci@1f,4000/network@1,1 File and args:
Timeout waiting for ARP/RARP packet

and on the server side if I snoop on the interface:

root@datapool:~# snoop -d hme1
Using device /dev/hme (promiscuous mode)
pooldata.gte.tuwien.ac.at -> BROADCAST TFTP Read "C0A80002" (octet)
pooldata.gte.tuwien.ac.at -> BROADCAST TFTP Read "C0A80002" (octet)
pooldata.gte.tuwien.ac.at -> BROADCAST TFTP Read "C0A80002" (octet)
...

that si strange for me, since I _do_ have an entry for C0A80002:

root@datapool:~# ls -l /tftpboot/
total 458
lrwxrwxrwx 1 root root 27 Nov 30 00:37 C0A80002 -> inetboot.SUN4U.Solaris_10-1
lrwxrwxrwx 1 root root 27 Nov 30 00:37 C0A80002.SUN4U -> inetboot.SUN4U.Solaris_10-1
-rwxr-xr-x 1 root root 214880 Nov 28 20:04 inetboot.SUN4U.Solaris_10-1
-rw-r--r-- 1 root root 338 Nov 30 00:37 rm.192.168.0.2
lrwxrwxrwx 1 root root 27 Nov 30 00:13 sparc -> inetboot.SUN4U.Solaris_10-1
lrwxrwxrwx 1 root root 1 Nov 28 20:04 tftpboot -> .
root@datapool:~#

this I set up with the add_install_client script from the JumpStart
solution.

my config entries are:

root@datapool:~# cat /etc/bootparams
pooldata.gte.tuwien.ac.at root=192.168.0.1:/opt/apps/jumpstart_sol10/install_dir/Solaris_10/Tools/Boot install=192.168.0.1:/opt/apps/jumpstart_sol10/install_dir/ boottype=:in sysid_config=192.168.0.1:/jumpstart/ install_config=192.168.0.1:/jumpstart/ rootopts=:rsize=32768 ns=:none
root@datapool:~#
root@datapool:~# cat /etc/ethers
8:0:20:b8:1:75 pooldata.gte.tuwien.ac.at
root@datapool:~#
root@datapool:~# grep pool /etc/hosts
119.152.76.59 datapool schulserver
192.168.0.1 datapool-i datapool-i.gte.tuwien.ac.at
192.168.0.2 pooldata.gte.tuwien.ac.at pooldata
root@datapool:~#

what am I missing/doing wrong?

any help is appreciated,

charlie

-- 
Vigh Karoly  -  EUnet Telekom GmbH  -  Team Systems
Nussdorfer Ldnde 23, A-1190 Wien, Vienna, Austria
http://www.eunet.at Tel: +43 (0) 591590 / Fax: +43 (0) 591593001
see Disclaimer http://www.eunet.at/signatur/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:15 EDT