Build 44

There is a bug related to network installations in this build:

    6453083  rmclient bug fix causes regression in addclient and removes /etc/ethers entry in snv_43 and snv44

There is a Workaround for the bug, please see section after description below.

Description

On our install server ins3525-svr, the /etc/ethers is a local file and we do not use NIS administer this.  We usually will update the /etc/ethers whenever we had new systems in the lab.

    If I do this on the ins3525-svr to add PXE client from any snv_43 or snv_44 images, it removes the ethernet address of the client:  
    root@ins3525-svr# pwd
    /export/nv/solarisdvd.nvx_dvd/latest/Solaris_11/Tools
    root@ins3525-svr#
    root@ins3525-svr# ls
    Boot                  addclient.sparc       rmclient
    Installers            addclient.x86         rmclient.sparc
    add_install_client    dial                  rmclient.x86
    addclient             rm_install_client     setup_install_server
    root@ins3525-svr# grep line3-colfax2 /etc/ethers
    00:e0:81:2a:a0:38 line3-colfax2
    root@ins3525-svr# ./addclient -d -e 00:e0:81:2a:a0:38 i86pc
    cleaning up preexisting install client "00:e0:81:2a:a0:38"
    cleaning /etc/ethers
    removing 00:e0:81:2a:a0:38 from ethers  
    To disable 00:e0:81:2a:a0:38 in the DHCP server, remove the entry with Client ID 0100E0812AA038
    copying boot file to /tftpboot/pxegrub.I86PC.Solaris_11-11  
    If not already configured, enable PXE boot by creating a macro named 0100E0812AA038 with:
      Boot server IP (BootSrvA) : 10.6.35.8
      Boot file      (BootFile) : 0100E0812AA038  
    root@ins3525-svr# grep line3-colfax2 /etc/ethers
    root@ins3525-svr# 

With the rm_install_client fix, we forget that addclient will call rmclient first and then call addclient.  Then the ethers entry for the client will be gone forever.  This causes corruption in the /etc/ethers and is a major headache for system administer.  I will replace the rm_install_client with the one from snv_42 until this problem is looked at.

This regression was caused by the fix to rmclient by bugid 4638062.

Workaround

I use setup_install_server to setup an image for testing purpose: root@ins3525-svr# pwd /export/nv/solarisdvd.nvx_dvd/latest/Solaris_11/Tools root@ins3525-svr# cd /export/nv/dvdx root@ins3525-svr# ls 28 32 36 40 42a 44jato 29 33 37 41 43 jan_38 30 34 38 41_test 44 latest 31 35 39 42 44_vulcan root@ins3525-svr# cd latest root@ins3525-svr# cd So///To// root@ins3525-svr# ./setup_install_server /export/nv/dvdx/44_rmclient Verifying target directory... Calculating the required disk space for the Solaris_11 product Calculating space required for the installation boot image Copying the CD image to disk... Copying Install Boot Image hierarchy... Copying /boot x86 netboot hierarchy... Install Server setup complete you have mail root@ins3525-svr# root@ins3525-svr# diff /etc/ethers.orig /etc/ethers 5d4 < 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# ./addclient -d -e 00:e0:81:2a:a0:38 i86pc cleaning up preexisting install client "00:e0:81:2a:a0:38" cleaning /etc/ethers removing 00:e0:81:2a:a0:38 from ethers To disable 00:e0:81:2a:a0:38 in the DHCP server, remove the entry with Client ID 0100E0812AA038

If not already configured, enable PXE boot by creating a macro named 0100E0812AA038 with: Boot server IP (BootSrvA) : 10.6.35.8 Boot file (BootFile) : 0100E0812AA038 root@ins3525-svr# grep line3-colfax /etc/ethers root@ins3525-svr# Then replace /etc/ethers and rm_install_client from build 42 (or a previous build) of SXCR. root@ins3525-svr# cp /etc/ethers.orig /etc/ethers root@ins3525-svr# ls Boot addclient.sparc rmclient Installers addclient.x86 rmclient.sparc add_install_client dial rmclient.x86 addclient rm_install_client setup_install_server root@ins3525-svr# cp rm_install_client rm_install_client.44 root@ins3525-svr# cp /export/nv/dvdx/42/So///To///rm_install_client rm_install_client.42 root@ins3525-svr# ls Boot addclient.x86 rmclient Installers dial rmclient.sparc add_install_client rm_install_client rmclient.x86 addclient rm_install_client.42 setup_install_server addclient.sparc rm_install_client.44 root@ins3525-svr# cp rm_install_client.42 rm_install_client root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# ./addclient -d -e 00:e0:81:2a:a0:38 i86pc cleaning up preexisting install client "00:e0:81:2a:a0:38" To disable 00:e0:81:2a:a0:38 in the DHCP server, remove the entry with Client ID 0100E0812AA038 If not already configured, enable PXE boot by creating a macro named 0100E0812AA038 with: Boot server IP (BootSrvA) : 10.6.35.8 Boot file (BootFile) : 0100E0812AA038 root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr#

last modified by admin on 2009/10/26 12:18
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.