On 02/10/2016 07:34 AM, Xiao Peng Wang wrote:
> welcome to use xcat.

Thanks for your answer (and sorry for the duplicate post : exchange made 
me do it and I'm more a postfix/dovecot guy ;-)).


>      1. You are right, all the issues you mentioned are caused by the 
> installing rpm packages through chroot. Usually, two most general failures: 
> 1. System directories like /proc, /sys, /dev are not mounted in chroot
>      Xcat's common way is to do the mount in the chroot before installing 
> pkgs.

You mean xcat, while in genimage, does mount /proc, /sys and /dev and 
then unmount them ? Are those bind mounts ? Why then would I still have 
the cat: /proc/cmdline: No such file or directory error ?


>     Or nodeset command supports to set multiple tasks in one invoke.

Can you show me how it would be done with nodeset (what syntax) to do 
the same as in :

"compute",,,"runcmd=bmcsetup,osimage=centos6.7-x86_64-netboot-compute",,,

which was set via tabedit or chtab ? I think my trials failed.


> There are two ways to get mypostscript, pre creates during nodeset (cfg 
> through site table), then the mypostscript can be downloaded by wget.

You mean something as to be put in 'site' in order to prebuild 
mypostscript : what exactly ? Does it has something to do with the 
mypostscript.tmpl mechanism described in the doc ?

> If wget failed, it will call get postscript.awk.

I saw that but still it seems that *after* getpostscript.awk, 
mypostscript was again (over)written with the run_ps code snippet.
Why ?

>      Genimage and packimage won't call postscrips.

Even the ospkgs and otherpkgs postscript ? Or the syncfiles scripts ? I 
thought that was the mechanism rpms were installed in the chroot or 
files to sync where put in the image.

It would make sense since both are properties of the osimage object.


>      Postscrips are used to perform the customization for each node, so can't 
> do it in genimage.

It makes sense indeed.

>      For diskless, pkgs and otherpkgs won't do anything.

You mean because rpms are already inside the image, right ? If I add 
some rpm in the pkglist and run updatenode -S, the ospkgs script will be 
run again on the live node, won't it ?

>      4. For groups, xcat does not support to have two groups have same 
> attributes for one node. If having two, only attribute from one group will be 
> selected.

Can we predict which one ? First match as listed in a tabdump ?
But I understand we're not supposed to have overlapping groups.

Thanks again for your time.

--
Thomas HUMMEL


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to