Summary: Replicating my NIS server.

From: <devnull_at_adc.idt.com>
Date: Thu Oct 31 2002 - 11:29:39 EST
Dear Managers,

I received a few replies which started me of in the right direction.

Many thanks to Thomas Autry and David Foster.

Here is what i did.

Used the same architecture as "master" for "replica"

On my "replica"..
boot net -sw(have jumpstart configured on another machine)

1. Created partition on "replica" like the master.

2. Mounted each UFS partition under /mnt one by one and then

3. rsh "master" ufsdump 0f - /dev/rdsk/cxtxdxsx | (cd /mnt; ufsrestore xvf -)
   corresponding to each partition.

4. Changed /mnt/etc/host, nodename, hostname.le0, /mnt/etc/net/*/hosts

5. copied /tmp/dev/* and /tmp/devices/* to /dev/ and /devices/ on
   "replica"

6. Installed bootblk using installboot
   installboot /usr/platoform/`uname -i`/lib/fs/ufs/bootblk \
	/dev/dsk/cxtxdxsx

7. Moved /var/yp on "replica" to /var/TheRealYP
   (This is needed to ensure that ypserv on "replica" doesnt start)

8. Copied /var/yp from another NIS client to /var/yp

7. Now using "rsync" to sync up Master:/var/yp and Replica:/var/TheRealYP

Found a lot of old posts that outlined this procedure for 2 disks on same
machine, which were very helpful. Many thanks to all those people.

This list Rocks!!

Thanks.
/dev/null
devnull@adc.idt.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Oct 31 11:43:49 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:57 EST