Updating a node configuration, Deleting a node, Administration – Google Search Appliance Administrative API Developers Guide: .NET User Manual

Page 49: License information

Advertising
background image

Google Search Appliance: Administrative API Developer’s Guide: .NET

49

Updating a Node Configuration

Update the configuration of a node as follows:

// Create an entry to hold properties to update
GsaEntry updateEntry = new GsaEntry();

// Add properties to updateEntry
updateEntry.AddGsaContent("entryID", "applianceId");
updateEntry.AddGsaContent("nodeType", "PRIMARY");
updateEntry.AddGsaContent("federationNetworkIP", "10.0.0.3");
updateEntry.AddGsaContent("secretToken", "new_secret_token");
updateEntry.AddGsaContent("hostname", "new_hostname");
updateEntry.AddGsaContent("scoringBias", "20");

// Send the request
myService.UpdateEntry("federation", "applianceId", updateEntry);

Deleting a Node

Delete a node as follows:

myService.DeleteEntry("federation", "applianceId");

Administration

The sections that follow describe how to configure the Administration features of the Admin Console:

•

“License Information” on page 49

•

“Import and Export” on page 50

•

“Event Log” on page 51

•

“System Status” on page 52

•

“Shutdown or Reboot” on page 53

License Information

Retrieve license Information from the search appliance using the licenseInfo entry of the info feed.

Note: You can only license information, but not update or install a new license through this API.

Advertising