Introduction
Ce document décrit comment vous devez changer la configuration de démarrage de l'environnement d'exécution de Preboot (PXE) avant une réinitialisation des Noeuds analyses d'appareils de hautes performances l'unes des de SAP (HANA) quand vous exécutez une mise à jour du système d'exploitation (de SYSTÈME D'EXPLOITATION) avec encore un autre outil d'installation (YaST) ou installez de nouveaux gestionnaires du contrôleur d'interface réseau du contrôleur d'interface de réseau Ethernet (ENIC) /Fabric (FNIC). Le correctif/installation de pilote doit avoir lieu sur chaque noeud de SAP HANA.
Post-traitez la procédure
Utilisez cette procédure quand vous mettez à jour le SYSTÈME D'EXPLOITATION avec YaST.
- Exécutez la mise à jour de SUSE avec YaST ou l'installation de pilote ENIC/FNIC.
Remarque: Référez-vous le comment améliorer au document micro du foyer SP3 SLES/SLED 11 pour des informations sur la façon améliorer du SP2 à SP3.
- Copiez le noyau mis à jour sur le mgmtsrv d'un des Noeuds de SAP HANA.
server01 # cd /boot
# Prepare initrd for the PXEBoot and include the nfs packages/drivers
mkinitrd -f nfs -D eth0
# Copy the initrd and vmlinuz to the tftpboot directory of the mgmtsrv
server01 # scp initrd-3.0.101-0.31-default mgmtsrv01:/tftpboot
server01 # scp vmlinuz-3.0.101-0.31-default mgmtsrv01:/tftpboot
- Login à mgmtsrv01 afin de préparer le disque virtuel initial (initrd) pour le démarrage PXE et inclure les modules/gestionnaires de Systèmes de fichiers en réseau (NFS) :
# Check the new run_all.sh script is available (attached to this article as well)
ll /tftboot/tmp/run_all.sh
# Change the initrd
cd /tftpboot
mkdir /tftpboot/tmp2
cp initrd-3.0.101-0.31-default /tftpboot/tmp2/
cd /tftpboot/tmp2
mv initrd-3.0.101-0.31-default initrd-3.0.101-0.31-default.gz
gunzip initrd-3.0.101-0.31-default.gz
# Now the initrd is in a CPIO format
cpio -idumf < initrd-3.0.101-0.31-default
rm initrd-3.0.101-0.31-default
# Udev files needs to be empty to avoid issues running different nodes with
that initrd
# During the kernel creation it captures all MAC addresses and align them to
the addresses in the UDEV rules file, so we empty the file before.
# During restart every server will create its own persistent-net rules again.
echo > etc/udev/rules.d/70-persistent-net.rules
# Copy the run_all script generic to all versions of the kernel
cp ../tmp/run_all.sh .
find . | cpio --create --format="newc" > ../initrd-3.0.101-0.31-default
cd ..
gzip -9 initrd-3.0.101-0.31-default
mv initrd-3.0.101-0.31-default.gz initrd-3.0.101-0.31-default
# For simplification …
ln -s ./initrd-3.0.101-0.31-default initrd_3.0.101
ln -s ./vmlinuz-3.0.101-0.31-default kernel_3.0.101
# Now prepare the PXE boot configuration
cd /tftpboot/pxelinux.cfg
vi <hostname|IP address>
# If there is no link available you can check with the command "gethostip
server01"
copy the current SLES11_SP2 (or Default) section and adapt the values for default
and LABEL as well as the kernel and initrd links
# SAP UCS PXE Boot Definition
display ../boot.msg
default SLES11_SP3_101
prompt 1
timeout 10
LABEL SLES11_SP3_101
KERNEL kernel_3.0.101
APPEND initrd=initrd_3.0.101 rw rootdev=192.168.xx.xx:/FS_OS_01/SLES11SP3
intel_idle.max_cstate=0 processor.max_cstate=0 ip=dhcp
OS_VOLUME="FS_OS_01/SLES4SAPSP3" MAC="00:25:B5:12:00:FF" OS_SERVER="192.168.127.11"
- Sur le premier noeud de SAP HANA, assurez-vous que SAP HANA est arrêté comme <SID>ADM.
(sapcontrol -nr <InstanceNumber> -function StopSystem)
- Redémarrez tous les Noeuds de SAP HANA dans le nouveau noyau.
S'il y a les Noeuds supplémentaires de SAP HANA dans cette solution, vous devez exécuter la mise à jour par YaST sur le noeud et adapter la configuration de démarrage PXE afin d'indiquer le noyau/initrd corrects après.