Sun WorkShop Installation and Licensing Reference

Multiple Independent Server Configuration

You can use two or more independent servers in a multiple independent server configuration where users can obtain a license token from any one of the servers. This scenario is most common for medium-to-large software development environments distributed over a network. Distributing the total number of license tokens purchased among multiple license servers increases the likelihood that some license tokens will always be available. As with single independent license servers, any license tokens served by computers that are offline are unavailable until those machines are returned to the network.

By placing license servers strategically throughout your network in a multiple independent server configuration, you maximize the responsiveness of license requests and minimize the administrative overhead. For example, you could buy 100 RTUs and distribute them over 10 independent servers with 10 license tokens each.

Figure 1-4 shows how a multiple independent server configuration works.

Figure 1-4 Process for Getting a License With Multiple Independent License Servers

Graphic

This is the process for getting a license with multiple independent license servers:

  1. A C++ developer is trying to recompile a program working from a desktop machine envoy. The developer has mounted a copy of Sun Visual WorkShop C++ from the machine tools. Two license servers, lic2 and lic3, have been put in service on the network in addition to the default server lic1. Each license server has ten license tokens.

  2. When the developer starts a compile of a program, Sun Visual WorkShop C++ on tools sends a request to lic1 for a license token. If lic1 has a token available, then the request is granted, and the compile completes.

  3. If all ten license tokens on lic1 are in use by other developers in the group, tools automatically looks for a token on lic2 and, if that fails, lic3. If the developer still cannot get a token, the developer's request will be queued on lic1, where the developer will get the first available token.

Example: Multiple Independent Server Configuration

Company C is a financial services broker. It is essential that at least some of its Sun WorkShop Professional C license tokens always be available. In addition, Company C purchased Sun(TM) WorkShop(TM) TeamWare and Sun Visual WorkShop C++. There are three large servers, bull, bear, and crash, which will be license servers among their other duties, and two other servers, dollars and cents, which will be application servers.

Figure 1-5 illustrates Company C's network.

Figure 1-5 Multiple Independent License Servers Supporting Two Application Servers

Graphic

By splitting its license tokens between bull, bear, and crash, Company C maximizes the chances that some Sun WorkShop Professional C tokens will always be available. If a license server is unavailable, Company C has also taken the precaution of putting the three license servers on different subnets. Company C considered a redundant server configuration (see "Redundant Servers") but preferred a multiple independent server configuration because the company would rather have some license tokens at all times rather than all tokens most of the time.

To set up the multiple independent license server pool described in this example (where a user will check several license servers as necessary to find an available license token), the system administrator for Company C would follow these steps:

  1. Fill out the License Request Form.

    The system administrator needs to complete a separate License Request Form for each license server. Instructions for filling out the License Request Form and contacting the Sun License Center are in Chapter 2 of Sun WorkShop Quick Install.

    You will receive a separate license file from the Sun License Center for each licensed product.

  2. Install Sun WorkShop Professional C and Sun WorkShop TeamWare on the application server cents.

    Installation instructions are in Chapter 3 of Sun WorkShop Quick Install.

  3. Install Sun WorkShop Professional C and Sun Visual WorkShop C++ on the application server dollars.

  4. Install FLEXlm license manager software on the license server bull.

    Installation instructions are in Chapter 3 of Sun WorkShop Quick Install.

  5. Install the licenses for Sun WorkShop Professional C on the license server bull.

    Instructions are in Chapter 4 of Sun WorkShop Quick Install.

    The script /etc/opt/licenses/LIC_CONFIG_SCRIPT will make an elementary license file for these licenses when you copy and run the script on an application server. For more information about elementary license files, see Chapter 2, License Management.

  6. Rename LIC_CONFIG_SCRIPT to LIC_CONFIG_SCRIPT.prof-c.bull (see the mv man page for more information about renaming files).

  7. Install the licenses for Sun Visual WorkShop C++ on the license server bull.

  8. Rename LIC_CONFIG_SCRIPT to LIC_CONFIG_SCRIPT.vws.bull.

  9. Install FLEXlm license manager software on the license server bear.

  10. Install the licenses for Sun WorkShop Professional C on the license server bear.

  11. Rename LIC_CONFIG_SCRIPT to LIC_CONFIG_SCRIPT.prof-c.bear.

  12. Install the licenses for Sun WorkShop TeamWare on the license server bear.

  13. Rename LIC_CONFIG_SCRIPT to LIC_CONFIG_SCRIPT.tw.bear.

  14. Install FLEXlm license manager software on the license server crash.

  15. Install the licenses for Sun WorkShop Professional C on the license server crash.

  16. Rename LIC_CONFIG_SCRIPT to LIC_CONFIG_SCRIPT.prof-c.crash.

  17. Install the licenses for Sun Visual WorkShop C++ on the license server crash.

  18. Rename LIC_CONFIG_SCRIPT to LIC_CONFIG_SCRIPT.vws.crash.

  19. Copy and run LIC_CONFIG_SCRIPT.prof-c.bull and LIC_CONFIG_SCRIPT.vws.bull on dollars.

    Because the application server dollars is closest to the license server bull, the system administrator might want the users on dollars to check license servers for tokens in this order: bull, bear, and then crash.


    Note -

    The application software will check the oldest elementary license file first, so it is important to copy and run the LIC_CONFIG_SCRIPT scripts in the order the application software should check the license servers for tokens.


  20. Copy and run LIC_CONFIG_SCRIPT.prof-c.bear on dollars.

  21. Copy and run LIC_CONFIG_SCRIPT.prof-c.crash and LIC_CONFIG_SCRIPT.vws.crash on dollars.

    On dollars, there will now be three elementary license files: sunpro.lic,1 (information about licenses on bull), sunpro.lic,2 (information about licenses on bear), and sunpro.lic,3 (information about licenses on crash). For more information about elementary license files, see Chapter 2, License Management.

  22. Copy and run LIC_CONFIG_SCRIPT.prof-c.crash on cents.

    Because the application server cents is closest to the license server crash, the system administrator might want the users on cents to check license servers for tokens in this order: crash, bear, and then bull.

  23. Copy and run LIC_CONFIG_SCRIPT.prof-c.bear and LIC_CONFIG_SCRIPT.tw.bear on cents.

  24. Copy and run LIC_CONFIG_SCRIPT.prof-c.bull on cents.

    On cents, there will now be three elementary license files: sunpro.lic,1 (information about licenses on crash), sunpro.lic,2 (information about licenses on bear), and sunpro.lic,3 (information about licenses on bull).

    The multiple independent license server pool is now ready.