InfoDoc ID   Synopsis   Date
22150   How to create an AP network device   10 Apr 2000

Status Issued

Description
The first step in creating an AP network device is to create a database device. Sun 
recommends the creation of 3-5 database devices. They store all the same information but there are 
multiple copies. The disk space required is only 300kb and each database should be on a 
separate disk.

Creation of the database:

1. The "-f" needs to be used on the creation of the first database only.

	host# apdb -c /dev/rdsk/c1t0d0s0 -f

2. Creation of addition copies.

	host# apdb -c /dev/rdsk/c2t0d0s0
	host# apdb -c /dev/rdsk/c3t0d0s0

3. Display status of the databases (you will see the output below for each database)

	host# apconfig -D

	path: /dev/rdsk/c1t0d0s0
	major: 32
	minor: 200
	timestamp: Wed Apr 7 18:45:58 2000
	checksum: 2636010350
	default: yes
	corrupt: no
	inaccessible: no


Creation Of Meta-network device:

1. Select the network interfaces that you would like to use.

2. Create the meta-network device and view the uncommitted device.

	host# apnet -c -p qe0 -a qe4
	host# apconfig -N -u

meta-network: mqe0	U <--- Means uncommitted to database.
physical devices:
	qe4
	qe0	P A

3. Commit new metadevice to database and confirm committed metadevice.

	host# apdb -C
	host# apconfig -N 

meta-network: mqe
physical devices:
	qe4
	qe0	P A

4. Setup /etc/hostname.XXX file.

	host# mv /etc/hostname.qe0 /etc/hostname.mqe0
	host# rm /etc/hostname.qe4

5. Switch the network traffic over to the meta-network.

	host# ifconfig qe0 down
	host# ifconfig qe0 unplumb
	host# ifconfig qe4 down
	host# ifconfig qe4 unplumb
	host# ifconfig mqe0 plumb
	host# ifconfig mqe0 init 136.122.65.30 up


Switching Meta-network paths:

Syntax example:
-P = meta-network name
-a = new active path

	host# apconfig -P mqe0 -a qe4
	host# apconfig -N

meta-network: mqe
physical devices:
	qe4	A
	qe0	P 




SUBMITTER: Douglas Donahue APPLIES TO: Hardware/Ultra Enterprise/Servers/Enterprise 10000, Operating Systems/Solaris/Solaris 2.6 ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.