3100_ig.pdf

16
www.novell.com Novell Training Services AUTHORIZED COURSEWARE Novell Training Services (en) 15 April 2009 Upgrading to Novell Certified Linux Professional 11 Instructor Guide 310 0

Upload: mariosergiosl

Post on 13-Apr-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3100_ig.pdf

No

vell T

rainin

g S

ervices (e

n)

Upgrading to Novell Certified Linux Professional 11 Instructor Guide

www.novel l .comNovell Training Services

A U T H O R I Z E D C O U R S E WA R E

15 A

pril

3 1 0 0

200

9

Page 2: 3100_ig.pdf

No

vell T

rainin

g S

ervices (e

n) 15

Ap

ril 200

9

Legal Notices

Novell, Inc., makes no representations or warranties with respect to the contents or use of this documentation, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc., reserves the right to revise this publication and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes.

Further, Novell, Inc., makes no representations or warranties with respect to any software, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc., reserves the right to make changes to any and all parts of Novell software, at any time, without any obligation to notify any person or entity of such changes.

Any products or technical information provided under this Agreement may be subject to U.S. export controls and the trade laws of other countries. You agree to comply with all export control regulations and to obtain any required licenses or classification to export, re-export or import deliverables. You agree not to export or re-export to entities on the current U.S. export exclusion lists or to any embargoed or terrorist countries as specified in the U.S. export laws. You agree to not use deliverables for prohibited nuclear, missile, or chemical biological weaponry end uses. See the Novell International Trade Services Web page (http://www.novell.com/info/exports/) for more information on exporting Novell software. Novell assumes no responsibility for your failure to obtain any necessary export approvals.

Copyright © 2008 Novell, Inc. All rights reserved. No part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted without the express written consent of the publisher.

Novell, Inc., has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed on the Novell Legal Patents Web page (http://www.novell.com/company/legal/patents/) and one or more additional patents or pending patent applications in the U.S. and in other countries.

Novell, Inc.

404 Wyman Street, Suite 500

Waltham, MA 02451

U.S.A.

www.novell.com

Online Documentation: To access the latest online documentation for this and other Novell products, see the Novell Documentation Web page (http://www.novell.com/documentation).

Novell Trademarks

For Novell trademarks, see the Novell Trademark and Service Mark list (http://www.novell.com/company/legal/trademarks/tmlist.html).

Third-Party Materials

All third-party trademarks are the property of their respective owners.

Page 3: 3100_ig.pdf

Contents

No

vell T

rainin

g S

ervices (e

n) 15

Ap

ril 200

9

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide 5

3100 Course Overview 5

Course Description 5

Audience 6

Certification and Prerequisites 6

Agenda 7

Course Deliverables 8

Classroom Setup 9

Set Up da-host 10

Set Up da1 14

Teaching Tips 15

Student Manual Tips 15

Student Workbook Tips 16

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

3Version 1

Page 4: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

No

vell T

rainin

g S

ervices (e

n) 15

Ap

ril 200

9

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 14

Page 5: 3100_ig.pdf

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

This Instructor Guide provides the following:

“3100 Course Overview” on page 5

“Classroom Setup” on page 9

“Teaching Tips” on page 15

3100 Course Overview

A brief overview of this course is provided in the following topics:

“Course Description” on page 5

“Audience” on page 6

“Certification and Prerequisites” on page 6

“Agenda” on page 7

“Course Deliverables” on page 8

Course Description

The Upgrading to Novell Certified Linux Professional 11 (3100) course covers topics that are new to the curriculum compared to the Novell Linux Certified Professional 10 curriculum. It covers objectives that have been added, as well as changes in the SUSE Linux Enterprise Server 11 and SUSE Linux Enterprise Desktop 11 products compared to the previous version 10.

The course prepares a CLP 10 to take the Novell® Certified Linux® Professional 11 (Novell CLP11) certification practicum test.

This course teaches you how to perform the following SUSE Linux Enterprise Server 11 administrative tasks:

Manage Software for SUSE Linux Enterprise

Manage Hardware

Manage NFS

Configure and Use OpenLDAP

Configure and Use Samba

Configure and Use IPv6

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

5Version 1

Page 6: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

Deploy SUSE Linux Enterprise 11

Manage Virtualization with XEN

Audience

This course is designed for Novell Certified Linux Professionals 10 who want to upgrade their certification to Novell CLP11.

Certification and Prerequisites

This course helps you prepare for the Novell Certified Linux Professional 11 (Novell CLP11) Practical Test, called a practicum. The Novell CLP 11 is an entry-level certification for people interested in becoming SUSE Linux Enterprise administrators.

As with all Novell certifications, course work is recommended. To achieve the certification, you are required to pass the Novell CLP 11 Practicum (050-721).

The Novell CLP 11 Practicum is a hands-on, scenario-based exam where you apply the knowledge you have learned to solve real-life problems—demonstrating that you know what to do and how to do it.

The practicum tests you on objectives from the following Novell CLP 11 courses:

SUSE Linux Enterprise 11 Fundamentals - Course 3101

SUSE Linux Enterprise 11 Administration - Course 3102

SUSE Linux Enterprise Server 11 Administration - Course 3103

The following illustrates the training/testing path for Novell CLP 11:

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 16

Page 7: 3100_ig.pdf

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

Figure Intro-1 Certification Path for Novell CLP 11

NOTE: For more information about Novell certification programs and taking the Novell CLP 11 Practicum, see (http://www.novell.com/training/certinfo/).

Agenda

The following is the suggested agenda when taught as an instructor-lead course:

Table Intro-1 Agenda

Section Duration

Day 1 Introduction 00:30

Section 1: Manage Software for SLE11 01:00

Section 2: Manage Hardware 00:30

Section 2: Configure NFS 01:00

Section 3: Configure and Use OpenLDAP 02:00

Section 4: Configure and Use Samba 01:00

Day 2 Section 4: Configure and Use Samba (cont’d) 01:00

Section 6: Configure and Use IPv6 01:00

Section 9: Deploy SUSE Linux Enterprise 02:00

Section 10: Manage Virtualization with XEN 02:00

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

7Version 1

Page 8: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

Course Deliverables

The following deliverables are available for course 3100:

“Student Kit Deliverables” on page 8

“CNI-Net Deliverables” on page 9

Download Deliverables

Course 3100 is available as a download at no charge. The 3100 ISO-image contains the following items:

Upgrading to Novell Certified Linux Professional 11 manual (PDF)

Upgrading to Novell Certified Linux Professional 11 workbook (PDF)

VMware virtual machines and setup instructions

Included are AutoYaST files, files needed for some of the exercises, the da1 VMware virtual machine, and an empty VMware virtual machine that is not used during the course and can be used by the student at his discretion, for instance to install and test SLED 11.

In addition to the above, you need:

SUSE Linux Enterprise Server 11 installation DVD

SUSE Linux Enterprise Desktop 11 installation DVD

CNI-Net Deliverables

The 3100 Course Materials page, which is available from the CNI Community web site (http://www.novell.com/community/cert/cni/), contains the above items, plus the following:

This instructor guide

Classroom Setup

The instructor and each student have a physical machine of their own. This physical machine is installed with SLES 11 (da-host). On this installation the VMware Player software is installed to run another SLES 11, called da1, in a virtual machine.

The required hardware consists of a x86 compatible computer with 2 GB RAM and 2 GHz clock speed, DVD drive, and Ethernet network card.

As we cannot provide the VMware Player software you have to download it from http://www.vmware.com (http://www.vmware.com).

The machines are connected to each other using an Ethernet network. Internet access is not vital during the course.

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 18

Page 9: 3100_ig.pdf

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

da1 provides services the students need for the exercises (such as DNS), and also serves as second machine in some of the exercises that involve two machines.

In the following it is explained how to setup the computer to do the exercises. You have to do the following:

“Set Up da-host” on page 10

“Set Up da1” on page 14

Set Up da-host

da-host is the machine where students work most of the time during the exercises. This machine will host the da1 VMware virtual machine. To install da-host, you can use one of the following methods:

“Install da-host by Using AutoYaST” on page 10

“Install da-host Manually” on page 11

After that, you have to do the following task:

“Install VMware Player” on page 13

Install da-host by Using AutoYaST

On the course CD in the Setup directory, you can find an AutoYaST XML file for the installation of da-host, called da-host.xml. Depending on your host’s hardware, copy the file to another storage device:

Table Intro-2 Copies of da-host.xml

To install da-host using AutoYaST, do the following:

1. Be sure there are no data on the server that you still need, because all existing data on the hard disk will be erased.

2. Boot the server from the SUSE Linux Enterprise Server 11 Product DVD.

3. When the installation screen appears, highlight the Installation option by using the arrow keys.

You have 20 seconds to highlight the option before GRUB boots from the hard drive.

Available Hardware Storage Location for da-host.xml

2 CD/DVD drives No copy needed

Floppy disk drive Copy to floppy disk

USB port Copy to USB stick or USB hard drive

NFS and DHCP server in your network Copy into the exported directory on your NFS server

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

9Version 1

Page 10: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

4. Set the display resolution by pressing F2; then select the display resolution matching your monitor, it should not be less than 1024x768.

5. Insert the media containing the file da-host.xml.

6. In the Boot Options field, type the following (depending on the media containing the da-host.xml file):

da-host.xml on the course DVD:

autoyast=dvd:///Setup/da-host.xml instmode=cd

da-host.xml on a floppy disk:

autoyast=floppy:///da-host.xml instmode=cd

da-host.xml on a USB device:

autoyast=usb:///da-host.xml instmode=cd

da-host.xml on an NFS server:

autoyast=nfs://IP-address/path_to_file/da-host.xml netsetup=dhcp

Then press Enter.

The kernel loads and the SUSE Linux Enterprise Server 11 installation begins.

YaST accesses the file da-host.xml and installs SLES 11 according to the configuration contained in that file.

7. (Conditional) If the installation stops at some early point, reset the computer, restart the installation and try one of the other installation options, like Installation—ACPI Disabled.

Install da-host Manually

To install da-host manually, do the following:

1. Boot your Workstation with the SUSE Linux Enterprise Server 11 DVD.

Wait while the machine boots.

2. When the GRUB installation screen appears, highlight the Installation option by using the arrow keys.

You have 20 seconds to highlight the option before GRUB boots from the hard drive.

3. Set the display resolution by pressing F2, then select the display resolution that matches your monitor. It should not be less than 1024x768.

4. In the Welcome dialog, do the following:

a. Make sure that the correct keyboard layout is selected in the Keyboard Layout menu. If not, select Keyboard Layout and choose your layout.

b. Select Yes, I Agree to the License Terms, then click Next.

5. In the Media Check, click Next.

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 110

Page 11: 3100_ig.pdf

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

6. From the Installation Mode dialog, make sure that New Installation is selected, then click Next.

7. Configure your time zone information by doing the following:

a. From the Clock and Time Zone dialog, select USA and Mountain (Denver); then click Change.

b. Set the Current Time and Current Date to match your current time and date; then select Accept.

Time is set according to the 24-hour clock format. The date format is dd/mm/yyyy.

c. Click Next.

8. In the Server Base Scenario dialog, ensure that Physical Machine is selected, then click Next.

9. From the Installation Settings dialog, do the following:

a. Check the suggested partitioning under the Partitioning heading. If it does not list partition 1 (/dev/sda1) for swap and partition 2 (/dev/sda2) for / (root), do the following:

i. Select Partitioning.

ii. Select your harddisk (the first entry in the Hard Disk box); then click Next.

iii. Click Use entire hard disk.

iv. Deselect Propose Separate Home Partition; then select Next. You are returned to the Installation Settings overview dialog.

b. To install software that is not included in the default selection, do the following:

i. Select Software from the Installation Settings dialog.

ii. Select the C/C++ Compiler and Tools Pattern, then select Accept

iii. When prompted to accept software licenses, click Accept. (5 times)

iv. When prompted to review the automatic changes, click Continue. You are returned to the Installation Settings overview dialog.

c. Click Install.

d. When prompted to confirm the installation, click Install. Wait while the initial installation is performed.

After the initial installation is complete, SLES 11 restarts.

10. In the Password for the System Administrator “root” dialog, as password type novell, then click Next. Confirm the two warnings by clicking Yes.

11. In the Hostname and Domain Name dialog type the following information, then click Next.

Hostname: da-host

Domain Name: digitalairlines.com

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

11Version 1

Page 12: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

Change Hostname via DHCP: Deselect

Write Hostname to /etc/hosts: Select

12. In the Network Configuration dialog, configure your network settings by doing the following, then click Next:

a. From the Network Configuration dialog, select the Firewall entry configure the following settings: disable. The line will change to Firewall is disabled.

Allowed Services: Secure Shell Server

Allowed Services: Advanced > TCP and UDP ports 67:69

Masquerading: Select Masquerade Networks

b. From the Network Configuration dialog, select Network Interfaces > Hostname/DNS tab.

In the Name Server 1 field, enter 172.17.8.101 and make sure that digitalairlines.com appears in the Domain Search field, then click OK.

13. From the Test Internet Connection dialog, select No, Skip This Test, then click Next.

14. In the Installation Overview dialog, make sure that Use Following Configuration is selected, then click Next.

15. In the User Authentication dialog, make sure Local (/etc/passwd) is selected, then click Next.

16. In the New Local User dialog, enter the following, then click Next

User’s Full Name: Geeko Novell

Username: geeko

Password: novell

Confirm Password: novell

Confirm the warnings by clicking Yes.

17. In the Release Notes dialog, click Next.

18. In the Hardware Configuration dialog, make sure that the values for Resolution and Monitor are correct for your hardware, then click Next.

19. In the Installation Completed dialog, click Finish.

The installation is completed and the SLES 11 login screen appears.

20. Remove the SUSE Linux Enterprise Server 11 DVD from your DVD drive.

Install VMware Player

To install VMware Player on da-host, do the following:

1. Download the VMware Player for Linux software from http://www.vmware.com/download/player/ (http://www.vmware.com/download/player/).

2. Login to the graphical desktop as geeko (password: novell).

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 112

Page 13: 3100_ig.pdf

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

3. Open a terminal and switch to user root by entering su - (password: novell).

4. Install VMware Player by entering

rpm -ihv /path/to/VMware-Player-2.x.x-x.i386.rpm

5. Create the /vmware directory and make it writable for regular users:

mkdir -m 1777 /vmware

6. Unpack the da1-sles11.zip archive:

cd /vmware

unzip /path/to/da1-sles11.zip

chown -R geeko: /vmware/da1-sles11

7. Create the /etc/sysconfig/network/ifcfg-vmnet1 file with the following content:

BOOTPROTO='static'STARTMODE='auto'USERCONTROL='no'IPADDR='172.17.8.1/16'

8. To make sure the settings in the file take effect, reboot your computer.

9. After the reboot, log in as geeko and open a terminal window.

10. In the terminal window, enter ip a s dev vmnet1. You should see an output similar to the following:

da-host:~ # ip a s dev vmnet16: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff inet 192.168.172.1/24 brd 192.168.172.255 scope global vmnet1 inet 172.17.8.1/16 brd 172.17.255.255 scope global vmnet1 inet6 fe80::250:56ff:fec0:1/64 scope link valid_lft forever preferred_lft forever

The other address you see in the output above (192.168.172.1/24) is the address VMware Player assigns to the interface. It is not relevant, as da1 uses a fixed IP address (172.17.8.101/16) and does not rely on IP addresses being distributed by VMware Player via DHCP.

Set Up da1

da1 is a SUSE Linux Enterprise Server 11. This virtual machine provides services, you need for the exercises (like DNS). To set up the machine, do the following:

1. As user Geeko, open the main menu, click More Applications and select System > VMware Player.

2. In the End User License Agreement dialog, click Accept.

3. (Optional) If you are prompted to download available updates, click Cancel.

4. Click Open an existing Virtual Machine.

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

13Version 1

Page 14: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

5. Navigate to the /vmware/da1-sles11 directory and select da1-sles11.vmx, then click Open.

6. When prompted whether you moved or copied the VM, click I copied it.

The virtual machine starts.

7. To change the keyboard layout from US English to another one, do the following:

a. log in as user geeko with password novell.

b. Start YaST and select Hardware > Keyboard Layout.

c. Select your keyboard layout from the Layout menu and click OK.

d. When prompted to test your settings, click Test.

e. In the XFine2 dialog, click Save.

f. In the Configuration Saved dialog, click Yes.

g. Close the YaST Control Center

8. Open a terminal window and ping da-host with the following command:

ping da-host.digitalairlines.com

You should see echo replies.

9. You are now ready to begin with the first exercise.

NOTE: Included on the course DVD is the emptyVM.zip file that contains a VMware image with no operating system installed. It is not used during the course. You could use it, for instance, to install a SLES 11 server or SLED11 desktop and configure it according to your own requirements.

Teaching Tips

The teaching tips include

Student Manual Tips

The following are tips and feedback specific to the student manual from the beta teach of Course 3100:

Section 1: Manage Software for SLE11

No tips for this section at this time.

Section 2: Manage Hardware

No tips for this section at this time.

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 114

Page 15: 3100_ig.pdf

Upgrading to Novell Certified Linux Professional 11 (Course 3100) Instructor Guide

Section 3: Manage NFS

When exporting a directory using the YaST NFS Server module, a comma is missing in the suggested options for NFSv4. Instead of crossmnt,rw,... it suggests crossmntrw,... You should mention this to the students as the options get written incorrectly to the /etc/exports file and the NFS server fails to start.

Section 4: Configure and Use OpenLDAP

No tips for this section at this time.

Section 5: Configure and Use Samba

No tips for this section at this time.

Section 6: Internet Protocol Version 6 (IPv6)

To familiarize yourself with IPv6 we recommend to test 6to4-Tunneling as described in the manual, or to apply for a 6in4-Tunnel with www.sixxs.net or other provider and test that.

Section 7: Deploy SUSE Linux Enterprise 11

The steps to create an Add-on Product repository and the add_on_products.xml file need to be followed exactly for it to work.

Section 8: Manage Virtualization with Xen

It is not possible to change a DVD using virt-manager, one has to use the command line. Otherwise Xen works quite well.

Student Workbook Tips

We did our best to incorporate the feedback from the beta into the final version of the exercises, there is little to add at this point.

The following are tips and feedback specific to the student workbook from the beta teach of Course 3100:

Section 1: Manage Software for SLE11

No tips for this section at this time.

Section 2: Manage Hardware

No tips for this section at this time.

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

15Version 1

Page 16: 3100_ig.pdf

SUSE Linux Enterprise Server 11 Administration / Instructor Guide

Section 3: Configure NFS

No tips for this section at this time.

Section 4: Configure and Use OpenLDAP

Exercise 3-1, Part IV:

The LDIF file is available on the 3100 ISO image.

Section 5: Configure and Use Samba

No tips for this section at this time.

Section 6: Internet Protocol Version 6 (IPv6)

No tips for this section at this time.

Section 7: Deploy SUSE Linux Enterprise 11

Exercise 9-1, Part II:

The steps to create an Add-on Product repository and the add_on_products.xml file need to be followed exactly for it to work.

Section 8: Manage Virtualization with Xen

Exercise 10-4:

Encourage students to create a script that automatically starts and stops managed domains.

Copying all or part of this manual, or distributing such copies, is strictly prohibited.To report suspected copying, please call 1-800-PIRATES.

Version 116