ONTAP Discussions

changing boot options of a 7-mode filer

saranraj456
5,798 Views

Hello Guys,

 

We did a ontap upgrade version from 8.2.3p3  to 8.2.4 p4 , post upgrade one of the filer is not booted up with the upgraded version . The boot_backup option worked with the newer firmware

 

I suspect the problem could be on the boot parameters , below are the parameters

 

LOADER-B> printenv

Variable Name Value
-------------------- --------------------------------------------------
CPU_NUM_CORES 4
BOOT_CONSOLE sp0a
BIOS_VERSION 8.3.0
BIOS_DATE 04/08/2014
SYS_MODEL FAS2240-2
SYS_REV D2
SYS_SERIAL_NUM 600000343200
MOBO_MODEL FAS
MOBO_REV D2
MOBO_SERIAL_NUM 9430750215
CPU_SPEED 1730
CPU_TYPE Intel(R) Xeon(R) CPU C3528 @ 1.73GHz
savenv saveenv
ENV_VERSION 1
LOADER_VERSION 4.3
ARCH X86_64
BOARDNAME SB_XIX
PRIMARY_KERNEL_URL fat://boot0/X86_64/kernel/primary.krn
BACKUP_KERNEL_URL fat://boot0/backup/X86_64/kernel/primary.krn
GX_DIAG_URL fat://boot0/X86_64/freebsd/image2/kernel
ntap.init.kernelname X86_64/freebsd/image2/kernel
FIRMWARE_URL fat://boot0/X86_64/firmware/SB_XIX/firmware.img
BIOS_INTERFACE 9FC3
BOOT_FLASH flash0a
GX_PRIMARY_KERNEL_URL fat://boot0/X86_64/freebsd/image2/kernel
GX_BACKUP_KERNEL_URL fat://boot0/X86_64/freebsd/image1/kernel
boot_ontap autoboot boot0
boot_primary setenv BOOTED_FROM PRIMARY; boot -elf64 $GX_PRIMARY_KERNEL_URL $PRIMARY_KERNEL_URL
boot_backup setenv BOOTED_FROM BACKUP; boot -elf64 $GX_BACKUP_KERNEL_URL $BACKUP_KERNEL_URL
netboot setenv BOOTED_FROM NETWORK; boot -elf64
boot_diags boot -sld -elf64 $GX_DIAG_URL $PRIMARY_KERNEL_URL
ldkern load -elf64 $GX_PRIMARY_KERNEL_URL $PRIMARY_KERNEL_URL
update_flash flash -backup $FIRMWARE_URL flash0a
version printenv BIOS_VERSION LOADER_VERSION
BT_BIOS_VERSION 8.3.0
BT_LOADER_VERSION 4.3
AUTOBOOT true
AUTOBOOT_FROM PRIMARY
AUTO_FW_UPDATE true
USE_SECONDARY true

 

i am not quite sure on how to change the parameters ?

 

Thanks

Saran

8 REPLIES 8

Naveenpusuluru
5,796 Views

Hi @saranraj456

 

Use the below command

 

setenv AUTOBOOT true

 

boot_primary

JGPSHNTAP
5,786 Views

I assume you mean a different version of 8.2, b/c there is no 8.3 7-mode

Naveenpusuluru
5,771 Views

Hi @saranraj456

 

What @JGPSHNTAP told is right. There is no 7-mode on 8.3. From 8.3 the only version is c-mode.

Naveenpusuluru
5,782 Views

please paste the command out put of

 

version -b

saranraj456
5,710 Views

Apologie . These are the versions

 

Current Version : 8.2.3P3 7-Mode

 

Target Version : 8.2.4P4 7-Mode

 

so, does set autoboot true will fix this 

aborzenkov
5,699 Views

Autoboot is already set to true, but apparently default image was not set to new version. This is usually indication of not perorming clean shutdown during update. I would suggest doing update once more and carefully following procedure in this case, in particular, make sure to perform clean shutdown or takeover after installing new version.

saranraj456
5,667 Views

we tried a upgrade twice even with clean shut down & failover  , however the error indicates to do a clean shutdown. Not sure what else can be done.

Naveenpusuluru
5,651 Views

Hi @saranraj456

 

Can you please post output of below command.

 

version -b

Public