ibm.com/redbooksRedpaperIBM Front coverDeploying Samba on IBM Eserver BladeCenterRufus CredleEric ButlerTim VerhoevenDavid GreenInstalling Red Hat 7.
viii Deploying Samba on IBM Eserver BladeCenterThanks to the following people for their contributions to this project:Tamikia Barrow, Diane O’Shea, G
88 Deploying Samba on IBM Eserver BladeCenterThe global log parameters will look similar to what is shown in Example 5-13.Example 5-13 Log settings
Chapter 5. Samba management and troubleshooting 89and max log size parameters do determine the amount of information logged and the maximum log size.
90 Deploying Samba on IBM Eserver BladeCenter5.6 Viewing NetBIOS network trafficThere are times when the only way to debug is to view the network tr
Chapter 5. Samba management and troubleshooting 91Viewing all the NetBIOS traffic to and from the server can be done using the command:tethereal -i e
92 Deploying Samba on IBM Eserver BladeCenter 0.004048 ibm-76a6i5kadj8 -> portal1.itso.ral.ibm.com DCERPC Bind: UUID 4b324fc8-1670-01d3-1278-5a47
Chapter 5. Samba management and troubleshooting 93Ethernet II Destination: 00:02:55:7c:75:1b (IBM_7c:75:1b) Source: 00:02:55:7c:75:18 (IBM_7c:7
94 Deploying Samba on IBM Eserver BladeCenter5.7 Sources of additional informationThere is more information about testing Samba using the programs t
© Copyright IBM Corp. 2002, 2003. All rights reserved. 95Chapter 6. A brief introduction to Layer 4-7 Switching This chapter provides a brief overview
96 Deploying Samba on IBM Eserver BladeCenter6.1 Layer 4-7 SwitchingMost networks employ multiple servers without server load balancing. Each server
Chapter 6. A brief introduction to Layer 4-7 Switching 97Figure 6-1 Sample L4-7 configurationFigure 6-1 shows how services can be deployed using La
© Copyright IBM Corp. 2002, 2003. All rights reserved. ixSummary of changesThis section describes the technical changes made in this edition of the pa
98 Deploying Samba on IBM Eserver BladeCenterIn the example in Figure 6-1 on page 97, virtual server load balancing is used. The switch has two diffe
© Copyright IBM Corp. 2002, 2003. All rights reserved. 99Appendix A. Samba configuration fileThis appendix provides a sample configuration file.A
100 Deploying Samba on IBM Eserver BladeCenterSample smb.conf with comments# This is the main Samba configuration file. You should read the # smb.con
Appendix A. Samba configuration file 101# yours is non-standard. Currently supported print systems include:# bsd, sysv, plp, lprng, aix, hpux, qnx;
102 Deploying Samba on IBM Eserver BladeCentersmb passwd file = /etc/samba/smbpasswd# The following are needed to allow password changing from Window
Appendix A. Samba configuration file 103# a specific host or from / to a whole subnet (see below); remote browse sync = 192.168.3.25 192.168.
104 Deploying Samba on IBM Eserver BladeCenter# if you enable domain logons then you may want a per-machine or# per user logon script# run a specific
Appendix A. Samba configuration file 105# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both; wins server = w.x.y.z# WIN
106 Deploying Samba on IBM Eserver BladeCenter# Un-comment the following and create the netlogon directory for Domain Logons; [netlogon]; comment =
Appendix A. Samba configuration file 107; comment = Temporary file space; path = /tmp; read only = no; public = yes# A publicly accessible di
x Deploying Samba on IBM Eserver BladeCenter
108 Deploying Samba on IBM Eserver BladeCenter# A private directory, usable only by fred. Note that fred requires write# access to the directory.;[fr
Appendix A. Samba configuration file 109# The following two entries demonstrate how to share a directory so that two# users can place files there tha
110 Deploying Samba on IBM Eserver BladeCenter
© Copyright IBM Corp. 2002, 2003. All rights reserved. 111Related publicationsThe publications listed in this section are considered particularly suit
112 Deploying Samba on IBM Eserver BladeCenter IBM ServerProvenhttp://www.ibm.com/pc/compat/ IBM Eserver BladeCenter - Power Module Upgrade Guideli
®INTERNATIONAL TECHNICALSUPPORTORGANIZATIONBUILDING TECHNICAL INFORMATION BASED ON PRACTICAL EXPERIENCEIBM Redbooks are developed by the IBM Internati
© Copyright IBM Corp. 2002, 2003. All rights reserved. 1Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantagesIn this chapte
2 Deploying Samba on IBM Eserver BladeCenter1.1 Introduction to blade server technologyBlade servers are a relatively new technology that has captur
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 31.2 Technical overviewIn this section, we will look at each of the
4 Deploying Samba on IBM Eserver BladeCenterOver- temperature This is an amber LED which will report any over-temperature conditions that occur eithe
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 5Figure 1-3 Rear view of BladeCenter chassisThe IBM Eserver BladeC
6 Deploying Samba on IBM Eserver BladeCenterFigure 1-4 BladeCenter HS20 with top cover removedEach BladeCenter HS20 has an integrated service proce
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 7Each controller is auto-sensing and will connect at the appropriate
8 Deploying Samba on IBM Eserver BladeCenterLike the IBM Eserver BladeCenter’s media tray, this control panel also has system information LEDs. The o
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 9Figure 1-6 BladeCenter Management ModuleThe Management Module has
10 Deploying Samba on IBM Eserver BladeCenterFigure 1-7 BladeCenter 1200W Power Supply ModulePower Modules 3 and 4 are required to provide power to
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 11The Technical Update can be obtained from the following URLs:http:
12 Deploying Samba on IBM Eserver BladeCenterFigure 1-9 BladeCenter Blower Module1.2.6 BladeCenter 4-Port Ethernet Switch ModuleThe Ethernet Switc
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 13Figure 1-10 BladeCenter 4-Port Ethernet Switch ModuleIn Figure 1
14 Deploying Samba on IBM Eserver BladeCenterFigure 1-11 BladeCenter 4-port Ethernet Switch ModuleIn Figure 1-11, the two LEDs at the top of the sw
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 15Figure 1-12 BladeCenter 2-Port Fibre Channel Switch ModuleThe st
16 Deploying Samba on IBM Eserver BladeCenter1.3 The advantages of IBM eServer BladeCenterUnlike typical server architecture which scales up, the Bl
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 17 Fans Power supplies SCSI HDDs Integration with enterprise sys
International Technical Support OrganizationDeploying Samba on IBM Eserver BladeCenter November 2003
18 Deploying Samba on IBM Eserver BladeCenterThe Web interface allows you to manage and check the status of each of the modules and blade servers. Be
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 19twice the current density of a non-blade server. The IBM Eserver B
20 Deploying Samba on IBM Eserver BladeCenterCPUs. It also shows the heat output in BTUs, which can affect the cooling of your computer room and othe
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 21 Disk mirroring MidPlane Hot-swap power and cooling modules Sw
22 Deploying Samba on IBM Eserver BladeCenterHot-spare bladesMidPlane supports hot-spare blade servers; this operates in the same fashion as the hot-
Chapter 1. Introduction to IBM eServer BladeCenter technology and its advantages 23Figure 1-15 Acoustic Attenuation ModulePowerThe IBM Eserver Blad
24 Deploying Samba on IBM Eserver BladeCenterEthernetTwo hot-swap 1 GB Ethernet four port switch models can be installed in switch module bays 1 and
© Copyright IBM Corp. 2002, 2003. All rights reserved. 25Chapter 2. SambaSamba is an implementation of a Server Message Block (SMB) protocol server th
26 Deploying Samba on IBM Eserver BladeCenter2.1 What is Samba?Samba is a suite of programs that work together to allow UNIX systems to access serve
Chapter 2. Samba 27With the utilities in the Samba suite: You can access any shared directory or printer on Windows NT servers or Samba servers and
© Copyright International Business Machines Corporation 2002, 2003. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, dupli
28 Deploying Samba on IBM Eserver BladeCenter
© Copyright IBM Corp. 2002, 2003. All rights reserved. 29Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director AgentIn this chapter, we will d
30 Deploying Samba on IBM Eserver BladeCenter3.1 Installation of Red Hat Linux 7.3We will discuss three methods of installing Red Hat Linux on a Bla
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 31Figure 3-1 Language Selection4. Select English and click Next.Figure 3-2 Ke
32 Deploying Samba on IBM Eserver BladeCenterFigure 3-3 Mouse Selection6. Select 2 Button Mouse (USB) and click Next.Figure 3-4 Install Options7.
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 33Figure 3-5 Disk Partitioning8. Partition the hard drive using either the auto
34 Deploying Samba on IBM Eserver BladeCenter9. Select Use GRUB as the boot loader, /dev/hda Master Boot Record (MBR), Default boot image, and click
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 35– Utilities– Software Development– Kernel Source15.After the system is rebooted
36 Deploying Samba on IBM Eserver BladeCenter7. Move the i386 rpms that are replaced by i686 rpms into the noInstall directory using the following co
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 37md5sum: rh-7.3-en-i386-cd6.iso: No such file or directoryrh-7.3-en-i386-cd6.iso
© Copyright IBM Corp. 2002, 2003. All rights reserved. iiiContentsNotices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38 Deploying Samba on IBM Eserver BladeCenter8. Copy all the files in cd1/RedHat/base into RedHat/base using cp -r cd1/RedHat/base/RedHat.9. Make sym
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 392. Create a temporary work directory for all the files and two directories for
40 Deploying Samba on IBM Eserver BladeCenter18.Copy into this directory the bcm5700 module, installed on the system in step 1, by executing:cp /lib/
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 41Figure 3-8 NFS install server settings 8. Type in the NFS sever IP address an
42 Deploying Samba on IBM Eserver BladeCenterFigure 3-9 FTP setup window8. Type in the IP address of the FTP server and directory path to RedHat re
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 433. Install the DHCP server using rpm -ivh dhcp-2.0pl5-8.i386.rpm.4. Copy the sa
44 Deploying Samba on IBM Eserver BladeCenter11.Add the following lines to the end of the /etc/rc.d/rc.local file:Example 3-13 Commands in rc.local
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 456. Click Save.To use PXE for the installation, press F12 at the BIOS startup wi
46 Deploying Samba on IBM Eserver BladeCenterFigure 3-10 NFS install setup window10.Type in the NFS sever IP address and the path to the iso files.
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 47Figure 3-11 SLES Installation - Language selection4. For the IBM Eserver Blad
iv Deploying Samba on IBM Eserver BladeCenter3.6 Installation of IBM Director Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48 Deploying Samba on IBM Eserver BladeCenterFigure 3-12 SLES Installation - Mouse Configuration– Mouse: Click Mouse if you need to change the type
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 49• Modify the proposal, by clicking Base partition setup on this proposal and th
50 Deploying Samba on IBM Eserver BladeCenter– Time zone: Click Time zone to modify the default time zone for the installation. Select the correct ti
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 5112.The Desktop Settings window displays. Select one of the following options:–T
52 Deploying Samba on IBM Eserver BladeCenterFigure 3-16 SLES Installation - Hardware configuration24.The Installation Settings display enables you
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 53 IBM Director Server IBM Director Agent IBM Director ConsoleA different comb
54 Deploying Samba on IBM Eserver BladeCenter3.6.2 Installation of IBM Director Agent on LinuxThis section discusses the requirements and installati
Chapter 3. Installation of Red Hat Linux 7.3 and IBM Director Agent 553. Type the following command and press Enter:cd /mnt/cdrom/director/agent/linu
56 Deploying Samba on IBM Eserver BladeCenter
© Copyright IBM Corp. 2002, 2003. All rights reserved. 57Chapter 4. Installing and configuring SambaIn this chapter, we will perform the installation
© Copyright IBM Corp. 2002, 2003. All rights reserved. vNoticesThis information was developed for products and services offered in the U.S.A. IBM may
58 Deploying Samba on IBM Eserver BladeCenter4.1 Installing SambaSince the version of Samba on the install CDs is usually downlevel, it is best to d
Chapter 4. Installing and configuring Samba 59You will find our sample smb.conf configuration file in Appendix A, “Samba configuration file” on page
60 Deploying Samba on IBM Eserver BladeCenterGlobal security settingsThe global security settings will look similar to what is shown in Example 4-3.E
Chapter 4. Installing and configuring Samba 61The parameters are described in Table 4-4.Table 4-4 Name resolution parametersDefining sharesThe prev
62 Deploying Samba on IBM Eserver BladeCenterEach share definition starts with the share name in brackets “[]”. Below this name are the parameters an
Chapter 4. Installing and configuring Samba 63Example 4-6 Home directory parameters[homes]comment = Home Directoriespath = %Hvalid users = %Sbrowse
64 Deploying Samba on IBM Eserver BladeCenter4.2.2 Using SWATThe Samba Web Administration Tool (SWAT) allows the remote modification of the smb.conf
Chapter 4. Installing and configuring Samba 65Figure 4-2 SWAT home pageAs you can see in Figure 4-2, there are seven categories available:1. Home -
66 Deploying Samba on IBM Eserver BladeCenterGlobalsClicking the Globals icon will take you to a page similar to Figure 4-3.Figure 4-3 Globals page
Chapter 4. Installing and configuring Samba 67SharesClicking the Shares icon will take you to a page similar to Figure 4-5.Figure 4-5 Shares pageOn
vi Deploying Samba on IBM Eserver BladeCenterTrademarksThe following terms are trademarks of the International Business Machines Corporation in the U
68 Deploying Samba on IBM Eserver BladeCenter2. Click Choose Share. The options will be displayed on a page similar to Figure 4-7, which shows the ba
Chapter 4. Installing and configuring Samba 69Creating a new shareTo create a simple share,do the following.1. Create a directory that will be used f
70 Deploying Samba on IBM Eserver BladeCenterFigure 4-9 Setting share parameters5. Fill in the needed parameters, as in Figure 4-9. If you need to
Chapter 4. Installing and configuring Samba 71Figure 4-10 Viewing configuration file8. Restart the Samba server is described in section “Starting,
72 Deploying Samba on IBM Eserver BladeCenterFigure 4-11 Printers pageTo view the printers parameters,do the following.1. Select printers from the
Chapter 4. Installing and configuring Samba 73Figure 4-13 Modify printer settings3. If any options are modified, clicking Commit Changes will save
74 Deploying Samba on IBM Eserver BladeCenterFigure 4-14 Server statusViewClicking the View icon will display a page with contents of the configura
Chapter 4. Installing and configuring Samba 75Figure 4-15 Password pageUsers changing a passwordWhen a non-admin ID logs into SWAT and click the Pa
76 Deploying Samba on IBM Eserver BladeCenterFigure 4-16 User changing password4.3 Encrypted password fileSince password encryption is required fo
Chapter 4. Installing and configuring Samba 77Example 4-8 Setting SMB encrypted password# /usr/bin/smbpasswd -U mojoeNew SMB password:Retype new SM
© Copyright IBM Corp. 2002, 2003. All rights reserved. viiPrefaceAs data centers have grown with the proliferation of Intel®-based servers over recent
78 Deploying Samba on IBM Eserver BladeCenterExample 4-9 Setting and checking smb start on boot[root@blade5 samba]# chkconfig smb on[root@blade5 sa
© Copyright IBM Corp. 2002, 2003. All rights reserved. 79Chapter 5. Samba management and troubleshootingIn this chapter, we will discuss and describe
80 Deploying Samba on IBM Eserver BladeCenter5.1 Checking the server statusThe Samba suite has several programs that can be used for checking the sm
Chapter 5. Samba management and troubleshooting 81Example 5-3 Public resources[root@portal1 root]# smbclient -U% -L localhostadded interface ip=9.2
82 Deploying Samba on IBM Eserver BladeCenter --------- ------- DUMMYBRANCH M23BK62W FCD90020 FC
Chapter 5. Samba management and troubleshooting 835.2 Testing the configuration fileThe Samba configuration file can be checked with the testparm co
84 Deploying Samba on IBM Eserver BladeCenterAny errors will show up at the top of the report under the section where the error is located. The rest
Chapter 5. Samba management and troubleshooting 85 write list = @users read only = No[printers] comment = All Printers pa
86 Deploying Samba on IBM Eserver BladeCenterExample 5-12 shows the server status before and after the connection to the redbook share is closed.Exam
Chapter 5. Samba management and troubleshooting 875.3.2 SWATConnections can be closed from the SWAT status page by clicking the button in the kill c
Commentaires sur ces manuels