Backup3G/EWC/User Guide/Installing and Configuring EWC
From Documentation
Revision as of 06:15, 13 April 2006
This chapter explains how to install and deinstall EWC for Windows NT 4.0, Windows 2000 and Windows 2003. It also discusses how to perform the initial configuration necessary to start using the EWC software. To install EWC on Windows you will need: • distribution disks or CD containing the EWC distribution • to log in as Administrator • TCP/IP installed and configured To install EWC on your Windows host you must run the setup program on CD/Disk 1. You cannot just copy the files from the distribution media onto your hard drive. Caution You cannot run two versions of EWC at the same time. You can however have two versions installed at the same time. 18 Installing and Configuring EWC Installing on Windows The installation procedure copies the EWC files to a target directory you specify, some files are copied to the system directory. The Remote Shell Daemon is also installed. Which hosts should EWC be installed on The EWC software is installed on hosts that you want to backup data from or hosts that have tape drives you want to backup to. To Install EWC 1. Log in as Administrator. 2. Select Settings > Control Panel from the Start button. 3. Open the Add/Remove program icon. 4. Insert Setup disk 1 or CD into the appropriate drive. 5. Press the Install button and then the Next button to search for the install program. 6. The install program should locate the setup program. Example. If you are installing from floppy disk and the floppy drive is A, the command line for installation should be: A:\SETUP.EXE. Press Finish to start the installation process. 7. The installation screen should now be displayed. If at any time you wish to exit from the installation, press the Cancel button. 8. Enter your User Name and Company Name. 9. The installation program will now ask you for the destination directory for the EWC software. To change from the default location, press the Browse button and enter the new location. 10. Choose the setup type. The Typical setup type will install the entire EWC software including help and utility programs. The compact setup type will install the minimum files required. The Custom setup type allows you to choose which components you wish to install. 11. Specify the program group to add the EWC icons to.If you do not want any Installing and Configuring EWC 19 icons added, clear the name field. 12. The EWC software is now installed in the specified directory. If installing from disk, you may be required to insert other disks. You will be prompted as necessary. 13. Specify the Master/Control host. This is the backup3G UNIX host that the backup configuration is performed on. Entering a hostname and pressing Accept will add an entry to the rhosts file. This entry will allow the backup3G Master/Control host to access this host. Figure 8 — Specify the Master/Control host 14. If you are installing onto a NTFS, all files will be set to Full Control Administrator and Read Access by SYSTEM. 15. The directory /tmp will be created on the system drive. This directory is used to create temporary files and must not be removed. This completes the installation phase on Windows NT 4.0. The next step is to configure the EWC settings for this host. 20 Installing and Configuring EWC Configuring EWC Configuration of EWC requires: • licensing EWC • setting up remote access • Remote Shell Daemon configuration Licensing EWC To licence EWC you first must obtain a valid licence key for the host for your distributor. Once you have this key: 1. Select Enterprise Windows Client 2.1 > Enterprise Windows Client Figure 9 — Enterprise Windows Client main window 2. Press the Licence button. 3. The hostname, Product code and Options fields should match those on your licence key sheet. 4. If your key has an expiry date, enter it in the Expiry field in the form YYYYMMDD. 5. Enter the licence key in the Licence key field and press Accept. Installing and Configuring EWC 21 Figure 10 — Entering the EWC licence key The EWC should now be licensed. However, if you got an Illegal key error message, the key you entered is invalid. Check that the licence details match those on your licence key sheet. All details must match exactly for the key to be accepted. Setting up Remote Access Remote access is required to incorporate this host and its resources into the Enterprise Backup Solution. Remote access is required by the following hosts: • backup3G master host • any hosts with tape drives you want to have access to • hosts that require access to the local tape drive Note You should have already specified the backup3G Master host during the Installation. To allow a remote host to access this host: 1. Start the Enterprise Windows Client and select Enterprise Windows 22 Installing and Configuring EWC Client from the Enterprise Windows Client 2.1 menu. 2. Press the Remote button. 3. Enter the name of the remote host you want to allow access from. 4. Select the Operating System running on that host. 5. Press Accept to allow that host access to this host. If you are allowing access from a Windows NT host, a SYSTEM entry will be added to the rhosts file for that host. If you are allowing access from a UNIX host, COSmanager and root entries are added to the rhosts file for that host. If you want to remove access from any hosts, you will have to edit the rhosts file manually using a text editor like notepad. Warning If you use notepad to modify the rhosts file, be sure to save the file as “rhosts.”, otherwise notepad will save the file as “rhosts.txt”. Remote Shell Daemon Configuration The Remote Shell Daemon (rshd) is used for allowing remote users to run commands on the local host. The rshd is run as a service and listens on the standard rsh port for requests. The rhosts file (see Setting up Remote Access - above) is used to govern which hosts and users have the ability to run commands on this host. For a user to be able to run a command via the rshd, an entry for that user must be in the rhosts file against the remote host. Note You must restart the Remote Shell Daemon service to pick up changes made to the rhosts file. The rshd included with EWC is specifically designed for use with EWC only. The rshd is required to run as the SYSTEM user so that sufficient privilege exists for backup and restoration of files. Therefore any commands run by the rshd service will be run as the SYSTEM user. Installing and Configuring EWC 23 Installation and Deinstallation The Remote Shell Daemon (rshd) should have already been installed during the installation of EWC. The rshd program is installed in the Windows NT System32 directory. If you need to install or deinstall the rshd service: 1. Select Programs > Command Prompt from the Start button. 2. To install the rshd service type rshd -install. 3. To deinstall the rshd service type rshd -remove. Controlling the Remote Shell Daemon service There are two ways to control services in Windows NT, through the Services Control Panel or via the command prompt using the net command. The net command can only be used for starting and stopping services. Use the Services Control Panel for configuration of the rshd service. The Services Control Panel: 1. Log in as Administrator. 2. Select Settings > Control Panel from the Start button. 3. Open the Services program icon. The Services panel now displayed allows you to start and stop or configure the services. 4. To start the rshd service select the RSH Daemon entry and press the Start button. If the rshd service is running and you want to stop it, select the RSH Daemon entry and press the Stop button. 5. It is recommended that you set the rshd service to start automatically on host startup. To do this, press the Startup button, set the Startup Type to Automatic and press OK. Next time the host is booted, the rshd service will be automatically started. From the command prompt: 1. Select Programs > Command Prompt from the Start button. 2. To see which services are running type net start. 3. To start the rshd service type net start rshd. 4. To stop the rshd service type net stop rshd. 24 Installing and Configuring EWC Deinstalling from Windows Deinstallation of the EWC software: • removes all EWC programs and registry entries • remove EWC menu entries • optionally remove shared programs including rshd and bash Steps 1. Log in as Administrator. 2. Stop the COSserver and/or rshd services from a command prompt by typing net stop rshd. Remove the rshd service by typing rshd - remove. For more detailed instructions, see the rshd Installing and Deinstalling section on page 25. 3. Select Settings > Control Panel from the Start button. 4. Open the Add/Remove program icon. 5. Select the Enterprise Windows Client 3.1.1 entry and press the Add/Remove button. 6. Confirm removal by pressing the Yes button. 7. During the deinstallation process you will be prompted for the removal of certain shared files. These files form part of the EWC application but were installed in the system directory structure. Unless you intend to use these programs you should remove them. To remove all shared programs press the Yes To All button. If the deinstallation isunsuccessful, you can remove the problem files manually