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 30 of 49

Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 287 to 296

Pages 287 to 296 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 287

Chapter 3 - Additional Features # by the administrators unless he knows what he is doing.

# # The PAM configuration file for the `ldap' service # ldapauth sufficientpam_ldap.so ldapaccount required pam_ldap.so ldapsession required pam_ldap.so

# # The PAM configuration file for the `ldapdownlocal' service # If LDAP server is down, uses the local service # ldapdownlocal auth\ [ success=done new_authtok_reqd=done authinfo_unavail=ignore default=die ] \ pam_ldap.so ldapdownlocal auth requiredpam_unix2.so ldapdownlocal account \ [ success=done new_authtok_reqd=done authinfo_unavail=ignore default=die ] \ pam_ldap.so ldapdownlocal account requiredpam_unix2.so ldapdownlocal session \ [ success=done new_authtok_reqd=done authinfo_unavail=ignore default=die ] \ pam_ldap.so ldapdownlocal session requiredpam_unix2.so

# # The PAM configuration file for the `tacplus' service # tacplus auth requisite pam_securetty.so tacplus auth required pam_tacplus.so encrypt

User Guide

287

Page 288

LDAP Authentication tacplus auth optional pam_auth_srv.so tacplus account required pam_tacplus.so encrypt service=ppp protocol=lcp tacplus session required pam_tacplus.so encrypt service=ppp protocol=lcp s_tacplus auth requisite pam_securetty.so s_tacplus auth required pam_tacplus.so encrypt use_first_pass s_tacplus account required pam_tacplus.so encrypt service=ppp protocol=lcp s_tacplus session required pam_tacplus.so encrypt service=ppp protocol=lcp

# # The PAM configuration file for the `radius' service # radius auth requisite pam_securetty.so radius auth required pam_radius_auth.so radius auth optional pam_auth_srv.so radius account required pam_radius_auth.so radius session required pam_radius_auth.so s_radius auth requisite pam_securetty.so s_radius auth required pam_radius_auth.so use_first_pass s_radius account required pam_radius_auth.so s_radius session required pam_radius_auth.so

# # The PAM configuration file for the `local' service # local auth requisite pam_securetty.so local auth required pam_unix2.so local account required pam_unix2.so local password required pam_unix2.so md5 use_authtok

288

Cyclades-TS

Page 289

Chapter 3 - Additional Features local session required pam_unix2.so s_local auth requisite pam_securetty.so s_local auth required pam_unix2.so use_first_pass s_local account required pam_unix2.so s_local password required pam_unix2.so md5 use_authtok s_local session required pam_unix2.so

# # The PAM configuration file for the `remote' service # remoteauth required pam_permit.so remoteaccount required pam_permit.so remotepassword required pam_permit.so remotesession required pam_permit.so

# # The PAM configuration file for the `login' service # loginauth requisite pam_securetty.so loginauth required pam_unix2.so loginauth optional pam_group.so loginaccount requisite pam_time.so loginaccount required pam_unix2.so loginpassword required pam_unix2.so md5 use_authtok loginsession required pam_unix2.so login session required pam_limits.so

# # The PAM configuration file for the `xsh' service

User Guide

289

Page 290

LDAP Authentication # sshdauth required pam_unix2.so sshdauth optional pam_group.so sshdaccount requisite pam_time.so sshdaccount required pam_unix2.so sshdpassword required pam_unix2.so md5 use_authtok sshdsession required pam_unix2.so sshd session required pam_limits.so

# # The PAM configuration file for the `passwd' service # passwdpassword required pam_unix2.so md5

# # The PAM configuration file for the `samba' service # sambaauth required pam_unix2.so sambaaccount required pam_unix2.so

# # The PAM configuration file for the `su' service # suauth required pam_wheel.so suauth sufficient pam_rootok.so suauth required pam_unix2.so suaccount required pam_unix2.so susession required pam_unix2.so

# # Information for the PPPD process with the 'login' option. #

290

Cyclades-TS

Page 291

Chapter 3 - Additional Features ppp auth required pam_nologin.so ppp auth required pam_unix2.so ppp account required pam_unix2.so ppp session required pam_unix2.so

# # Information for the ipppd process with the 'login' option: local authent. # ippp auth required pam_nologin.so ippp auth required pam_unix2.so ippp account required pam_unix2.so ippp session required pam_unix2.so

# Information for the ipppd process with the 'login' option: radius authent. #ippp auth required pam_radius_auth.so conf=/etc/raddb/server

#ippp auth optional pam_auth_srv.so

#ippp account required pam_radius_auth.so conf=/etc/raddb/server

#ippp session required pam_radius_auth.so conf=/etc/raddb/server

# # The PAM configuration file for the `other' service # otherauth required pam_warn.so otherauth required pam_deny.so otheraccount required pam_deny.so otherpassword required pam_warn.so otherpassword required pam_deny.so othersession required pam_deny.so

User Guide

291

Page 292

LDAP Authentication Reference The Linux-PAM System Administrators’ Guide Copyright (c) Andrew G. Morgan 1996-9. All rights reserved. Email: morgan@linux.kernel.org

292

Cyclades-TS

Page 293

