Re: Deploy Software from iMC - Device does not restart after Deployment (609 Views)
Reply
Occasional Contributor
Phil-HH
Posts: 6
Registered: ‎09-17-2013
Message 1 of 3 (666 Views)

Deploy Software from iMC - Device does not restart after Deployment

[ Edited ]

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?
Occasional Contributor
weird_harold
Posts: 7
Registered: ‎09-11-2013
Message 2 of 3 (619 Views)

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.

 

Occasional Contributor
Phil-HH
Posts: 6
Registered: ‎09-17-2013
Message 3 of 3 (609 Views)

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)

 

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.