Introdução
Este documento descreve como você deve mudar a configuração de inicialização do ambiente de execução de Preboot (PXE) antes de uma repartição de alguma dos Nós analíticos do dispositivo do alto desempenho de SAP (HANA) quando você executa uma elevação do operating system (OS) com contudo de uma outra ferramenta de instalação (YaST) ou instala direcionadores novos do controlador da interface de rede Ethernet (ENIC) /Fabric Network Interface Controller (FNIC). A correção de programa/instalação de driver deve ocorrer em cada nó de SAP HANA.
Postprocess o procedimento
Use este procedimento quando você atualiza o OS com YaST.
- Execute a atualização de SUSE com o YaST ou a instalação de driver ENIC/FNIC.
Nota: Refira como promover documento do foco SP3 SLES/SLED 11 ao micro para detalhes sobre como promover do SP2 ao SP3.
- Copie o núcleo actualizado ao mgmtsrv de um dos Nós 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
- Entre a mgmtsrv01 a fim preparar o disco de RAM inicial (initrd) para a bota PXE e incluir os pacotes/direcionadores do Network File System (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"
- No primeiro nó de SAP HANA, assegure-se de que SAP HANA esteja parado como <SID>ADM.
(sapcontrol -nr <InstanceNumber> -function StopSystem)
- Recarregue todos os Nós de SAP HANA no núcleo novo.
Se há uns Nós adicionais de SAP HANA nesta solução, você deve executar a atualização com YaST no nó e adaptar a configuração de inicialização PXE a fim apontar mais tarde ao núcleo/initrd corretos.