Size: 939
Comment:
|
← Revision 20 as of 2015-12-22 14:00:36 ⇥
Size: 2472
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
=== Changing host name or IP address for Slave PC === | = Changing host name or IP address for slave machines = |
Line 3: | Line 3: |
1. Go to /etc/dhcp on master machine. * Modify the dhcpd.conf file by changing the section you need change like: {{{ |
== Host name == === DHCP === 1. log into k1boot {{{ ssh k1boot }}} 1. Open the setting file {{{ cd /etc/dhcp/ sudo emacs dhcpd.conf }}} 1. 該当ホスト名がある2ヶ所を書き換える。{{{ |
Line 9: | Line 16: |
* Restart the dhcpd server by doing "sudo /etc/init.d/dhcpd restart" on the master machine. * Modify the hosts file for the master in /etc/hosts. * Modify the hosts file for the remote computer on the master machine in /diskless/root/etc/hosts. * Restart the network service by doing "sudo /etc/init.d/eth0 restart" on the master machine. |
1. Restart dhcp {{{ sudo /etc/init.d/dhcpd restart }}} === Dolphin === 1. log into k1dc0 {{{ ssh k1dc0 }}} 1. dishost.conf の該当ホスト名がある2ヶ所を書き換える。{{{ sudo emacs /etc/dis/dishosts.conf }}} 1. cluster.conf の該当ホスト名がある4ヶ所を書き換える。{{{ sudo emacs /etc/dis/cluster.conf}}} |
Line 14: | Line 27: |
* Rebuild IOP and front-end model. * Do not forget changing an old host name to the new host name in .mdl file. * Modify testpoint.par if you need. * Modify /diskless/root/etc/rtsystab if you changed model name. * Reboot slave computer. |
=== DNS === |
Line 20: | Line 29: |
* Modify the hosts file for Workstations in /etc/hosts. | 1. log into k1gate {{{ $ssh k1gate }}} 1. Be a superuser {{{ $su }}} 1. Change 2 database filess in {{{/var/named/chroot/var/named}}}. One each. {{{ #cd /var/named/chroot/var/named #emacs 10.68.10.in-addr.arpa.db #emacs kagra.icrr.u-tokyo.ac.jp.db }}} 1. Restart the service {{{ #/etc/init.d/named restart }}} === Restart the RT machine === 1. Restart the machine {{{ $ssh k1xxx $sudo reboot}}} === Restart Networkmgr === 1. Log into k1dc0 {{{ $ssh k1dc0 }}} 1. Check the process number (###) of network manager, kill it and restart the survice {{{ $ps -ef | grep networkmgr $sudo kill ### $sudo /opt/DIS/sbin/dis_networkmgr}}} === Others === * Modify {{{/diskless/root/etc/rtsystab}}} on k1boot if necessary. * Modify {{{opt/rtcds/kamioka/k1/target/gds/param/testpoint.par}}} if necessary. * Modify models. == Changing host name for boot PC == 1. Modify host name in /etc/conf.d/hostname on boot PC. * Modify host name in /etc/hosts on boot PC. * Modify IP address in dhcpd.conf * Modify IP address in /diskless/pxelinx.cfg/default * Modify host name for the remote computer in /diskless/root/etc/hosts on boot PC. * Modify host name for the remote computer in /diskless/root/etc/fstab on boot PC. * Reboot the master machine. * Modify host name in /etc/hosts on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1. * Modify host name in /etc/fstab on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1. * Reboot k1dc0, k1nds0, k1nds1, k1fw0, k1fw1. * Reboot slave computers. * Modify host name in /etc/hosts on workstations. * Modify host name in /etc/fstab on workstations. * Restart the network service by doing "sudo /etc/init.d/networking restart" on workstations. |
Changing host name or IP address for slave machines
Host name
DHCP
log into k1boot
ssh k1boot
Open the setting file
cd /etc/dhcp/ sudo emacs dhcpd.conf
該当ホスト名がある2ヶ所を書き換える。
host k1xxx { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.10.xxx }
Restart dhcp
sudo /etc/init.d/dhcpd restart
Dolphin
log into k1dc0
ssh k1dc0
dishost.conf の該当ホスト名がある2ヶ所を書き換える。
sudo emacs /etc/dis/dishosts.conf
cluster.conf の該当ホスト名がある4ヶ所を書き換える。
sudo emacs /etc/dis/cluster.conf
DNS
log into k1gate
$ssh k1gate
Be a superuser
$su
Change 2 database filess in /var/named/chroot/var/named. One each.
#cd /var/named/chroot/var/named #emacs 10.68.10.in-addr.arpa.db #emacs kagra.icrr.u-tokyo.ac.jp.db
Restart the service
#/etc/init.d/named restart
Restart the RT machine
Restart the machine
$ssh k1xxx $sudo reboot
Restart Networkmgr
Log into k1dc0
$ssh k1dc0
Check the process number (###) of network manager, kill it and restart the survice
$ps -ef | grep networkmgr $sudo kill ### $sudo /opt/DIS/sbin/dis_networkmgr
Others
Modify /diskless/root/etc/rtsystab on k1boot if necessary.
Modify opt/rtcds/kamioka/k1/target/gds/param/testpoint.par if necessary.
- Modify models.
Changing host name for boot PC
- Modify host name in /etc/conf.d/hostname on boot PC.
- Modify host name in /etc/hosts on boot PC.
- Modify IP address in dhcpd.conf
- Modify IP address in /diskless/pxelinx.cfg/default
- Modify host name for the remote computer in /diskless/root/etc/hosts on boot PC.
- Modify host name for the remote computer in /diskless/root/etc/fstab on boot PC.
- Reboot the master machine.
- Modify host name in /etc/hosts on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
- Modify host name in /etc/fstab on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
- Reboot k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
- Reboot slave computers.
- Modify host name in /etc/hosts on workstations.
- Modify host name in /etc/fstab on workstations.
- Restart the network service by doing "sudo /etc/init.d/networking restart" on workstations.