HP Workgroup System AWSXCIG-1A manual Configure sendmail

Page 51

D Configure sendmail

LSF requires a mail program to send job output to users who submit jobs and to send administrative messages to the LSF administrator.

By default, LSF uses the sendmail mail program. The sendmail service is installed by default on the head node in /usr/lib/sendmail, but you must configure sendmail to meet your site requirements.

sendmail Configuration Requirements on an HP XC System

Although Linux sendmail typically functions correctly as shipped, current HP XC host naming conventions cause sendmail to improperly identify itself to other mail servers. This improper identification can lead to the mail being rejected by the remote server.

To remedy this issue, perform the following procedure on all nodes with an external connection that will send mail:

1.Be sure you know the fully qualified host name associated with the node's external IP address.

2.On the head node, add an entry for the IP address and fully qualified host name to the top of the /etc/hosts file. Make the entry above the comment #XC-CLUSTER Do Not Edit Below this Line. An entry is similar to the following:

192.0.2.3 penguin.southpole.com

In the previous example, penguin.southpole.com is the fully qualified host name, and

192.0.2.3 is its external IP address.

3.Save the changes to the file and exit the text editor.

4.Use the text editor of your choice to open and edit the following file:

/etc/mail/submit.cf

5.Locate the section of the file that is similar to this:

# my official domain name

# ... define this only if sendmail cannot automatically determine

# your domain #Dj$w.Foo.COM

6.Uncomment the macro and include the fully qualified host name. The entry is similar to this for penguin.southpole.com:

# my official domain name

# ... define this only if sendmail cannot automatically determine

# your domain

Djpenguin.southpole.com

7.Save the changes to the file and exit the text editor.

8.Use the text editor of your choice to open and edit the following file:

/etc/mail/sendmail.cf

9.Repeat steps 5 and 6 and make the same changes to the sendmail.cf file.

10.Save the changes to the file and exit the text editor.

11.Restart sendmail:

# service sendmail restart

To forward mail to users, the sendmail service requires users to create .forward files in their home directories to specify where mail is to be sent.

If you intend to make additional, more advanced modifications to sendmail, HP recommends that you do not modify the .cf files directly. Rather, modify the .mc files and run them through an M4 processor to create the .cf files. The M4 processing tools are part of the sendmail-cfRPM, which is not installed by default. The sendmail-cfRPM is available on the HP XC distribution DVD in the extra RPMs directory.

51

Image 51
Contents HP Workgroup System and XC Software Installation Guide Copyright 2008 Hewlett-Packard Development Company, L.P Table of Contents Cabling IP Addresses HP Workgroup System Specifications Thermal StabilizationOA IP Address List of FiguresEnclosure Bay Numbering Example Rear View Removing the BoxList of Tables Modify Database List of ExamplesPage Typographic Conventions About This DocumentIntended Audience Document OrganizationDocumentation Updates and Release Notes HP Encourages Your CommentsUser input HP Workgroup System Views HP Workgroup System Overview3shows an example rear view of the HP Workgroup System Hardware Preinstallation Checklist Hardware PrerequisitesFirmware Requirements HP c-Class BladeSystem Enclosure Components and Switches Can cause problemsUnpack the Enclosure Hardware SetupGently roll the unit down the ramp. Callout 1, Figure Removing the Ramp and Front CushionPlug the unit into a power source Installing and Starting Up the HardwareInterconnect Switch Save user information Setting Boot OrderEnabling Telnet Access Installing and Starting Up the Hardware Page Software Prerequisites Software Preinstallation ChecklistCopying the XC.lic File to Your Laptop Downloading XC Software PatchesCheck Choose DVD Connect to the enclosure DVD Associating the Enclosure DVD to the Head NodePage Boot linux ks=hdscd0/ks.cfg pci=nommconf XC Software InstallationBooting the DVD Boot linux ks=hdscd0/ks.cfgRunning the clusterprep Command # cd /opt/hptc/config/sbin# ./clusterprep --enclosurebased # cd /home/patches Installing Patches from Your Laptop# mkdir /home/patches # cp /media/iLO2FOLDER/* /home/patchesRunning the discover Command Putting the License Key File in the Correct Location# cp /media/iLO2-FOLDER/* /opt/hptc/etc/license/XC.lic Running the clusterconfig Command # ./discover --enclosurebased --single --ic=AdminNet# ./clusterconfig Example 5-2 clusterconfig Command Output Ok, Respecify Interfaces O Configuring the Snmp Trap Running the startsys CommandVerifying LSF-HPC with Slurm LSF Post-Configuration TasksFollow along with the OVP command output Running the OVP to Verify Software and Hardware ComponentsVerify the dynamic resource information Nagios Web Interface Nrg CommandCreating a Baseline Copy of the Database Creating a Baseline Report of the System ConfigurationStop bits Flow control Setting Up VlanConfirm saving to Flash y/n y For example Copy the file TroubleshootingUnable to Manually Set IP Addresses for the iLOs Changing External IP Addresses# siimage baseimage # sysstart imageandrebootLost Connection to the iLO Removing a Bad Golden ImageLost Terminal Window When in the IRC Page Additional Software Setup Information # scontrol reconfig# spconfig Page HP Workgroup System Specifications Additional Hardware Setup InformationTable B-2 Thermal Stabilization Specification Extend the Insight Display Panel IP Addresses on a Corporate NetworkCabling IP AddressesFigure C-3 OA IP Address Locate the section of the file that is similar to this Configure sendmailConfigure sendmail Network Base image GlossaryItrc NAT SMP LSF IndexXC installation, 27 XC license, 24 XC patches