Hello,
Accordingly to the documentation they are different on a specific way:
. Stateless: nodes boot from a RAMdisk OS image downloaded from the xCAT mgmt
node or service node at boot time.
. Statelite: nodes boot from an NFS-root diskless OS image.
And both support local disk for different purposes, what we are targeting are
local disks just for scratch and swap. They will not handle any state, and this
is perfectly supported as said on the documentation.
Here’s the documentation:
https://sourceforge.net/p/xcat/wiki/XCAT_Overview,_Architecture,_and_Planning/#xcat-cluster-node-types
Thanks,
V.
Sent from my iPhone
> On 27 Nov 2017, at 12:50, Russ Auld <[email protected]> wrote:
>
> If you're using netboot and local disk, then isn't that "statelite"?
> Do the satellite instructions not work?
>
> On Nov 27, 2017 9:26 AM, Gilad Berman <[email protected]> wrote:
> All,
>
>
>
> I would like to join this question –
>
> Does even localdisk works with stateless? From the docs it seems that should
> be supported (because it is under stateless), however –
>
> - the instructions are taken from statelite and refer to statelite
> code (litefile)
>
> - The rc.localdisk code is under statelite
>
> - In the linuximage man – “Partitionfile - Only available for diskful
> osimages and statelite osimages(localdisk enabled)“
>
>
>
> A very quick trial on my statless nodes results in nothing J, it seems there
> is simply no reference to localdisk with stateless.
>
>
>
> So, can someone please help clarify it?
>
>
>
> ** as always, there is a chance I missed something very basic and it should
> be working J
>
>
>
> THX in advance!
>
>
>
>
>
> Gilad Berman
> HPC Architect
> Lenovo EMEA
>
> +972-52-2554262
> [email protected]
>
>
>
> Lenovo.com
> Twitter | Facebook | Instagram | Blogs | Forums
>
>
>
>
>
>
>
> From: Vinícius Ferrão [mailto:[email protected]]
> Sent: Wednesday, November 22, 2017 4:09 AM
> To: [email protected]
> Subject: [xcat-user] Local scratch for stateless compute nodes
>
>
>
> Hello,
>
>
>
> I would like to enable swap and local /tmp on my stateless nodes, but after
> following the documentation on the following link nothing appears to work:
>
> http://xcat-docs.readthedocs.io/en/stable/advanced/hierarchy/provision/diskless_sn.html
>
>
>
> I’m aware that the documentation is for service nodes and not for compute
> nodes, but I was thinking the procedure would be similar.
>
>
>
> At this point I’m with this settings on osimage:
>
> [root@headnode xcat]# lsdef -t osimage centos7.4-x86_64-netboot-compute
> exlist=/opt/xcat/share/xcat/netboot/centos/compute.centos7.exlist
> imagetype=linux
> osarch=x86_64
> osdistroname=centos7.4-x86_64
> osname=Linux
> osvers=centos7.4
> otherpkgdir=/install/post/otherpkgs/centos7.4/x86_64
>
> ****
> partitionfile=/install/custom/netboot/centos7.4-x86_64-netboot-compute/partitionfile
>
> permission=755
> pkgdir=/install/centos7.4/x86_64
> pkglist=/opt/xcat/share/xcat/netboot/centos/compute.centos7.pkglist
>
> postinstall=/opt/xcat/share/xcat/netboot/centos/compute.centos7.postinstall
> profile=compute
> provmethod=netboot
> rootimgdir=/install/netboot/centos7.4/x86_64/compute
> synclists=/install/custom/netboot/compute.synclist
>
>
>
> And the content of the partition file is the following:
>
> cat /install/custom/netboot/centos7.4-x86_64-netboot-compute/partitionfile
> enable=yes
> enablepart=yes
>
> [disk]
> dev=/dev/sda
> clear=yes
> parts=10,90
>
> [swapspace]
> dev=/dev/sda1
>
> [localspace]
> dev=/dev/sda2
> fstype=xfs
>
>
>
> Finally the following commands were executed:
>
> chtab priority=7.1 policy.commands=getpartition policy.rule=allow
>
> chtab litefile.image=centos7.4-x86_64-netboot-compute litefile.file=/var/log/
> litefile.options=localdisk
>
> chtab litefile.image=centos7.4-x86_64-netboot-compute litefile.file=/tmp/
> litefile.options=localdisk
>
>
>
> After a new genimage/packimage the local scratch does not appears to be made
> nor working.
>
>
>
> Someone knows what to do next?
>
>
>
> Thanks,
>
> V.
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user