Difference: QuattorNotepad (1 vs. 2)

Revision 22007-04-10 - LoicBrarda

Line: 1 to 1
 
META TOPICPARENT name="ManagementWiki"

ncm-diskless_server

Changed:
<
<
  • Have the possibility to overwrite the dhcp template
>
>
  • Have the possibility to overwrite the dhcp template (and be able to provide it in the server template).
 
  • Have the possibility to provide an home-made image and not run the redhat pxe tools
Added:
>
>
  • Have a longer timeout in aii_dhcp_config (perhaps also in other places). The actual one (20 s) was to small : this made nearly empty dhcpd.conf.
  • 0.0.10 does not work at all :
    [hlte06] /home/loic > sudo /usr/sbin/ncm-ncd --co --verbose --diskless_serve[hlte06] /home/loic > sudo /usr/sbin/ncm-ncd --co --verbose --debug 5 diskless_server
    [VERB] checking for ncm-ncd locks...
    
    [INFO] NCM-NCD version 1.2.3 started by root at: Tue Apr 10 18:14:55 2007
    [VERB] accessing CCM cache manager..
    [VERB] getting locked CCM configuration..
    [DEBUG] pre dependencies for component diskless_server nfs
    [DEBUG] no post dependencies found for diskless_server
    [INFO] adding missing pre/post requisite component: nfs
    [DEBUG] no pre dependencies found for nfs
    [DEBUG] no post dependencies found for nfs
    [INFO] executing configure on components....
    
    [VERB] sorting components according to dependencies...
    
    [INFO] running component: nfs
    ---------------------------------------------------------
    updated /etc/exports
    updated /etc/fstab
    [INFO] configure on component nfs executed, 0 errors, 0 warnings
    
    [INFO] running component: diskless_server
    ---------------------------------------------------------
    subnet 10.128.0.0 netmask 255.252.0.0 {
    option routers 10.128.2.2;
    option domain-name-servers 10.128.16.5;
    option time-servers time01;
    }
    [DEBUG] going to call aii_dhcp_config
    [ERROR] aii configure failed: 256
    [INFO] aii configure command ERROR produced:
    Uncaught exception!!! Calling stack is:
            LC::Exception::throw_error called at /usr/lib/perl/EDG/WP4/CCM/Configuration.pm line 189
            EDG::WP4::CCM::Configuration::DESTROY called at /usr/sbin/aii-shellfe line 1358
            (eval) called at /usr/sbin/aii-shellfe line 1358
            main::update_dhcp_config called at /usr/sbin/aii-shellfe line 1358
    *** _remove_pid_file($self->{"cid"}): unlink(/tmp/aii/hlte0608.lbdaq.cern.ch/profile.0/ccm-active-profile.0-6492): No such file or directory
    
    [DEBUG] pxe_config: pxeos command would be /usr/sbin/pxeos -a -i "cbd test" -p NFS -D 1 -s 10.130.150.100 -k 2.6.9-42.0.3.EL.cernsmp -L /diskless/i386/slc4 cdb
    [INFO] OS already exists,not updating
    [DEBUG] pxe_config returned : 0
    [DEBUG] /usr/sbin/ncm-ncd: going to call pxeboot_config
    [ERROR] component diskless_server executing method Configure fails: Can't call method "getLockedConfiguration" on an undefined value at /usr/lib/perl/NCM/Component/diskless_server.pm line 372.
    
    [ERROR] cannot execute configure on component diskless_server
    
    =========================================================
    
    [ERROR] 1 errors, 0 warnings executing configure
    [ERROR] Uncaught exception!
    [ERROR] Calling stack is:
            LC::Exception::throw_error called at /usr/lib/perl/EDG/WP4/CCM/CacheManager.pm line 124
    
    [ERROR] *** main cache directory does not exist
    
            (in cleanup) finishing... at /usr/sbin/ncm-ncd line 466 during global destruction.
    

ncm-syslog

  • Modifications done for 0.0.10 does not work, at least under SLC4 :
                 # needed on slc3
                  if ( "$facility" eq "*" ) {
                    $facility = "\\$facility";
                  }
Gave me the following syslog.conf :
*.*     /var/log/messages
\*.*     @hlt06
 

quattor build tools

  • How can we make them work

Revision 12007-03-28 - LoicBrarda

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ManagementWiki"

ncm-diskless_server

  • Have the possibility to overwrite the dhcp template
  • Have the possibility to provide an home-made image and not run the redhat pxe tools
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback