Difference between revisions of "DNS Migration"

From MicroFocusInternationalWiki
Jump to: navigation, search
Line 3: Line 3:
 
'''Phase 1'''<br>
 
'''Phase 1'''<br>
 
- YaST<br>
 
- YaST<br>
- select software “It should already be selected as it’s the first in the list then press tab and down to get to install and remove software press enter<br>
+
- Select software “It should already be selected as it’s the first in the list then press tab and down to get to install and remove software press enter<br>
- press alt+s<br>
+
- Press alt+s<br>
- type in bind press enter<br>
+
- Type in bind press enter<br>
- press space - ensure + next to bind<br>
+
- Press space - ensure + next to bind<br>
- press alt+A<br>
+
- Press alt+A<br>
- make sure cd 1 is in the drive “Obviously this will vary between the different distributions of Linux” <br>
+
- Make sure cd 1 is in the drive “Obviously this will vary between the different distributions of Linux” <br>
 
- Next the copy process appears<br>
 
- Next the copy process appears<br>
 
- When the copy process has finished tab 3 times - till software is highlighted on the left and move down to network services<br>
 
- When the copy process has finished tab 3 times - till software is highlighted on the left and move down to network services<br>
- tab and down to DNS server press enter<br>
+
- Tab and down to DNS server press enter<br>
- go 6 down to DNS zones<br>
+
- Go 6 down to DNS zones<br>
 
- Tab to zone name field. <br>
 
- Tab to zone name field. <br>
- type in the name of the zone select the type and press alt+a to  add the zone<br>
+
- Type in the name of the zone select the type and press alt+a to  add the zone<br>
 
- This needs to be repeated for all the zones that need to be migrated. <br>  
 
- This needs to be repeated for all the zones that need to be migrated. <br>  
 
- When you have finished adding all the zones needed press alt+f<br>
 
- When you have finished adding all the zones needed press alt+f<br>

Revision as of 15:16, 7 May 2007

Being reasonably new to Linux myself I decided to simplify the DNS migration steps supplied by Novell for those administrators embarking on the migration of services from NetWare to Linux. This migration was tested on a Netware 6.5 server as well as a SLES 9.3 server. The process should work exactly the same on SLES 10 and OES 1 Linux Service pack 1 & 2.

The original steps for the migration can be found at: http://www.novell.com/documentation/oes/dhcp_enu/index.html?page=/documentation/oes/dhcp_enu/data/btmrx88.html

Phase 1
- YaST
- Select software “It should already be selected as it’s the first in the list then press tab and down to get to install and remove software press enter
- Press alt+s
- Type in bind press enter
- Press space - ensure + next to bind
- Press alt+A
- Make sure cd 1 is in the drive “Obviously this will vary between the different distributions of Linux”
- Next the copy process appears
- When the copy process has finished tab 3 times - till software is highlighted on the left and move down to network services
- Tab and down to DNS server press enter
- Go 6 down to DNS zones
- Tab to zone name field.
- Type in the name of the zone select the type and press alt+a to add the zone
- This needs to be repeated for all the zones that need to be migrated.
- When you have finished adding all the zones needed press alt+f

This concludes the portion for adding the zones.

Phase 2
- Copy all the zones that were specified as master in phase one from \\”netware server”\sys\etc\dns\”zone.db” to /var/lib/named/master on the SLES server. Ensure to remove the .db extension of the zone files.
- Copy all zones that were specified as slave in phase one from \\”netware server”\sys\etc\dns\”zone.db” to /var/lib/named/slave on the SLES server. Ensure that these zones are also renamed as indicated above.
NOTE: Make sure that the names of the zones created in phase one match the filenames in phase 2 e.g. zone = example.com filename = example.com

Phase 3
- Now you can start the service by typing rcnamed start
- Make sure that it is enabled for startup by typing chkconfig named, it should display “named on”
- If it displays “named off” type “chkconfig named 35 on" this will ensure that the service is started at server boot for runlevels 3 and 5.