Hi, 

I'm wondering why you didn't use mknimimage to create esus?    It's fine 
to specify your lpp_source as the "source" when you run the command. 

It seems like your esus osimage definition is missing a spot?

Another thing I noticed is that your node def had "profile=esus"   but the 
"provmethod=esus" was not set.    The provmethod value is required. Not 
sure, but that could be causing your problems.

Once you have a complete osimage definition that includes your lpp_source, 
and you've set the provmethod value, then nimnodeset should push those 
resources to the service nodes as needed.

Norm


Norman Nott
AIX & Linux Cluster Development - xCAT
2455 South Road
Poughkeepsie, NY 12601-5400
Phone: (845) 433-7697 / 293-7697 (Tie-Line)
[email protected]

"Don't worry - be happy - use xCAT!"



From:   Petr Gansel <[email protected]>
To:     [email protected], 
Date:   09/06/2012 05:17 AM
Subject:        [xcat-user] AIX Hierarchical Cluster copy problem



Hello,
after setting up Hierarchical Cluster I'm facing problem with copying 
filesets to SN nodes.
version on MN and SN is:
lsxcatd -v
Version 2.7.4 (svn r13602, built Thu Aug 23 22:42:11 EDT 2012)

I have my own lpp_source on NIM master with custom filesets. This 
lpp_source was not build with mknimimage script. (But i'm facing the same 
problem with other osimage created with mknimimage)
Defined SN and CN.

list of xCAT definitions on MN:
# lsdef XXXXmtr05
Object name: XXXXmtr05
    cons=hmc
    groups=lpar,all
    hcp=XXXXhmcp6
    hwtype=lpar
    id=62
    installnic=0
    mgt=hmc
    nodetype=ppc,osi
    parent=XXXX
 
postscripts=aixremoteshell,otherpkgs,syncfiles,setupntp,confignimsh,es_copy_dsa_key
    pprofile=Normal
    profile=esus
    servicenode=XXXXnimwint
    xcatmaster=XXXXnimwint

# lsdef -t osimage esus
Object name: esus
    imagetype=NIM
    lpp_source=esus_lpp_source
    nimmethod=rte
    nimtype=standalone
    osname=AIX

# lsnim -l esus_lpp_source
esus_lpp_source:
   class       = resources
   type        = lpp_source
   arch        = power
   Rstate      = ready for use
   prev_state  = unavailable for use
   nfs_vers    = 4
   location    = /install/nim/lpp_source/esus_lpp_source
   alloc_count = 0
   server      = master

# nim -o showres esus_lpp_source
  Fileset Name                Level                     I/U Q Content 
  ====================================================================
  esus.amant.core             1.1.0.6                    I  N usr,root 
#   E-SYS AMANT core 

  esus.amant.backupos.clnt    1.1.0.1                    I  N usr,root 
#   Enterprise Systems backup client 

  esus.perl.man               1.0.0.0                    I  N usr 
#   E-SYS Perl man 

  esus.perl.rte               1.1.0.0                    I  N usr 
#   E-SYS Perl 



Becasue I didn't find any way how to push custom lpp_source to SN I pushed 
this lpp_source location to SN and created the same lpp_sources on SN NIM.
nimnodeset is unusable with allready running and installed CN and custom 
lpp_source = must deallocate resources on SN NIM. It would be nice to have 
this functionality to sync NIMs resources to SN oe am I missing something?



after using command updatenode:
#updatenode XXXXmtr05 -V -S 
installp_bundle="amant_bnd,amant_backupos_clnt_bnd" installp_flags="-apXY"

Error: Could not copy I:esus.perl.rte to XXXXnimwint.

Error: Could not copy I:esus.amant.core to XXXXnimwint.

Error: Could not copy I:esus.amant.backupos.clnt to XXXXnimwint.

Running command on XXXXcsm: /usr/sbin/lsnim -a location -Z esus_lpp_source 
2>/dev/null 2>&1

Running command on XXXXcsm: /usr/sbin/lsnim -a location -Z amant_bnd 
2>/dev/null 2>&1

