Updating a node configuration, Deleting a node, Administration – Google Search Appliance Administrative API Developers Guide: Java User Manual
Page 50: License information

Google Search Appliance: Administrative API Developer’s Guide: Java
50
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
myClient.updateEntry("federation", "applianceId", updateEntry);
Deleting a Node
Delete a node as follows:
myClient.deleteEntry("federation", "applianceId");
Administration
The sections that follow describe how to configure Administration features of the Admin Console:
•
“License Information” on page 50
•
“Import and Export” on page 51
•
•
•
“Shutdown or Reboot” on page 54
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.