[xcat-user] Bootparams table is empty

2017-11-29 Thread Russ Auld
I'm setting up a new xCAT master on a RHEL7 system.  I'm using v2.13.8.I ran copycds on the rhel7 iOS.When I run nodeset the bootparams table remains empty and there is no initrd  or kcmdline  set for the node. Dracut  then fails when the node boots. It's  set for pxe  boot and it does do that. What updates the bootparams table? --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] xCAT 2.3.18: copycds does not create centos7-x86_64-install-service osimage

2017-11-29 Thread Kilian Cavalotti
Hi Keith,

On Wed, Nov 29, 2017 at 12:52 PM, Keith Ball  wrote:
> I have installed xCAT 2.3.18 on a Centos 7.3 management node, and am using
> Postgresql as the database. I am planning to provision a service node.
>
> **However**, there is no "centos7.3-x86_64-install-service" image created!

This is a "known defect" with the CentOS templates, please see
https://github.com/xcat2/xcat-core/issues/3103 for a fix.

Cheers,
-- 
Kilian

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] xCAT 2.3.18: copycds does not create centos7-x86_64-install-service osimage

2017-11-29 Thread Keith Ball
Hi All,

I have installed xCAT 2.3.18 on a Centos 7.3 management node, and am using
Postgresql as the database. I am planning to provision a service node.

When I run "copycds CentOS-7-x86_64-Everything-1611.iso", only the
following stock osimages are created:
  centos7.3-x86_64-install-compute
  centos7.3-x86_64-netboot-compute
  centos7.3-x86_64-statelite-compute

**However**, there is no "centos7.3-x86_64-install-service" image created!

I have looked at /opt/xcat/lib/perl/xCAT/SvrUtils.pm (seems to be doing the
"heavy lifting" behind the scenes for copycds), but cannot figure out
what's keeping the "install-service" from being created. Was it removed
from xCAT for centos7 versions? (I have another xCAT cluster on centos7.3
at xCAT 2.13.7 that also did not build a service node osimage).

That being said:

1.) Any idea how I can get "copycds" (or other xcat action) to actually
build a service node osimage?

2.) If xCAT won't create the image, is there a way that I can reliable
hand-create the osimage for a service node e.g. by copying the
install-compute image and adding specific packages? (my concern here is
that xCAT and Postgresql, etc. items be propagated to the service node as
needed).

Many Thanks,
  Keith




-- 
Keith D. Ball, PhD
RedLine Performance Solutions, LLC
web:  http://www.redlineperf.com/
email: kb...@redlineperf.com 
cell: 540-557-7851
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] Local scratch for stateless compute nodes

2017-11-29 Thread Vinícius Ferrão
Wow… thank you so much Bin.

“nodeset" done the trick too. It worked on CentOS 7.4.

Just an additional note, when creating definitions with chtab the trailling 
slash on directories must be written or else a file will be created instead of 
a directory:

Mount /dev/sda2 to /.sllocal/localmnt with xfs
mount -t xfs /dev/sda2 /sysroot/.sllocal/localmnt
DEBUG: SYNCTOLOCAL=1
mkdir -p /sysroot/tmp/
mkdir -p /sysroot/.sllocal/localmnt/tmp/
mount --bind /sysroot/.sllocal/localmnt/tmp/ /sysroot/tmp/
touch /sysroot/work
touch /sysroot/.sllocal/localmnt/work
mount --bind /sysroot/.sllocal/localmnt/work /sysroot/work

After editing the lines with tabedit litefile it worked as expected.

Thanks,
V.