Running command on XXXXcsm: cat /install/nim/installp_bundle/amant.bnd 
2>&1

Running command on XXXXcsm: /usr/sbin/lsnim -a location -Z 
amant_backupos_clnt_bnd 2>/dev/null 2>&1

Running command on XXXXcsm: cat 
/install/nim/installp_bundle/amant_backupos_clnt.bnd 2>&1

Running internal xCAT command: xdsh ... 

Running command on XXXXcsm: /bin/hostname 2>&1

Running command on XXXXcsm: ifconfig -a| grep "inet" 2>&1

Running internal xCAT command: xdsh ... 

Running command on XXXXcsm: /bin/hostname 2>&1

Running command on XXXXcsm: ifconfig -a| grep "inet" 2>&1

Copying files to XXXXnimwint.

Running internal xCAT command: xdcp ... 
   
Running command on XXXXcsm: /bin/hostname 2>&1       
   
Running command on XXXXcsm: ifconfig -a| grep "inet" 2>&1              
   
Copying files to XXXXnimwint.     
   
Running internal xCAT command: xdcp ...      
   
Running command on XXXXcsm: /bin/hostname 2>&1       
   
Running command on XXXXcsm: ifconfig -a| grep "inet" 2>&1              
   
Copying files to XXXXnimwint.     
   
Running internal xCAT command: xdcp ...      
   
Running command on XXXXcsm: /bin/hostname 2>&1       
   
Running command on XXXXcsm: ifconfig -a| grep "inet" 2>&1              
   
Running command on XXXXcsm: /bin/hostname 2>&1       
   
Running command on XXXXcsm: ifconfig -a| grep "inet" 2>&1              
   
Performing software maintenance operations. This could take a while.       
  
   
Running command on XXXXnimwint: cp /tmp/installp_file-1346921123 
/install/nim/lpp_source/esus_lpp_source; chmod 444 
//install/nim/lpp_source/esus_lpp_source/installp_file-1346921123 2>&1

Running command on XXXXnimwint: exportfs -i -o vers=4 
/install/nim/lpp_source/esus_lpp_source 2>&1

Running command on XXXXnimwint: /bin/chmod -R +r 
/install/nim/lpp_source/esus_lpp_source 2>&1

Running command: mkdir -m 644 -p /xcatmnt; mount -o vers=4 
XXXXnimwint:/install/nim/lpp_source/esus_lpp_source /xcatmnt

Running internal xCAT command: xdsh ... 

Running command on XXXXnimwint: /bin/hostname 2>&1

Running command on XXXXnimwint: ifconfig -a| grep "inet" 2>&1

Running: '/usr/sbin/installp -d /xcatmnt/installp/ppc  -apXY -f 
/xcatmnt/installp_file-1346921123'.

Running internal xCAT command: xdsh ... 

Running command on XXXXnimwint: /bin/hostname 2>&1

Running command on XXXXnimwint: ifconfig -a| grep "inet" 2>&1

XXXXmtr05: WARNINGS
XXXXmtr05: --------
XXXXmtr05:   Problems described in this section are not likely to be the 
source of any
XXXXmtr05:   immediate or serious failures, but further actions may be 
necessary or
XXXXmtr05:   desired.
XXXXmtr05: 
XXXXmtr05: 
XXXXmtr05:   NOTE:  Base level filesets may be reinstalled using the 
"Force"
XXXXmtr05:   option (-F flag), or they may be removed, using the deinstall 
or
XXXXmtr05:   "Remove Software Products" facility (-u flag), and then 
reinstalled.
XXXXmtr05: 
XXXXmtr05:   << End of Warning Section >>

