Shutdown or reboot, Shutting down or rebooting – Google Search Appliance Administrative API Developers Guide: .NET User Manual
Page 53
Advertising
Google Search Appliance: Administrative API Developer’s Guide: .NET
53
Shutdown or Reboot
Shut down or reboot the search appliance.
Shutting Down or Rebooting
Shut down or reboot the search appliance as follows:
// Create an entry to hold properties to update
GsaEntry updateEntry = new GsaEntry();
// Add a property to updateEntry
updateEntry.AddGsaContent("command", "reboot");
myService.UpdateEntry("command", "shutdown", updateEntry);
Property
Description
command
Command sent to the search appliance. The command can be
shutdown or reboot.
runningStatus
Indicates the search appliance status:
•
shuttingDown: If you sent the shutdown command.
•
rebooting: If you sent the reboot command.
•
running: If the search appliance is operating normally.
Advertising