Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

Executing a script to reboot DELL PowerConnect switch not working

$
0
0

Greetings,

 

I am trying to use the built-in job to reboot a DELL PowerConnect switch.

 

The job report as follows:


  SolarWinds Network Configuration Manager

 

  Scheduled Job Notification

___________________________________________________________________________

Job Engine: SOLAR01

  5/22/2014 12:55:07 PM : Started Reboot Job : JobDescription_9a8bb481-8640-49e5-849f-a585e9b7c601

Reboot Selected Devices

1 devices selected

IT_Test_2 (192.168.15.82):

Management switch has unsaved changes.

___________________________________________________________________________

5/22/2014 12:55:29 PM : Completed Reboot Job : JobDescription_9a8bb481-8640-49e5-849f-a585e9b7c601 ; Devices : 1 ; Errors : 0

Execution time : 22 seconds

___________________________________________________________________________

 

continuous pings to the device do not drop and the device uptime does not indicate that the device has rebooted

uptime.JPG


I believe that the job is timing out at the CLI prompt that the switch produces for unsaved changes


I have tried creating a new script that that executes CLI commands to do the same. I have issued the same commands that I use in a telnet session, but I get the following error:


When I need to do this via telnet the following are my sequence:

reboot_successful.JPG

When I run a script with the following lines:


reload

y

y

end

 

I get the following output

___________________________________________________________________________

Job Engine: SOLAR01

5/15/2014 4:12:29 PM : Started TEST_Reboot WITHOUT Saved config : JobDescription_28d5ca54-a36c-4fd3-ae3b-a029eecd57e6

Execute Command Script on Devices
1 devices selected

IT_Test_2 (192.168.15.82):

--------------
reload
--------------
Management switch has unsaved changes.

--------------
y
--------------
Are ou sure ou want to continue? (/n)
Configuration Not Saved!
Are ou sure ou want to reload the stack? (/n)

--------------
y
--------------
^
% Invalid input detected at '^' marker.

--------------
end
--------------

___________________________________________________________________________

5/15/2014 4:12:50 PM : Completed TEST_Reboot WITHOUT Saved config : JobDescription_28d5ca54-a36c-4fd3-ae3b-a029eecd57e6 ; Devices : 1 ; Errors : 0
Execution time : 21 seconds
___________________________________________________________________________

 

 

The job is experiencing an error at the second "Y" prompt. I can't understand why, since it works in the telnet session.


Also, not sure why the report returns incorrect switch prompts; Are ou sure ou want to continue instead of Are you sure you want to continue


I can execute other scripts to save configs successfully


HELP ???


Viewing all articles
Browse latest Browse all 4266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>