Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 7 of 49

Cyclades-TS User Guide: Chapter 2 - Installation, Configuration, and Usage, pages 59 to 68

Pages 59 to 68 of 454, from Cyclades-TS User Guide

The original document is the PDF (4.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Cyclades TS2000 and Avocent TS2000

Page 59

Chapter 2 - Installation, Configuration, Usage Tip. We strongly recommend to use 9600 bps console speed. In case you need to use another speed please check Appendix D - Software Upgrades and Troubleshooting.

Important! Always complete ALL the steps for your chosen configuration before testing or switching to another configuration.

New Users If you are using a PC, you will be using HyperTerminal to perform the initial configuration of the Cyclades-TS directly through your PC’s COM port connected with the Cyclades-TS console port. HyperTerminal, which comes with Windows 95, 98, Me, NT, 2K, and XP is often located under Start > Program > Accessories > Communications. HyperTerminal emulates a dumb terminal when your PC connects to the serial port (console port) of the Cyclades-TS. After the initial configuration through the HyperTerminal connection, you will be connecting your PC (or another terminal) to the Cyclades-TS via an Ethernet connection in order to manage the TS. The workstation used to access the TS through telnet or ssh uses a LAN connection. These events can be summarized as follows: •

PC (Hyper terminal): COM port connects via serial cable to the TS’s console port.

•

PC (Ethernet): Ethernet port connects via hub to the TS’s Ethernet port.

•

Use the HyperTerminal to configure the box.

•

Use the PC Ethernet to access the box as client (telnet/ssh).

User Guide

59

Page 60

Chapter 2 - Installation, Configuration, Usage Step 1: Plug the power cable into the Cyclades-TS. Insert the female end of the black power cable into the power socket on the Cyclades-TS and the three-prong end into a wall outlet.

DANGER! To help prevent electric shock, plug the Cyclades-TS into a properly grounded power source. The cable is equipped with a 3-prong plug to help ensure proper grounding. Do not use adapter plugs or remove the grounding prong from the cable. If you use an extension cable, use a 3-wire cable with properly grounded plugs. For the TS110/100, 400, and 800, the grounded power cable constraint does not apply, as these products have an external power supply, and one power cable instead of two. Step 2: Connect the console cable. You will be constructing a Console Cable out of the RJ-45 straight-through cable and the appropriate adapter provided in the product box. (There are four options: all adapters have an RJ-45 connector on one end, and either a DB25 or DB9 connector on the other end, male or female). Connect this cable to the port labeled “Console” on the Cyclades-TS with the RJ-45 connector end, and connect the adapter end to your PC’s available COM port. For more detailed information on cables, see Appendix B - Cabling, Hardware, and Electrical Specifications.

Note: The modem cable is not necessary for a standard installation and configuration. Use it when the configuration is complete and you want to access the box remotely through a serial port.

Step 3: Connect Hub to PC and the Cyclades-TS. Your workstation and TS must be on the same physical LAN. Connect one RJ-45 cable from the Ethernet port of the TS to the hub, and another from the hub to the workstation used to manage the servers. Step 4: Install and launch HyperTerminal, Kermit or Minicom if not already installed. You can obtain the latest update to HyperTerminal from: http://www.hilgraeve.com/htpe/download.html

60

Cyclades-TS

Page 61

Chapter 2 - Installation, Configuration, Usage Task 2: Configure the COM Port Connection and Log In Step 1: Select available COM port. In HyperTerminal (Start > Program > Accessories > Communications), select File > Properties, and click the Connect To tab. Select the available COM port number from the Connection dropdown.

Figure 13: Choose a free COM port Step 2: Configure COM port. Click the Configure button (hidden by the dropdown menu in the above figure). Your PC, considered here to be a “dumb terminal,” should be configured to use 9600 bps, 8 data bits, no parity, 1 stop bit, and no flow control (as shown in the following figure).

User Guide

61

Page 62

Chapter 2 - Installation, Configuration, Usage

9600

Figure 14: Port Settings Step 3: Power on the Cyclades-TS. Step 4: Click OK on the Properties window. You will see the Cyclades-TS booting on your screen. After it finishes booting, you will see a login prompt.

62

Cyclades-TS

Page 63

Chapter 2 - Installation, Configuration, Usage Task 3: Modify the System Files When the Cyclades-TS finishes booting, a prompt will appear (a flashing underline cursor) in your HyperTerminal window. You will modify the following Linux files to let the Cyclades-TS know about its local environment: /etc/hostname /etc/hosts /etc/resolv.conf /etc/network/st_routes /etc/inittab (Cyclades-TS110/100 only)

Important! If you have the Cyclades-TS110/100 you will be modifying an additional file: /etc/inittab. See Configuring the Cyclades-TS110/100 for the first time at the end of this chapter for instructions specific to this model.

The five Linux files must be modified to identify the TS and other devices it will be communicating with. The operating system provides the vi editor, which is described in Appendix A New User Background Information for the uninitiated. The Cyclades-TS runs Linux, a UNIXlike operating system, and those not familiar with it will want to refer to Appendix A. Step 1: Type root and press Enter. Step 2: At the password prompt, type tslinux. Press Enter. Step 3: Modify /etc/hostname. In HyperTerminal, type “vi /etc/hostname” (without the quotes) and press Enter. Arrow over the existing text in the file, type “r” (for replace) and type the first number of the model of your Cyclades-TS. (Or, you can replace the default naming convention with anything you’d like for your hostname.) When finished, press the Esc key, (to return to command mode), then type “:” (colon), and then “wq” and press Enter. This will save the file. (The only entry in this file should be the hostname of the Cyclades-TS.) An example is shown in the following figure. (The

User Guide

63

Page 64

Chapter 2 - Installation, Configuration, Usage HyperTerminal screen is shown in this first example for clarity, however, for the other Linux files we will modify, only the command line text will be shown.)

Figure 15: The /etc/hostname file with hostname typed in Step 4: Modify /etc/hosts. This file should contain the IP address for the Ethernet interface and the same hostname that you entered in the /etc/hostname file. It may also contain IP addresses and host names for other hosts in the network. Modify the file using the vi as you did in Step 1. Replace to match hostname from previous step

Obtain IP address from your System Administrator

Figure 16: Contents of the /etc/hosts file

Step 5: Modify /etc/resolv.conf. This file must contain the domain name and nameserver information for the network. Obtain the nameserver IP address from your Network Administrator. The default contents of this file are:

64 domain mycompany.com nameserver

200.200.200.2

Cyclades-TS

Page 65

Chapter 2 - Installation, Configuration, Usage Step 6: Modify /etc/network/st_routes. The fourth file defines static routes. In the console server example in Figure 62: Console Access Server diagram the router is a gateway router and thus its IP address is configured in this file to be the default gateway. Other static routes are also configured in this file. If you will be managing servers through a LAN, you don’t need to alter this file. If you will be managing via Internet, you will be connecting through a router, and thus need to modify this file. You would get the IP address from your Network Administrator. The default contents of this file are: route add default dev eth0 Step 7: Change password for root and new users. The default /etc/passwd file has the user “root” with password “tslinux”. You should change the password for user root as soon as possible. Before changing any password or adding new users you should also activate shadow password, if it is needed. The Cyclades-TS has support for shadow password, but it is not active by default. To activate shadow password follow the steps listed below: Step A: Create an empty file called /etc/shadow. # touch /etc/shadow

Step B: Add a temporary user to the system. It will be removed later. # adduser boo

Step C: Edit the file /etc/shadow. For each user in passwd file, create a copy of the line that begins with “boo:” in the shadow file, then replace “boo” with the user name. The line beginning with “root” must be the first line in the file /etc/shadow. The following lines show how the /etc/shadow file should be. root:EreFjH95c1x6Y:12408:0:99999:7:-1:-1: rpc:EreFjH95c1x6Y:12408:0:99999:7:-1:-1: nobody:EreFjH95c1x6Y:12408:0:99999:7:-1:-1: sshd:EreFjH95c1x6Y:12408:0:99999:7:-1:-1: boo:EreFjH95c1x6Y:12408:0:99999:7:-1:-1:

Step D: Edit the passwd file. Replace the password in all password fields with an “x”. The root’s line will look like this:

User Guide

65

Page 66

Chapter 2 - Installation, Configuration, Usage “root:x:0:0:root:/root:/bin/sh” ^ ^ password field

The /etc/passwd file should look like this: root:x:0:0:root:/root:/bin/sh rpc:x:1:1:Portmapper RPC user:/:/bin/false nobody:x:99:99:Nobody:/: sshd:x:501:501:sshd privsep:/var/empty:/bin/false boo:x:505:505:Embedix User,,,:/home/boo:/bin/sh

Tip. Using the vi editor, put the cursor in the first byte after “root:”, then type “ct:x” plus <ESC>.

Step E: Remove the temporary user boo. # deluser boo

Step F: Change the password for all users and add the new ones needed. # passwd <username> or # adduser <username>

Step G: Edit /etc/config_files and add a line with “/etc/shadow.”

Task 4: Edit the pslave.conf file This is the main configuration file (/etc/portslave/pslave.conf) that contains most product parameters and defines the functionality of the Cyclades-TS. Only three parameters need to be modified or confirmed for a basic configuration: • conf.eth_ip (if you disabled DHCP)

• all.authtype

• all.protocol

66

Cyclades-TS

Page 67

Chapter 2 - Installation, Configuration, Usage Tip. You can do a find for each of these parameters in vi, once you open this file by typing / <your string> to search the file downward for the string specified after the /.

A listing of the pslave.conf file with all possible parameters, as well as the files used to create other configurations from parameters in this file, is provided in Appendix C - The pslave Configuration File. Additional, optional modifications made to this file will depend on the configuration desired. There are three basic types of parameters in this file: • conf.* parameters are global or apply to the Ethernet interface.

• all.* parameters are used to set default parameters for all ports.

• s#.* parameters change the default port parameters for individual ports.

An all.* parameter can be overridden by a s#.* parameter appearing later in the pslave.conf file (or vice-versa).

Power Users: To find out what to input for these three parameters so that you can configure what you need, go the appropriate appendix, where you will find a complete table with an explanation for each parameter. You can use the templates from that same Appendix (pslave.conf.cas, etc.) as reference.

conf.eth_ip

This is the IP address of the Ethernet interface. Use it if you don’t have DHCP Server in your LAN. An example value would be: 200.200.200.1

User Guide

67

Page 68

Chapter 2 - Installation, Configuration, Usage all.authtype

68

This parameter controls the authentication required by the Cyclades-TS. The authentication required by the device to which the user is connecting is controlled separately. There are several authentication type options: • none (no authentication)

• local (authentication is performed using the /etc/passwd file)

• remote (This is for a terminal profile only. The unit takes in a username but does not use it for authentication. Instead it passes it to the remote server where it is then used for authentication.)

• radius (authentication is performed using a Radius authentication server)

•

TacacsPlus (authentication is performed using a TacacsPlus authentication server)

• ldap (authentication is performed against an ldap database using an ldap server. The IP address and other details of the ldap server are defined in the file /etc/ldap.conf)

• local/radius (authentication is performed locally first, switching to Radius if unsuccessful)

• radius/local (the opposite of the previous option)

• local/TacacsPlus (authentication is performed locally first, switching to TacacsPlus if unsuccessful)

•

TacacsPlus/local (the opposite of the previous option)

•

TacacsPlusDownLocal (local authentication is tried only when the TacacsPlus server is down)

•

RadiusDownLocal (local authentication is tried only when the Radius server is down)

• ldapDownLocal (local authentication is tried only when the ldap server is down)

Cyclades-TS