Creating a Virtual Search Server

Once you have carefully planned your search service, you can start creating and configuring virtual search servers and begin adding indexes to them.

  1. From the Web Search Manager Global Settings page, click Add New Virtual Search Server.

  2. In the Name field, enter a new virtual search server name, which is typically the DNS or domain name of your server.

    For more information about virtual search server names, see Naming a Virtual Search Server.

  3. In the Alias field, enter a virtual search server alias, which is typically the IP address of your server.

    See Using the Virtual Search Server Alias for more information about aliases.

  4. In the Location field, enter the path to where you want the index and configuration files to be stored.

    HINT:  If this field is left blank, Web Search will store the virtual search server files in the /searchroot/sites/sitename directory. Also, you can store the files on any volume on the server where Web Search is installed, but not on other servers.

  5. Click Create.


Naming a Virtual Search Server

When a user sends a search query to the Web Search Server, Web Search must determine which of all of your virtual search servers it should use to handle the incoming search request.

Web Search uses two methods for determining this:

  1. Matching the domain name of the search query with the virtual search server names available in Web Search
  2. Using the SITE=searchsitename query parameter to find matching virtual search server names

For example, in the following search request, Web Search uses the domain name search.domainname1.com as the name of the virtual search server:

http://search.domainname1.com/NSearch/SearchServlet?query=find+something

This approach requires that your server be set up to recognize the domain name search.domainname1.com. Most servers can be set up to recognize and service multiple domain names in both software and hardware virtual server configurations (see Setting Up Multiple Web Servers).

You could also use an IP address to designate the virtual search server. For multiple virtual search servers, this approach would work only in a hardware virtual server configuration where each virtual search server has its own unique IP address.


Hosting Multiple Virtual Search Servers Using One DNS Name

If you are hosting a search service for two or more customers, you can name each virtual search server according to the organization or company name of each customer and then use the &server query parameter when handling search queries. One of the advantages of using the &site query parameter is that it allows you to use a single DNS name.

For example, suppose your server's URL was searchit.novell.com. If you were setting up search services for a company called Digital Airlines and another company called DemoCity, you could host both services on your single server and then simply include the &server=digitalairlines and &server=democity query parameters within the search forms found on www.digitalairlines.com and www.democity.com.

Queries would be sent from the search forms on each Web site to the URLs corresponding to each virtual search server, as in the following:

http://searchit.novell.com/NSearch/SearchServlet?server=digitalairlines

and

http://searchit.novell.com/NSearch/SearchServlet?server=democity


Using the Virtual Search Server Alias

When defining a virtual search server, you are required to give it a name. But Web Search administrators can also define an alias that can be used when identifying a specific virtual search server during a search request.

An alias name typically follows one of two conventions:

  1. An IP address: This could be used either in the domain name portion of a URL or be included in a search query using the &server query parameter. Using an IP address in place of a domain name to select a virtual search server only works in a hardware virtual server configuration where each search server has its own unique IP address.
  2. Any other numeric or textual value that can be passed as the value of the &server query parameter.

For most virtual search servers, the best choice for a search server name and alias is the Web server's domain name and IP address.For more information about creating software and hardware virtual servers on the NetWare Enterprise Web Server, see Setting Up Multiple Web Servers.


Storing Virtual Search Server Files

Search server files include a set of index and configuration files for each virtual search server. When you create a new virtual search server, you can specify where you want virtual search server files to be stored, or you can accept the default path which is determined by where you installed the NetWare Web Search Server.

Virtual search server files can be stored on any volume visible to the NetWare server that Web Search is installed on, regardless of which volume your Web Search Server is installed on. This includes SAN storage device volumes.



Previous | Next