If the Sun Ray network is not changing you can use pntadm -M <IP_address> -s <new_server_IP_addres> <zone/subnet> to change your entries. The only catch is you have to do it for every IP address in the pool. Here's an untested example from some documentation I am writing. Note the single ticks and the backticks. This example assumes a Class C network.
 
 
/usr/bin/perl -e 'foreach(11..1321){print "Record $_\n"; `/usr/sbin/pntadm -M 10.20.251.$_2 -s 10.20.248.603 10.20.251.04`}'
  1. The range of IP Addresses in the pool for this zone.
  2. The current record being updated.
  3. The attribute being updated (in this case it is the DHCP server)
  4. The zone.
-- Russ

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Shore

DHCP server on Solaris is tied to the primary IP address of the server.

If you need to change this - run "utadm -r", then change IP, reboot and rerun
utadm -a, utadm -A as necessary.

If you really screw up, run:
utadm -r
/etc/init.d/dhcp stop

The remove anything (including hidden files) in /var/dhcp

Change the IP in /etc/inet/hosts and /etc/inet/ipnodes, reboot

Then run utadm -A and utadm -a as necessary

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to