10 |
Removing the Sun Ray Software |
This chapter explains how to remove the Sun Ray software from your server. Both script-based and manual removal procedures are provided. This chapter is organized as follows:
A system administrator can use an unconfiguration script and an uninstall script to remove the Sun Ray server software.
This section describes how to unconfigure and uninstall the Sun Ray server software.
Note - You must unconfigure the Sun Ray server software before you can use uninstall -u to remove the server software.
In the following instructions you will need to take the values you chose in the worksheet and substitute in the appropriate places. Refer to "Collecting Key Configuration Parameters" on page 40. For example, if you chose @(WEBSERVER_NAME) to be utadmin, when substituting into this partial command:
# htserver stop @(WEBSERVER_NAME)
the result would be:
# htserver stop utadmin
|
To Unconfigure the Sun Ray Server Software |
| 1. | As superuser, type:
|
| 2. | Stop the Sun Ray services:
|
| The services are stopped. |
| 3. | Type:
|
| The Sun WebServer instance is stopped. @(WEBSERVER_NAME) is the name of the WebServer instance that supports the administration application. Refer to the value you chose on your worksheet (see "Configuration Worksheet" on page 40). |
| 4. | Stop SunDS:
|
| 5. | Type:
|
| 6. | Begin the unconfiguration process:
|
| 7. | Answer the question: Unconfigure Sun Web Server 2.1 ([y]/n)? |
This script gives you the option of unconfiguring the Sun Web Server 2.1 or not. Yes is the default.
|
| 8. | Answer the question as follows: |
Note - The web server instance name, @(WEBSERVER_NAME), and the CGI username, @(CGI_USER), in this example, use the default values: utadmin and www). If you entered different values, enter them here. Refer to your configuration worksheet for your original values (see "Configuration Worksheet" on page 40).
|
The Sun Ray server unconfiguration process begins. The following message is displayed.
|
| 9. | After the script has completed check in /var/tmp/utconfig.xxx.log to see if there were any errors, where xxx is the process ID of the script. |
|
To Uninstall the Sun Ray Software |
This section describes how to use the utinstall -u command to remove the Sun Ray server software.
Note - Your current working directory must not be within any of the directories to be removed. Perform a cd / to your working directory for verification.
| 1. | Change to your working directory:
|
| 2. | Start the removal process:
|
| 3. | Answer the questions as follows:
|
The packages are removed. The following message is displayed:
|
| 4. | After the script has completed, check in /var/tmp/utconfig.xxx.log to see if there were any errors, where xxx is the process ID of the script. |
Use these procedures to uninstall the Sun Ray server software by using pkgrm. For procedures on how to remove the software using a script, see "Using Scripts to Uninstall the Software" on page 183.
Note - It is highly recommended that you use the utinstall script to remove the Sun Ray server software. Refer to "Using Scripts to Uninstall the Software" on page 183 for additional information.
|
To Remove the Sun Ray Server Software |
| 1. | Become superuser and stop the Sun Ray services:
|
| 2. | Remove all of the network interconnects:
|
| 3. | Remove the software packages:
|
Respond y to each package removal query. The output is similar to the following:
|
Refer to the supporting software's documentation (included on the Sun Ray enterprise server software 1.1 CD) for uninstall and unconfigure information.