-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xcat on Centos 7.6.1810 - how to set the latest kernel to run on compute nodes #6014
Comments
@pcmc Hi Peter, welcome, this is the correct place.. For example:
It does improve readability. @immarvin Do you have any ideas here? This seems strange that the compute nodes didn't pull down the same image at the master.. |
hi @pcmc ,2 questions for your:
Since for diskless, the boot procedure is totally different with Diskfull node, the kernel and initrd under
|
Hi @pcmc , |
Hello all, Thanks a lot for all your replies. It is quite possible that I have missed some important steps.
The result is that the compute nodes are still running the old kernel (3.10.0-957.). I have looked into the web link you sent me. But the new kernel and the associated packages are sourced from the Centos distribution site. But given the working folder /install/netboot/centos7.6/x86_64/compute/rootimg Many thanks for your advice again. Regards, |
hi @pcmc , yes, 1 issue I can find in your step is that I suggest you follow the steps in xCAT Doc |
Dear all, Thanks a lot for all the advice. Just an update that as suggested, by following the instructions given in Below are the extra steps required essentially. Petermkdir -p /install/kernel/3.10.0-957.5.1 yumdownloader kernel-3.10.0-957.5.1 createrepo /install/kernels/3.10.0-957.5.1 chdef -t osimage centos7.6-x86_64-netboot-compute -p pkgdir=/install/kernels/3.10.0-957.5.1 cd /opt/xcat/share/xcat/netboot/centos packimage centos7.6-x86_64-netboot-compute nodeset compute osimage=centos7.6-x86_64-netboot-compute rsync -av /install/netboot/centos7.6/x86_64/compute/{kernel,initrd-stateless.gz} /tftpboot/xcat/netboot/centos7.6/x86_64/compute/ chmod 644 /tftpboot/xcat/netboot/centos7.6/x86_64/compute/initrd-stateless.gz /tftpboot/xcat/netboot/centos7.6/x86_64/compute/kernel |
is it ok to close this? @pcmc |
Yes, it is. Thanks, Yangsong.
Peter
From: yangsong <notifications@github.com>
Sent: 11 March 2019 02:24
To: xcat2/xcat-core <xcat-core@noreply.github.com>
Cc: Chiu, Peter (STFC,RAL,RALSP) <peter.chiu@stfc.ac.uk>; Mention <mention@noreply.github.com>
Subject: Re: [xcat2/xcat-core] xcat on Centos 7.6.1810 - how to set the latest kernel to run on compute nodes (#6014)
is it ok to close this? @pcmc<https://github.com/pcmc>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#6014 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHKlcAmGPVUHlwbIhTQfQ80p1OTgLcJzks5vVb5bgaJpZM4bFDxq>.
|
Hello all,
Not sure if this is the right place to post this question, please redirect me if not.
I have some success in installing xcat on a small cluster running Centos 7.6.1810.
The compute nodes seem to start up okay.
After updating the kernel on the master, and subsequently on the compute nodes,
I re-run the genimage, packimage, and nodeset, and rebooted the compute nodes.
But they all run with the first kenel.
Below are the steps involved.
Any idea how to find out what I have missed and/or done wrong?
Many thanks.
Peter
Steps taken:
[root@main ~]# # genimage -i eth0 -n dca,ixgbe,igb,e1000e,e1000,forcedeth,tg3 -o centos7.6 -p compute 2>&1 | tee -a /tmp/genimage.log
[root@main ~]# packimage centos7.6-x86_64-netboot-compute 2>&1 | tee -a /tmp/genimage.log
Packing contents of /install/netboot/centos7.6/x86_64/compute/rootimg
archive method:cpio
compress method:gzip
[root@main ~]# nodeset compute osimage=centos7.6-x86_64-netboot-compute 2>&1 | tee -a /tmp/genimage.log
proc01: netboot centos7.6-x86_64-compute
proc02: netboot centos7.6-x86_64-compute
proc03: netboot centos7.6-x86_64-compute
proc04: netboot centos7.6-x86_64-compute
[root@main ~]#
[root@main rootimg]# ls /install/netboot/centos7.6/x86_64/compute/rootimg/boot/
config-3.10.0-957.5.1.el7.x86_64 symvers-3.10.0-957.el7.x86_64.gz
config-3.10.0-957.el7.x86_64 System.map-3.10.0-957.5.1.el7.x86_64
initramfs-3.10.0-957.5.1.el7.x86_64.img System.map-3.10.0-957.el7.x86_64
initramfs-3.10.0-957.el7.x86_64.img vmlinuz-3.10.0-957.5.1.el7.x86_64
symvers-3.10.0-957.5.1.el7.x86_64.gz vmlinuz-3.10.0-957.el7.x86_64
[root@main rootimg]#
[root@main rootimg]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
[root@main rootimg]#
[root@main rootimg]# uname -r
3.10.0-957.5.1.el7.x86_64 <---- the master node is running the latest kernel
[root@proc01 ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
[root@proc01 ~]# uname -r
3.10.0-957.el7.x86_64 <---- the compute node is running the old kernel after reboot
[root@proc01 ~]# ls /boot
ls: cannot access /boot: No such file or directory <-- no /boot folder on the compute node.
The text was updated successfully, but these errors were encountered: