Differences between revisions 8 and 11 (spanning 3 versions)
Revision 8 as of 2013-12-06 18:41:23
Size: 981
Comment:
Revision 11 as of 2015-12-21 11:00:48
Size: 2134
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 PC =
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. 該当ホスト名がある2ヶ所を書き換える。{{{
Line 9: Line 13:
 * 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.
 * Modify dis setting files in /etc/dis/dishosts.conf and /etc/dis/cluster.conf on the master machine.
 1. Restart dhcp {{{
/etc/init.d/dhcpd restart }}}
 
=== Dolphin ===
 1. log into k1dc0 {{{
ssh k1dc0 }}}
 1. dishost.conf の該当ホスト名がある2ヶ所を書き換える。{{{
emacs /etc/dis/dishosts.conf }}}
 1. cluster.conf の該当ホスト名がある4ヶ所を書き換える。{{{
/etc/dis/cluster.conf}}}

=== DNS ===

 1. log into k1gate {{{
$ssh k1gate }}}
 1. Be a superuser {{{
$su }}}
 1. Change 2 databases in {{{/var/named/chroot/var/named}}} {{{
#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. {{{
$ssh k1dc0 }}}
 1. {{{
ps -ef | grep networkmgr
$kill ###
$sudo /opt/DIS/sbin/dis_networkmgr}}}



 * Modify /diskless/root/etc/rtsystab if you changed model name.

=== 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.
Line 14: Line 68:
 * Rebuild IOP and front-end model.
  * Do not forget changing an old host name to the new host name in .mdl files.
 * Modify testpoint.par if you need.
 * Modify /diskless/root/etc/rtsystab if you changed model name.
 * Reboot slave computer.
 * Modify host name in /etc/hosts on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
 * Modify host name in /etc/fstab on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
Line 20: Line 71:
 * Modify the hosts file for workstations in /etc/hosts.  * 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.

Changing host name or IP address for Slave PC

Host name

DHCP

  1. log into k1boot

    ssh k1boot 
  2. 該当ホスト名がある2ヶ所を書き換える。

    host k1xxx {
         hardware ethernet xx:xx:xx:xx:xx:xx;
         fixed-address 192.168.10.xxx
        } 
  3. Restart dhcp

    /etc/init.d/dhcpd restart 

Dolphin

  1. log into k1dc0

    ssh k1dc0 
  2. dishost.conf の該当ホスト名がある2ヶ所を書き換える。

    emacs /etc/dis/dishosts.conf 
  3. cluster.conf の該当ホスト名がある4ヶ所を書き換える。

    /etc/dis/cluster.conf

DNS

  1. log into k1gate

    $ssh k1gate 
  2. Be a superuser

    $su 
  3. Change 2 databases in /var/named/chroot/var/named

    #cd /var/named/chroot/var/named
    #emacs 10.68.10.in-addr.arpa.db
    #emacs kagra.icrr-u.tokyo.ac.jp.db
  4. Restart the service

    #/etc/init.d/named restart

Restart the RT machine

  1. Restart the machine

    $ssh k1xxx
    $sudo reboot

Restart Networkmgr

  1. $ssh k1dc0 
  2. ps -ef | grep networkmgr
    $kill ###
    $sudo /opt/DIS/sbin/dis_networkmgr
  3. Modify /diskless/root/etc/rtsystab if you changed model name.

Changing host name for boot PC

  1. Modify host name in /etc/conf.d/hostname on boot PC.
  2. Modify host name in /etc/hosts on boot PC.
  3. Modify IP address in dhcpd.conf
  4. Modify IP address in /diskless/pxelinx.cfg/default
  5. Modify host name for the remote computer in /diskless/root/etc/hosts on boot PC.
  6. Modify host name for the remote computer in /diskless/root/etc/fstab on boot PC.
  7. Reboot the master machine.
  8. Modify host name in /etc/hosts on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
  9. Modify host name in /etc/fstab on k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
  10. Reboot k1dc0, k1nds0, k1nds1, k1fw0, k1fw1.
  11. Reboot slave computers.
  12. Modify host name in /etc/hosts on workstations.
  13. Modify host name in /etc/fstab on workstations.
  14. Restart the network service by doing "sudo /etc/init.d/networking restart" on workstations.

KAGRA/Subgroups/DGS/RTPC/LNS/ChangeHost (last edited 2015-12-22 14:00:36 by KeikoKokeyama)