Chapter 3 - Additional Features Power Management The AlterPath PM is a family of intelligent power strips (IPDU - Integrated Power Distribution Units), which is used for power management. Through a serial port, the administrator can use the AlterPath PM to control all the equipment connected to its outlets, using operations like On, Off, Cycle, Lock, and Unlock. Using the AlterPath PM and the Advanced Secure Console Port Server SSHAlterPath Console ServerCyclades-TS together, the administrator can have full control over his data center equipment. He can, for example, reboot the data center equipment when it crashes, without leaving his console session (telnet or ssh). To do that, he must simply press a configurable hotkey and select the appropriate option from the menu displayed in the session.

Configuration This section covers only the software configuration for the Console Server when used in conjunction with the AlterPath PM. For hardware and cabling installation instructions for the AlterPath PM, Please refer to the AlterPath PM User Guide included in the product.

Figure 33: Configuration diagram

User Guide

293

Page 294

Chapter 3 - Additional Features Figure 33: Configuration diagram shows a typical setup for the AlterPath PM and the Cyclades-TS. The AlterPath PM's serial console is connected to port YY of the Console Server, the server's serial console is connected to port YY of the Console Server, and the server's power plug is connected to power outlet ZZ on the AlterPath PM. These port denominations will be used in the descriptions below.

Port Slave Parameters Involved and Passed Values There are two different types of parameters: 1.

Parameters to the port XX where the AlterPath PM is connected:

• sXX.protocol IPDU: New protocol Integrated Power Distribution Unit. For example: ipdu.

• sXX.pmtype: The IPDU manufacturer. For example: cyclades.

• sXX.pmusers: The user access list. For example: jane:1,2; john:3-8. The format of this field is: [<username>:<outlet list>][;<username>:<outlet list>...] where <outlet list>'s format is: [<outlet number>|<outlet start>-<outlet end>][,<outlet number>|<outlet start>-<outlet end>]... The list of users must be separated by semicolons (;); the outlets should be separated by commas (,) to indicate a list or with dashes (-) to indicate range; there should not be any spaces between the values.

• sXX.pmNumOfOutlets: the number of outlets of the AlterPath PM. Default: 8.

• sXX.pmsessions: Only users logged in with the connection method defined by this parameter will be allowed to access the IPDU unit.

2.

Parameters to the other ports where the servers are connected:

• all.protocol: Protocols for the CAS profile. For example: socket_server, socket_raw, socket_ssh.

• all.pmkey: The hot-key that starts a power management session. Default: ^p (Ctrl-p).

User Guide

294

Page 295

Chapter 3 - Additional Features • sYY.pmoutlet: The outlet list where the server YY is plugged. The outlet is passed as a pair /PM_serial_port.outlet_number/. If the server has a dual power supply, the outlets are separated by space char. For example, one power supply is plugged in the second outlet of the IPDU connected in serial port 1. The other is plugged in the third outlet of the IPDU connected in serial port 5. The value is 1.2 5.3".

sXXpmusers notes: The ellipses in the field format for sXX.pmusers means that you can add as many users as you need. The [] indicates that the parameter is optional, again indicating that you can configure more than one user. The separator is the semicolon, and spacing between the parameter and the variable matters in that a blank between names does not work. e.g. jane:1,2; john:3,4 does not work jane:1,2;john:3,4 works. The users described in this parameter (sXX.pmusers) are related to the users logged in a console session. These users will not be able to do power management from any other means, unless they are root users.

Syslog Messages Generated by the IPDU The IPDU generates syslog messages as a result of specific actions or conditions are as follows: Table 15: IPDU Syslog messages format Level

Tag

Text alert

[PMD]-Serial Port p

Outlet X has been turned OFF by user <username> alert

[PMD]-Serial Port p

Outlet X has been turned ON by user <username> alert

[PMD]-Serial Port p

OVER CURRENT on IPDU #X (current: <current detectec> threshold:<threshold configured>)

alert

[PMD]-Serial Port p

One or more IPDUs were removed from the chain. This chain has now X IPDUs and Y outlets

User Guide

295

Page 296

Chapter 3 - Additional Features Table 15: IPDU Syslog messages format Level

Tag

Text info

[PMD]-Serial Port p

One or more IPDUs were added to the chain. This chain has now X IPDUs and Y outlets notice

[PMD]-Serial Port p

PMD has started on this port. The chain has X IPDUs and W outlets.

warning

[PMD]-Serial Port p

Current is now back to normal on IPDU #X (current: <current detected> threshold:<threshold configured>)

To not generate PMD syslog messages, the file /etc/pmd.sh has to be edited. The parameter DPARM must be changed from "" to "-s". After this, the command “saveconf" and "daemon restart PMD" must be run. You can use the information provided in the table above to create filters and generate alarms about events that happens in the Cyclades-TS itself.

How to change the IPDU Password Step 1: Change password using pm or pmCommand. Step 2: Save the configuration in the IPDU. Step 3: Edit the appropriate /etc/pm.* config file. Step 4: Restart pmd to re-read the config file.

vi Method The parameters described above must be changed by directly editing the /etc/portslave/plsave.conf file.

User Guide

296