The text of a manual · part 17 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 157 to 166
Pages 157 to 166 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 157
Chapter 3 - Additional Features Note. Do not modify the -c /bin/handle_dhcp option.
Configuration for CAS, TS, and Dial-in Access vi Method Steps 1 and 2 under Parameters and Passed Values should be followed. You’ll need to edit /etc/portslave/pslave.conf, comment some lines, etc.
Browser Method To configure DHCP via your Web browser: Step 1: Point your browser to the Console Server. In the address or location field of your browser type the Console Access Server’s IP address. For example: http://10.0.0.0 Step 2: Log in as root and type the Web root password configured by the Web server. This will take you to the Configuration and Administration page. Step 3: Click the General link on the Link Panel. This takes you to the General page. Step 4: Scroll down to the Ethernet port section. You can choose the DHCP Client option in this section. Select the radio button and click the Submit button at the bottom of the page.
User Guide
157
Page 158
DHCP
Figure 27: DHCP client section
Step 5: Make the changes effective. Click on the Administration > Run Configuration link, check the Serial Ports/Ethernet/Static Routes box and click on the Activate Configuration button. Step 6: Click on the link Administration > Load/Save Configuration. Step 7: Click the Save Configuration to Flash button. The configuration will be saved in flash.
158
Cyclades-TS
Page 159
Chapter 3 - Additional Features Filters This feature is only available for firmware versions 1.2.x and above.
Description The Cyclades-TS uses the Linux utility ipchains to filter IP packets entering, leaving and passing through its interfaces. An ipchains tutorial is beyond the scope of this manual. For more information on ipchains, see the ipchains man page (not included with the Cyclades-TS).
The syntax of the ipchains command is: ipchains -command chain rule-specification [options] ipchains -E old-chain-name new-chain-name where: chain is one of the following: input
Filters for packets coming into the Cyclades-TS itself.
output
Filters for locally-generated packets.
forward
Filters for packets being routed through the Cyclades-TS.
user_created_chain
A previously defined (or in the process of being defined) chain created by the command “-N.” command: Only one command can be specified on the command line unless otherwise specified below. For all the long versions of the command and option names, you need to use only enough letters to ensure that ipchains can differentiate it from all other options.
User Guide
159
Page 160
Filters Configuration for CAS, TS, and Dial-in Access Browser Method To configure filters in IP chains via your Web browser: Step 1: Point your browser to the Cyclades-TS. In the address or location field of your browser type: <Console Access Server’s IP address> Step 2: Log in as root and type the Web root password configured by the Web server. This will take you to the Configuration and Administration page. (See “Configuration & Administration Menu page” on page 49) Step 3: Click IPChains filter link. Click on this link on the Link Panel. The following page will appear:
Figure 28: IP Chain filtering Step 4: To create a new filter chain: Type in the name of the filter chain in the Name box to the far right of the page, and then click the Add chain button. To enter the default target, click the appropriate Select button and then the Submit button. The new filter chain will be added to the Filter Chain Table.
160
Cyclades-TS
Page 161
Chapter 3 - Additional Features Step 5: To edit or delete a filter chain: To change the default target or to delete the filter chain, click the radio button of the filter chain and then click the Edit chain button or the Delete chain button. Step 6: To edit the rules of the filter chain: Click the radio button of the filter chain and then click the List rules button. If the filter chain doesn't have rules, you need to add them. Skip to Step 9. Step 7: To delete a rule: Click the radio button of the rule and then click the Delete rule button. Step 8: To edit a rule: Click the radio button of the rule and then click the Edit rule button.
User Guide
161
Page 162
Generating Alarms Generating Alarms This feature helps the administrator to manage the servers. It filters the messages received by the serial port (the server’s console) based on the contents of the messages. It then performs an action, such as sending an email or pager message. To configure this feature, you need to configure filters and actions in the syslog-ng.conf file. (You can read more about syslog-ng in the Syslog section.)
Port Slave Parameters Involved with Generating Alarms conf.DB_facility
This value (0-7) is the Local facility sent to the syslog-ng with data when syslog_buffering and/or alarm is active.
all.alarm
When nonzero, all data received from the port is captured and sent to syslog-ng with INFO level and LOCAL[0+conf.DB_facility] facility.
Configuration for CAS, TS, and Dial-in Access vi Method Files to be modified: • pslave.conf
• syslog-ng.conf
Browser Method To configure PortSlave parameters involved with syslog-ng and the syslog-ng configuration file with your browser: Step 1: Point your browser to the Console Server. In the address or location field of your browser type the Console Access Server’s IP address. For example: http://10.0.0.0 Step 2: Log in as root and type the Web root password configured by the Web server. This will take you to the Configuration and Administration page. 162
Cyclades-TS
Page 163
Chapter 3 - Additional Features Step 3: Select the General link. Click on the General link on the Link Panel to the left of the page in the Configuration section. This will take you to the General page. Step 4: Scroll down to the Data Buffering section. You can change the Data Buffering Facility value (conf.DB_facility). Click the Submit button. Step 5: Select the Serial Ports link. Click on the Serial Ports link on the Link Panel to the left of the page in the Configuration section. This will take you to the Port Selection page. Step 6: Select port(s). On the Port Selection page, choose all ports or an individual port to configure from the dropdown menu. Click the Submit button. This will take you to the Serial Port Configuration page. Step 7: Scroll down to the Data Buffering section. You can change the “Alarm for Data Buffering” (.alarm) value. Click the Submit button. Step 8: Select the Syslog link. Click on the Syslog link on the Link Panel to the left of the page in the Configuration section. This will take you to the Edit the Syslog-ng Configuration File page. Step 9: Make the changes effective. Click on the Administration > Run Configuration link, check the Serial Ports/ Ethernet/Static Routes box and click on the Activate Configuration button. Step 10: Click on the link Administration > Load/Save Configuration. Step 11: Click the Save Configuration to Flash button. The configuration was saved in flash.
User Guide
163
Page 164
Generating Alarms Wizard Method The Alarm Generation custom wizard configures the ALL.ALARM parameter. Step 1: Bring up the wizard. At the command prompt, type the following to bring up the Alarm Generation custom wizard: wiz --al Screen 1 (below) will appear. Screen 1: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.ALARM - When non zero, all data received from the port are captured and sent to syslog-ng with INFO level and LOCAL[0+conf.DB_facility] facility. The syslog-ng.conf file should be set accordingly, for the syslog-ng to take some action. (Please see the 'Syslog-ng Configuration to use with Alarm Feature' section under Generating Alarms in Chapter 3 of the system's manual for the syslog-ng configuration file.) all.alarm[0] :
164
Cyclades-TS
Page 165
Chapter 3 - Additional Features Screen 2: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.alarm : 0
Set to defaults? (y/n) [n] :
Screen 3: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.ALARM - When non zero, all data received from the port are captured and sent to syslog-ng with DAEMON facility and ALERT level. The syslog-ng.conf file should be set accordingly, for the syslog-ng to take some action. (Please see the 'Syslog-ng Configuration to use with Alarm Feature' section under Generating Alarms in Chapter 3 of the system's manual for the syslog-ng configuration file.) all.alarm[0] :
Note: conf.DB_facility is configured under the syslog parameters (wiz - - sl).
User Guide
165
Page 166
Generating Alarms Screen 4: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.alarm : 0 Are these configuration(s) all correct? (y/n) [n] : If you type 'n' Type 'c' to go back and CORRECT these parameters or 'q' to QUIT : Typing 'c' repeats the application, typing 'q' exits the entire wiz application If you type 'y' Discard previous port-specific parameters? (y/n) [n] :
Note: Answering yes to this question will discard only the parameter(s) which you are currently configuring if they were configured for a specific port in a previous session. For instance, if you are currently configuring parameter, all.x, and there was a specific port, s2.x, configured; then, answering yes to this question will discard s2.x. Type 'c' to CONTINUE to set these parameters for specific ports or 'q' to QUIT : Typing 'c' leads to Screen 5, typing 'q' leads to Screen 6.
166
Cyclades-TS