1748163 Members
3784 Online
108758 Solutions
New Discussion

Re: Deploy Software from iMC - Device does not restart after Deployment

 
Phil-HH
Occasional Contributor

Deploy Software from iMC - Device does not restart after Deployment

I wanted to deploy a new Software to a HP 5412zl Switch and the Deployment task finished successfully.

 
Although "Restart Device after Deployment" was selected the Device didnt reboot. 
 
Does anybody know something about this problem or can say where the script of the Deployment task is saved on the imc Server?
2 REPLIES 2
weird_harold
Occasional Contributor

Re: Deploy Software from iMC - Device does not restart after Deployment

Hi phil,


Just out of curiosity....does the switch have an incorrect time when it doesn't reboot automatically? I've been troubleshooting a similar issue on one of my switches.

For example:

 

my 2910al

 

on SW v.14 - SNTP does not work properly so the time is incorrect. I need to manually restart it for the software to update.

on SW v.15 - SNTP works properly and the time is correct. If I push software to it again it will automatically restart.

 

Just something I noticed. I do have a call into HP on it and will let you know if I find anything else.

 

Phil-HH
Occasional Contributor

Re: Deploy Software from iMC - Device does not restart after Deployment

Hi,

 

thanks for your Reply.

 

The problem occurs since the update. It seems that the reload script has changed.

 

if {$enforce_save == "true"} {
	save
}

sleep 10
send "reload\r"
expect {
    "y/n" {
        send "y\r"
    } "cannot reload" {
    	set ERROR_RESULT  true
    	set ERROR_MESSAGE "cannot reload."
    	return
    }
}

expect {
    "y/n" {
       send "y\r"
    } "cannot reload" {
    	set ERROR_RESULT  true
    	set ERROR_MESSAGE "cannot reload."
    	return
    } "save current" {
        send "n\r"
	} "Rebooting the System" {
	}
}
		
close

 

 

 

 

if {$enforce_save == "true"} {
    save
}

sleep 10

send "reload\r"
expect "y/n" 
send "y\r"
expect {
    "y/n" {
       send "y\r"
    } "save current" {
        send "n"
    } "Rebooting the System" {
    }
}
        
close

 

The last script is from iMC PLAT 5.2 (E0401P05) (now in use)