Note: The term "Mixed Case" hostsname indicates the node names are displayed in all CAPS or in mixed case (some characters in uppercase and some characters in lowercase).
As a Best Practice, ESP host names should be all lowercase, as this has been known to cause stability issues with FAST ESP.
To change the host name used in FAST ESP on a Windows system, complete the following procedure:
1. Stop FAST ESP using a sequential shutdown. Refer to "Stopping FAST ESP via sequential shutdown" in the "FAST ESP Operations Guide".
2. Perform a search in all FAST ESP directories for files that contain the old host name. Do not use the Windows file explorer search feature as it may not find all files (for example .cfg files). From a command prompt, do the following:
findstr /S /I /M /C:"oldname" /D:%FASTSEARCH%\etc;%FASTSEARCH%\adminserver;%FASTSEARCH%\esp4j;%FASTSEARCH%\components *.*
Note: Replace "oldname" with the actual name of the server.
Note: The /I should be removed from the findstr command when changing the case of the hostname, as this is what indicates case insensitivity.
3. Replace the old host name with the new one in each of the files, except for any .log files.
4. Delete the contents of the following directories:
5. Repeat steps 2 through 4 on all other nodes in the system.
6. Start FAST ESP.
On all nodes run:
net start "fast esp"
7. On the administration node, stop the adminserver and enter the PostgreSQL database:
nctrl stop adminserver
psql --username fast --host= --port=16070 vespa
Execute the following SQL command:
update SearchDispatcher set host="<newname>" where host="<oldname>";
update Link set url="http://"<newname>":16000/admin/" where url="http://"<newname>":16000/admin/";
update Link set url="http://"<newname>":16000/clarity/" where url="http://"<newname>":16000/clarity/";
Note: The contents of the Link table may be different. Inspect the contents of this table to ensure that no URLs are using the old host name.
8. Restart the admin server:
nctrl start adminserver
9. Refresh the views:
view-admin -m refresh
10. Deploy all views:
view-admin -m deploy –a
Id. de artículo: 2395647 - Última revisión: 11 mar. 2011 - Revisión: 1