> On 29 Nov 2017, at 01:42, Bin XA Xu  wrote:
> 
> 'localdisk' feature is also supported for 'stateless' node in case there are 
> some special requirements to leverage the local disk.
>  
> You could check your rootfs directory for your stateless osimage, you can see 
> './etc/rc.d/init.d/localdisk' is there (it is installed from `rc.localdisk`). 
> And it will be run each time when the stateless or statelite nodes booting.
>  
> In this script, it will parse /proc/cmdline to see if containing variable 
> like PARTITION*, if yes, then it try to get the partitonfile via 
> `getpartition`
> and do the partitioning.
>  
> So, the first thing we need to check is that if you boot configuration file 
> contains variables like 'PARTITION_DOMOUNT_RH'.  If not there, maybe you miss 
> to run `nodeset` again after you change the osimage.
>  
> If the variable is there,  I think you can check the log files (/.sllocal/log 
> on CN) to see what happens on you compute node.
>  
> ```
> cat /.sllocal/log/localdisk.log
> kernel parameter key is: imgurl
> kernel parameter key is: XCAT
> kernel parameter key is: NODE
> kernel parameter key is: FC
> kernel parameter key is: LOGSERVER
> kernel parameter key is: syslog.server
> kernel parameter key is: syslog.type
> kernel parameter key is: syslog.filter
> kernel parameter key is: xcatdebugmode
> kernel parameter key is: BOOTIF
> kernel parameter key is: selinux
> kernel parameter key is: PARTITION_DOMOUNT_RH
> Run localdisk configuration
> DEBUG: XCATSERVER=[172.10.253.27:3001]; DOPART=[yes]; DOMOUNT=[yes]; OS=[rh]
> DEBUG: enable=[yes]; enablepart=[no]; disk=[0]; localspace=[0]; 
> swapspace=[0]; dev=[]; parts=[]; clear=[];
> DEBUG: enable=[yes]; enablepart=[no]; disk=[1]; localspace=[0]; 
> swapspace=[0]; dev=[/dev/sda]; parts=[10,50]; clear=[yes];
> DEBUG: enable=[yes]; enablepart=[no]; disk=[0]; localspace=[1]; 
> swapspace=[0]; dev=[/dev/sda2]; parts=[10,50]; clear=[yes];
> Mount /dev/sda2 to /.sllocal/localmnt with ext4
> mount -t ext4 /dev/sda2 /sysroot/.sllocal/localmnt
> DEBUG: enable=[yes]; enablepart=[no]; disk=[0]; localspace=[0]; 
> swapspace=[1]; dev=[/dev/sda1]; parts=[10,50]; clear=[yes];
> Create swap on /dev/sda1
>   mkswap /dev/sda1
>   swapon /dev/sda1
> DEBUG: Ignored syncing to local as flag file exists.
> DEBUG: SYNCTOLOCAL=0
> mkdir -p /sysroot/install/
> mount --bind /sysroot/.sllocal/localmnt/install/ /sysroot/install/
> mount --bind /sysroot/.sllocal/localmnt/tftpboot/ /sysroot/tftpboot/
> mkdir -p /sysroot/tmp/
> mount --bind /sysroot/.sllocal/localmnt/tmp/ /sysroot/tmp/
> mount --bind /sysroot/.sllocal/localmnt/var/log/ /sysroot/var/log/
> ```
>  
> BTW: we just test this feature on RHEL, and not try it on CentOS before.
>  
> Note:  the local space will be mounted on '/.sllocal/localmnt' and
> `litefile` here is just for re-mount the sub-directory, if you only want a 
> `scratch` directory, not required for it.
>  
> Or an easy method is to using a postscript just like 
> /install/postscripts/setupscratch
>  
> Bin Xu
> HPC Software Development
> Software Defined Infrastructure, IBM Systems
> Phone: 86-010-82454067
> E-mail: bx...@cn.ibm.com 
>  
>  
> - Original message -
> From: "Yuan Y Bai" 
> To: xcat-user@lists.sourceforge.net
> Cc: xcat-user@lists.sourceforge.net
> Subject: Re: [xcat-user] Local scratch for stateless compute nodes
> Date: Wed, Nov 29, 2017 11:00 AM
>  
> Hi Bin,
>  
> Could you help look into this issue?
>  
> Best Regards
> --
> Yuan Bai (白媛)
> 
> CSTL HPC System Management Development
> Tel:86-10-82451401
> E-mail: by...@cn.ibm.com
> Address: IBM ZGC Campus. Ring Building 28,
> ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
> Beijing P.R.China 100193
> 
> IBM环宇大厦
> 北京市海淀区东北旺西路8号,中关村软件园28号楼
> 邮编:100193
>  
>  
> - Original message -
> From: "Yuan Y Bai" 
> To: xcat-user@lists.sourceforge.net
> Cc: xcat-user@lists.sourceforge.net
> Subject: Re: [xcat-user] Local scratch for stateless compute nodes
> Date: Wed, Nov 29, 2017 10:10 AM
>  
>  
> Hi Gilad,
> Could you add an entry in policy table to permit the running of the 
> "getpartition" command from the node?
>  
> 