XXXXmtr05: 
*******************************************************************************
XXXXmtr05: installp PREVIEW:  installation will not actually occur.
XXXXmtr05: 
*******************************************************************************
XXXXmtr05: 
+-----------------------------------------------------------------------------+
XXXXmtr05:                  Pre-installation Verification...
XXXXmtr05: 
+-----------------------------------------------------------------------------+
XXXXmtr05: Verifying selections...done
XXXXmtr05: Verifying requisites...done
XXXXmtr05: Results...
XXXXmtr05:   Already Installed
XXXXmtr05:   -----------------
XXXXmtr05:   The following filesets which you selected are either already 
installed
XXXXmtr05:   or effectively installed through superseding filesets.
XXXXmtr05: 
XXXXmtr05:     esus.perl.rte 1.1.0.0                     # E-SYS Perl
XXXXmtr05:     esus.amant.core 1.1.0.6                   # E-SYS AMANT 
core
XXXXmtr05:     esus.amant.backupos.clnt 1.1.0.1          # Enterprise 
Systems backup cl...
XXXXmtr05: 
XXXXmtr05: 
+-----------------------------------------------------------------------------+
XXXXmtr05:                 BUILDDATE Verification ...
XXXXmtr05: 
+-----------------------------------------------------------------------------+
XXXXmtr05: Verifying build dates...done
XXXXmtr05: FILESET STATISTICS 
XXXXmtr05: ------------------
XXXXmtr05:     3  Selected to be installed, of which:
XXXXmtr05:         3  Already installed (directly or via superseding 
filesets)
XXXXmtr05:   ----
XXXXmtr05:     0  Total to be installed
XXXXmtr05: 
******************************************************************************
XXXXmtr05: End of installp PREVIEW.  No apply operation has actually 
occurred.
XXXXmtr05: 
******************************************************************************
Running command: /usr/sbin/updtvpkg

Running internal xCAT command: xdsh ... 

Running command on XXXXnimwint: /bin/hostname 2>&1

Running command on XXXXnimwint: ifconfig -a| grep "inet" 2>&1

Running command: umount -f /xcatmnt

Running internal xCAT command: xdsh ... 

Running command on XXXXnimwint: /bin/hostname 2>&1

Running command on XXXXnimwint: ifconfig -a| grep "inet" 2>&1

Running command on XXXXnimwint: rm -f 
/install/nim/lpp_source/esus_lpp_source/installp_file-1346921123; rm -f 
/tmp/installp_file-1346921123 2>&1

Running command on XXXXnimwint: exportfs -u -F 
/install/nim/lpp_source/esus_lpp_source 2>&1

Cluster node software update commands have completed successfully.


might be hint? I did some hook in xdsh.pm in fuctions xdcp and xdsh I saw 
emtpy noderanges and only one source path ...
---XDSH---
nodes='ARRAY(0x212d2b88)'; args='ARRAY(0x212d2028)'; command='xdsh'; 
noderange=''
args:
-s /usr/sbin/lsnim -l esus_lpp_source 2>/dev/null
nodes:
XXXXnimwext

---XDSH---
nodes='ARRAY(0x215f0df8)'; args='ARRAY(0x215e2a98)'; command='xdsh'; 
noderange=''
args:
-s /usr/bin/mkdir -p /install/nim/lpp_source/esus_lpp_source/RPMS/ppc; 
chmod 777 /install/nim/lpp_source/esus_lpp_source/RPMS/ppc; /usr/bin/mkdir 
-p /install/nim/lpp_source/esus_lpp_source/installp/ppc; chmod 777 
/install/nim/lpp_source/esus_lpp_source/installp/ppc; /usr/bin/mkdir -p 
/install/nim/lpp_source/esus_lpp_source/emgr/ppc; chmod 777 
/install/nim/lpp_source/esus_lpp_source/emgr/ppc
nodes:
XXXXnimwext

---PREXDSH---
snkey='XXXXnimwext'; rcpargs='ARRAY(0x212d2028)'; 
subreq='CODE(0x20eeaba8)';


---XDCP---
nodes='ARRAY(0x212d2b88)'; args='ARRAY(0x212d2028)'; command='xdcp'; 
noderange=''
args:
 /install/nim/lpp_source/esus_lpp_source/installp/ppc
nodes:
XXXXnimwext



Can anyone help me to solve this issue?

Thank you.

Petr Gansel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to