[xcat-user] Network Log servers and NTP servers.

2017-11-29 Thread Hakan Bayındır
Hello,

I'm slowly configuring my xCAT installation further, and want to define
log servers and NTP servers to my CNs during installation.

As far as I understood, if undefined, xCAT MN is used as NTP and log
server if none defined, however our cluster have a central log and NTP
server.

How can I add these servers in addition to the list so, the CNs have two
NTP server addresses and two log server targets?

Thanks in advance,

Hakan
-- 
*Hakan BAYINDIR*
Başuzman Araştırmacı
Ağ Teknolojileri Birimi
TÜBİTAK ULAKBİM
T.C. Bilim, Sanayi ve Teknoloji Bakanlığı (Eski Bina)
Mustafa Kemal Mahallesi Dumlupınar Bulvarı
(Eskişehir Yolu 7.Km) 2151.Cadde No:154
ODTÜ Karşısı
06510 Çankaya, ANKARA
T +90 312 298 9373
F +90 312 266 5181
www.ulakbim.gov.tr 
hakan.bayin...@tubitak.gov.tr




Sorumluluk Reddi 



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] update xCAT genesis kernel

2017-11-29 Thread Imam Toufique
Hi Zhao,

thanks for the quick reply!  So, here is another question, which I am not
sure about.  My xCAT MN is in on centOS7.4 and in my cluster, all nodes are
on centOS 6.9 .  If I build the Intel X722 10G NIC driver in centOS7 for
Genesis (in MN), would that work in centOS6.9?  I guess I will be building
the driver for centOS7, genesis kernel might be able to image the node, but
I am not sure if that node will actually work after the build is complete?
i guess the difference here is that the MN is on centos7 and my machines
are running centos 6.9.

thanks.



On Tue, Nov 28, 2017 at 6:00 PM, Er Tao Zhao  wrote:

> Hi,Iman
>
> Yes, the steps works for 2.13.7.
>
> As for your next question, since the new xCAT-genesis-base-x86_64 based on
> latest centos7 have included all the drivers build in centos7, I think the 
> Intel X722
> for 10GBASE-T NIC cards can be supported.
>
> Pls try and let me know the result, thx!
>
> Best Regards,
> ---
> Zhao Er Tao
>
> IBM China System and Technology Laboratory, Beijing
> Tel:(86-10)82450485
> Email: erta...@cn.ibm.com
> Address: 1/F, 28 Building,ZhongGuanCun Software Park,
> No.8 DongBeiWang West Road, Haidian District,
> Beijing, 100193, P.R.China
>
>
>
> - Original message -
> From: Imam Toufique 
> To: xCAT Users Mailing list 
> Cc:
> Subject: Re: [xcat-user] update xCAT genesis kernel
> Date: Tue, Nov 28, 2017 3:22 PM
>
> Hi Zhao,
>
> thanks for doing this!  I do have a few questions since I am not an expert
> in working with genesis.  ;-)
>
> the procedure of installation as you mentioned, will it work with
> xcat version 2.13.7 ?  I have xcat 2.13.7 installed now in my LAB setup, I
> am planning to upgrade very soon to version 2.13.8 .  You also mentioned
> that this update is based on version 2.13.9 .  Is 2.13.9 release coming
> soon?
>
> [root@xcatmaster x86_64]# rpm -qa |grep -i xcat
> ipmitool-xcat-1.8.18-0.x86_64
> grub2-xcat-2.02-0.16.el7.snap201506090204.noarch
> xCAT-server-2.13.7-snap201709220216.noarch
> yaboot-xcat-1.3.17-rc1.noarch
> xCAT-buildkit-2.13.7-snap201709220216.noarch
> xCAT-genesis-scripts-ppc64-2.13.7-snap201709220216.noarch
> xCAT-2.13.7-snap201709220216.x86_64
> elilo-xcat-3.14-4.noarch
> syslinux-xcat-3.86-2.noarch
> xCAT-genesis-scripts-x86_64-2.13.7-snap201709220216.noarch
> conserver-xcat-8.2.1-1.x86_64
> perl-xCAT-2.13.7-snap201709220216.noarch
> xCAT-genesis-base-x86_64-2.13.2-snap201702200120.noarch
> xCAT-client-2.13.7-snap201709220216.noarch
> xCAT-genesis-base-ppc64-2.13.6-snap201707280206.noarch
> xCAT-probe-2.13.7-snap201709220216.noarch
>
> We have some new systems with latest Intel X722 for 10GBASE-T NIC cards,
> and I would like to incorporate the drivers into genesis.  Arif has sent me
> his instructions (thanks, Arif!) , but I was wondering if you guys can add
> them to genesis with the 2.13.9 release?
>
> thanks.
>
>
> On Sun, Nov 26, 2017 at 10:43 PM, Er Tao Zhao  wrote:
>
> Hi, Arif and Imam
>
> I have generated a new xCAT-genesis-base-x86_64 based on centos7.4 x86_64
> to include all the build-in modules. It is available at
> https://xcat.org/files/xcat/xcat-dep/2.x_Linux/beta/xCAT-
> genesis-base-x86_64-2.13.9-snap201711270044.noarch.rpm
> 
> .
>
> Since the modification of "bin, lib, lib64"directory is changed from / to
> /usr/, the directly update of  xCAT-genesis-base-x86_64-2.13.9 will
> failed.
> The following steps can be use to enable the new xCAT-genesis-base at
> present:
> #rpm -e xCAT-genesis-scripts-x86_64 xCAT-genesis-base-x86_64 --nodeps
> #rpm -ivh xCAT-genesis-base-x86_64-2.13.9-snap201711270044.noarch.rpm
> #yum install xCAT-genesis-scripts-x86_64
> #mknb x86_64
>
> We are still working on the package updating problem, will let you know
> the progress.
> Thx!
> Best Regards,
> ---
> Zhao Er Tao
>
> IBM China System and Technology Laboratory, Beijing
> Tel:(86-10)82450485
> Email: erta...@cn.ibm.com
> Address: 1/F, 28 Building,ZhongGuanCun Software Park,
> No.8 DongBeiWang West Road, Haidian District,
> Beijing, 100193, P.R.China
>
>
>
> - Original message -
> From: Arif Ali 
> To: xcat-user@lists.sourceforge.net
> Cc:
> Subject: Re: [xcat-user] update xCAT genesis kernel
> Date: Thu, Nov 23, 2017 12:49 AM
>
>
> Hi Imam,
>
> I have not found any docs on this, and maybe hidden in some of the
> issuess/PR, but this is how I do it
>
> Have a CentOS 7 physical or Virtual machine, I then went through this
> process
>
>
>
> yum install 

[xcat-user] software RAID SETUP -- best practices?

2017-11-29 Thread Imam Toufique
Hi,

I need to start understanding how software  RAID setup works with xcat (in
centOS 6) , although it is not my favorite topic. :) . I have 2 disks that
I would like to setup RAID1 with.

I see there is a script that can help set up to do RAID1, it is here:

wget 
https://raw.githubusercontent.com/xcat2/xcat-extensions/master/partition/raid1_rh.sh
\
 -O /install/custom/partition/raid1_rh.sh

Is the above script good enough to setup RAID1 or should I look at the
template file?
the template file has something like this:

#Full RAID 1 Sample
#part raid.01 --size 50 --ondisk sda
#part raid.02 --size 50 --ondisk sdb
#raid /boot --level 1 --device md0 raid.01 raid.02
#

What is the best way to do this?  Can you share some thoughts or your
best practices?

thanks.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user