Top Banner
Novell® Open Enterprise Server 2 on Linux: Installation and Migration for Absolute Beginners Marcus Gould Premium Support Engineer [email protected]
197
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: C L113

Novell® Open Enterprise Server 2 on Linux:Installation and Migration for Absolute Beginners

Marcus GouldPremium Support [email protected]

Page 2: C L113

Introduction

Page 3: C L113

© Novell, Inc. All rights reserved.3

Agenda

• Install a new Novell® Open Enterprise Server 2 Linux Server Into An Existing Tree

• Migrate from OES NetWare® to OES Linux

• Compare and Contrast

• Learn new things

Page 4: C L113

© Novell, Inc. All rights reserved.4

What To Expect

• An introduction

• A quick march up the learning curve

• Overcome the fear of the unknown

• Lots of new information

• Building on what you already know

...Give you the knowledge and confidence to grabthe DVDs and build your first OES2 server...

Page 5: C L113

© Novell, Inc. All rights reserved.5

What Not To Expect

• A month of Advanced Technical Training in two hours

• Lots of depth

• Answers to everything– No NCS, DNS, DHCP, AFP, CIFS, DSfW, DST, SMS, SLP, NSM,

NFR, NAM, FTP, iSCSI, NTP, ZAM, ZDM, ZPM, ZSM, ZCM, NetStorage, iFolder, Apache, Tomcat, GroupWise, BorderManager or Sentinel!

Page 6: C L113

© Novell, Inc. All rights reserved.6

Recursion!

• My computer dictionary says– Recursion /rikursh’n/noun-- See recursion.

• We'll look at it later!

Page 7: C L113

Demonstration Lab Setup

Page 8: C L113

© Novell, Inc. All rights reserved.8

Current Tree

• London– NetWare® 6.5 SP8– DNS and DHCP– FTP installation source

Page 9: C L113

© Novell, Inc. All rights reserved.9

Current Tree

• Manchester– NetWare® 6.5 SP8– DATAVOL: with some test data– iPrint Broker

Printer drivers– Print Manager

Test printer

Page 10: C L113

© Novell, Inc. All rights reserved.10

Setup

• New Server– Unformatted machine - two disks

8Gb

10Gb

Page 11: C L113

Demonstration

Page 12: C L113

© Novell, Inc. All rights reserved.12

Summary of an Installation and Migration

8GbLondon

192.168.100.10SYS:

DHCP

DNS

FTP

M [Root]

Page 13: C L113

© Novell, Inc. All rights reserved.13

Summary of an Installation and Migration

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

M [Root]

Page 14: C L113

© Novell, Inc. All rights reserved.14

Summary of an Installation and Migration

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SLES10 SP3OES2 SP2

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

Copy install media to London

M [Root]

Page 15: C L113

© Novell, Inc. All rights reserved.15

Summary of an Installation and Migration

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

Make files available via FTP

M [Root]

Page 16: C L113

© Novell, Inc. All rights reserved.16

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

/

temp192.168.100.30Boot from SLES10 SP3

M [Root]

Page 17: C L113

© Novell, Inc. All rights reserved.17

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

/

temp192.168.100.30Build temp using London as source

M [Root]

Page 18: C L113

© Novell, Inc. All rights reserved.18

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

/

temp192.168.100.30

Print Manager

Driver Store

Ensure pre-migration server, NCP™, NSS, iPrint and iManager are selected – other needed components will be selected automatically

M [Root]

Page 19: C L113

© Novell, Inc. All rights reserved.19

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

/

temp192.168.100.30

Print Manager

Driver Store

Configure NSS and create new volume

M [Root]

DATAVOL:

Page 20: C L113

© Novell, Inc. All rights reserved.20

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

/Man_Print_Manager

Man_Driver_Store

temp192.168.100.30

Print Manager

Driver Store

Configure iPrint – create new Driver Store and Print Manager

M [Root]

DATAVOL:

Page 21: C L113

© Novell, Inc. All rights reserved.21

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

DATAVOL:

/Man_Print_Manager

Man_Driver_Store

temp192.168.100.30

Print Manager

Driver Store

Run miggui to migrate

miggui

M [Root]

Page 22: C L113

© Novell, Inc. All rights reserved.22

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

DATAVOL:

/Man_Print_Manager

Man_Driver_Store

temp192.168.100.30

Print Manager

Driver Store

Run miggui to migrate Files

miggui

M [Root]

Page 23: C L113

© Novell, Inc. All rights reserved.23

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

DATAVOL:

/Man_Print_Manager

Man_Driver_Store

Man_HPJL4Driverstemp192.168.100.30

Print Manager

Driver Store

Run miggui to migrate Files Broker, Manager, Drivers and Printers

miggui

M [Root]

Page 24: C L113

© Novell, Inc. All rights reserved.24

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

DATAVOL:

/RW [Root]

Man_Print_Manager

Man_Driver_Store

Man_HPJL4Driverstemp192.168.100.30

Print Manager

Driver Store

Run miggui to migrate Files Broker, Manager, Drivers and Printers eDirectory Database, including replicas

miggui

M [Root]

Page 25: C L113

© Novell, Inc. All rights reserved.25

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

DATAVOL:

/RW [Root]

Man_Print_Manager

Man_Driver_Store

Man_HPJL4DriversManchester192.168.100.20

Print Manager

Driver Store

Run miggui to migrate Files Broker, Manager, Drivers and Printers eDirectory Database, including replicas Identity – Name, Address, NICI keys, and certificates

miggui

M [Root]

Page 26: C L113

© Novell, Inc. All rights reserved.26

Summary of an Installation and Migration

8Gb

10Gb

10Gb

8Gb8GbLondon

192.168.100.10Manchester192.168.100.20

SYS:

DATAVOL:

SYS:

DHCP

DNS

FTP

Broker

NDPSM RW [Root]

Man_NDPSM

Man_HPJL4

Man_Broker

Drivers

DATAVOL:

/RW [Root]

Man_Print_Manager

Man_Driver_Store

Man_HPJL4DriversManchester192.168.100.20

Print Manager

Driver Store

Decommission old server

M [Root]

Page 27: C L113

© Novell, Inc. All rights reserved.27

Summary of an Installation and Migration

8Gb

10Gb8GbLondon

192.168.100.10SYS:

DHCP

DNS

FTP

DATAVOL:

/RW [Root]

Man_Print_Manager

Man_Driver_Store

Man_HPJL4DriversManchester192.168.100.20

Print Manager

Driver Store

Clean up and test new server

M [Root]

Page 28: C L113

© Novell, Inc. All rights reserved.28

Summary of an Installation and Migration

8Gb

10Gb8GbLondon

192.168.100.10SYS:

DHCP

DNS

FTP

DATAVOL:

/RW [Root]

Man_Print_Manager

Man_Driver_Store

Man_HPJL4DriversManchester192.168.100.20

Print Manager

Driver Store

M [Root]

Page 29: C L113

© Novell, Inc. All rights reserved.29

Summary of an Installation and Migration – Start Point

Page 30: C L113

© Novell, Inc. All rights reserved.30

Summary of an Installation and Migration – Temp OES Server Added

Page 31: C L113

© Novell, Inc. All rights reserved.31

Summary of an Installation and Migration – Migration Complete

Page 32: C L113

© Novell, Inc. All rights reserved.32

Live Demo

• Let's go...

Page 33: C L113

Linux Overview

Page 34: C L113

© Novell, Inc. All rights reserved.34

Background

• First version in 1991

• Linux is technically just the kernel– Requires the GNU utilities– Hence the full name GNU/Linux

Page 35: C L113

© Novell, Inc. All rights reserved.35

What Do You Mean, Free?

• No restrictions: libre

• Costs no money: gratis

• General Public License (GPL)– Four Freedoms: Use, Study, Redistribute, Change– Changes and improvements must remain free (unlike BSD

licence)

• Open Source software is free but can still be charged for

– e.g.SUSE® Linux Enterprise Server, Red Hat, etc

Page 36: C L113

© Novell, Inc. All rights reserved.36

openSUSE® and SUSE® Linux Enterprise• openSUSE

– Open Source project sponsored by Novell®

– Developed by Novell and the community– Free (gratis), free (libre) and unsupported by Novell– At the leading edge– Once openSUSE has matured and stabilised...

• SUSE Linux Enterprise (SLE)– Commercial release– Paid for by subscription and supported by Novell– Some proprietary extras

Page 37: C L113

© Novell, Inc. All rights reserved.37

SUSE® Linux Enterprise Server Platform Support• x86

• x86_64 (AMD64 and Intel EM64T)

• IA64 (Itanium 2)

• IBM POWER

• IBM System z (64-bit)

Page 38: C L113

OES Overview

Page 39: C L113

© Novell, Inc. All rights reserved.39

Background

• SUSE® Linux running NetWare® services– ...And some new ones

• Proprietary, not free

• Looks just like NetWare to users

• OES1 released in March 2005

• OES2 released October 2007

Page 40: C L113

© Novell, Inc. All rights reserved.40

Platform Support

• x86

• x86_64 (AMD64 and Intel EM64T)

Page 41: C L113

© Novell, Inc. All rights reserved.41

Version Control

• Cannot mix and match– OES2 SP1 requires SLES10 SP2– OES2 SP2 requires SLES10 SP3– ...etc

Page 42: C L113

Problems, Problems, Problems

Page 43: C L113

© Novell, Inc. All rights reserved.43

The Biggest Problem With Linux is...?

Page 44: C L113

© Novell, Inc. All rights reserved.44

The Biggest Problem With Linux is...?

• Choice!

Page 45: C L113

© Novell, Inc. All rights reserved.45

The Biggest Problem With Linux is...?

• Which one is better?

• Which one is right?

• Which one would Novell® recommend?

• Which one do you like best?

...If you ask ten people, how many different answers do you think you will get?

Page 46: C L113

© Novell, Inc. All rights reserved.46

Is NetWare® Any Better?

Page 47: C L113

© Novell, Inc. All rights reserved.47

GNOME Desktop

• GNU Network Object Model Environment

• Focus on usability and simplicity

• Default desktop with SLES and OES

• Runs on X Windows

Page 48: C L113

© Novell, Inc. All rights reserved.48

KDE Desktop

• K Desktop Environment

• Feature-rich

• Can be installedinstead of GNOME(or as well as)

• Runs on X Windows

Page 49: C L113

© Novell, Inc. All rights reserved.49

File Systems: ReiserFS

• Advantages– Simple, quick, stable– Good performance and recovery– Efficient disk usage– Best with many small files

• Disadvantages– Only supports metadata journalling– Repair tools not very robust– Not so good with large files

Page 50: C L113

© Novell, Inc. All rights reserved.50

File Systems: EXT3

• Advantages– Quick, stable– Handles large files well– Supports metadata journalling and data writes

• Disadvantages– Does not scale well to large volumes– Does not scale well to many (>500 per directory) small files

Page 51: C L113

© Novell, Inc. All rights reserved.51

File Systems: NSS

• Advantages– Very rich metadata (rights model)– Salvage, compression, shredding, snapshots, user quotas

• Disadvantages– So many features may present an overhead

Page 52: C L113

The Basics

Page 53: C L113

© Novell, Inc. All rights reserved.53

Scalability and Resilience

• OES NetWare®

– 32 Bit - 4 Gb address space– Most code executes in Ring 0– Some code executes in protected memory

• OES Linux– 32 Bit - 4 Gb address space– 64 Bit - Huge address space– Most code executes in protected memory– Some code executes in Ring 0

Page 54: C L113

© Novell, Inc. All rights reserved.54

Code

• OES NetWare®

– NetWare Loadable Module (NLM)– Both programs and libraries are modules– .NCF Scripts (also .BAS, etc)

• OES Linux– Binary Executables (no extension)– Shared Libraries (.so)– .sh scripts (also, .py, etc)

Page 55: C L113

© Novell, Inc. All rights reserved.55

File Extensions

• A DOS/Windows thing– Extensions mean something to the Operating System

• Not widely used in Linux– A document called mytext.doc could be a spreadsheet

• A lot of conventions exist– e.g. .sh for shell script– e.g. .py for Python script– ...But you still don't need them

Page 56: C L113

© Novell, Inc. All rights reserved.56

Just in Case

• Linux is case sensitive– cd /home/syd/music will workCD /home/syd/music will fail

– /home/syd/ and /home/SYD are different

• Everything!– File/Pathnames, commands, scripts...– ...Switches and parameters can mean different things

depending on their case

• If a command doesn't go according to plan– Check, check and then check again

Page 57: C L113

© Novell, Inc. All rights reserved.57

Slash

• DOS, Windows and NetWare®

– Back slash: \ or Forward slash: /– e.g.edit sys:\etc\hosts

edit sys:/etc/hosts

• Linux– Forward slash only: /– e.g.edit /etc/hosts

Page 58: C L113

© Novell, Inc. All rights reserved.58

Dot

• Novell® eDirectory™ on Windows and NetWare®

– NDAP format with dots:– e.g.cn=Syd.ou=Darkside.O=TheMoon

• eDirectory on Linux– LDAP format with commas:– e.g.cn=Syd,ou=Darkside,O=TheMoon

• There may be inconsistencies– If it doesn't work, try the other way!

Page 59: C L113

© Novell, Inc. All rights reserved.59

Who's The Daddy?

• OES has two all-powerful superusers:– Linux: root– eDirectory: Admin

• Use sudo to run a single command as root

• Use su (or su -) to switch to root

• Do not login as a superuser for day-to-day activities

• Do not bring bad habits with you!

Page 60: C L113

© Novell, Inc. All rights reserved.60

Logging In

• Console

• ssh

Page 61: C L113

© Novell, Inc. All rights reserved.61

Who Knows Who is Who?

Page 62: C L113

© Novell, Inc. All rights reserved.62

Who Knows Who is Who?

Page 63: C L113

© Novell, Inc. All rights reserved.63

Who Knows Who is Who?

Page 64: C L113

© Novell, Inc. All rights reserved.64

Who Knows Who is Who?

Page 65: C L113

© Novell, Inc. All rights reserved.65

Who Knows Who is Who?

Page 66: C L113

© Novell, Inc. All rights reserved.66

sudo -Elevated Privileges by Proxy

Page 67: C L113

© Novell, Inc. All rights reserved.67

Moving Around

• 8 default consoles (tty)

• Switch Screens– Text Consoles: <CTRL><ALT><F1> ... <F6>

– Graphical Console: <CTRL><ALT><F7>

– Error Messages: <CTRL><ALT><F10>

Page 68: C L113

The Big Differences

Page 69: C L113

© Novell, Inc. All rights reserved.69

Disk Naming

• Controller– SCSI: sdx– IDE: hdx

• Disks– a, b, c, etc– e.g. sda, sdb, hda, etc

• Partitions– 1, 2, 3, etc– e.g. sda1, sda2, sdb1, etc

sda sda1

sda2

/

swap

sdb sdb1

/home

Page 70: C L113

© Novell, Inc. All rights reserved.70

Disk Naming

Page 71: C L113

© Novell, Inc. All rights reserved.71

Disk Naming

Page 72: C L113

© Novell, Inc. All rights reserved.72

Disk Naming

Page 73: C L113

© Novell, Inc. All rights reserved.73

Disk Naming

Page 74: C L113

© Novell, Inc. All rights reserved.74

Disk Naming

Page 75: C L113

© Novell, Inc. All rights reserved.75

Where is Everything?

• System directories/ (The root directory)/bin /boot/dev /etc/home /initrd/lib /lost+found/media /mnt/opt /proc/root /sbin/usr /var/srv /tmp

• http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/index.html

Page 76: C L113

© Novell, Inc. All rights reserved.76

Mount Points

• Any directory can be a mount point– Another device; e.g. hard disk, iPod, USB, etc– Remote network; e.g. CIFS, NFS, etc– Comparable to Distributed File System (DFS) on NSS

• e.g. mount /dev/sdc1 /mnt

• / (root) is comparable to SYS: on NetWare®

– Keep it on its own disk, just like SYS: on NetWare

Page 77: C L113

© Novell, Inc. All rights reserved.77

Mount Points

Page 78: C L113

© Novell, Inc. All rights reserved.78

Mount Points

sdb

sdc

sda

Page 79: C L113

© Novell, Inc. All rights reserved.79

Mount Points

sda1

sda2

Swap

/

sdb

sdc

sda

Page 80: C L113

© Novell, Inc. All rights reserved.80

Mount Points

sda1

sda2

Swap

/

sda3 /home

sdb

sdc

sda

Page 81: C L113

© Novell, Inc. All rights reserved.81

Mount Points

sda1

sda2

Swap

/

sda3 /home

sdb

sdc

sda

sdb1 /media/disk

Page 82: C L113

© Novell, Inc. All rights reserved.82

Mount Points

sda1

sda2

Swap

/

sda3 /home

sdb

sdc

sda

sdb1 /media/disk

sdc2 /media/TMARCUST

Page 83: C L113

© Novell, Inc. All rights reserved.83

Mount Points

Page 84: C L113

© Novell, Inc. All rights reserved.84

Mount Points

Page 85: C L113

© Novell, Inc. All rights reserved.85

Mount Points

Page 86: C L113

© Novell, Inc. All rights reserved.86

Mount Points

Page 87: C L113

© Novell, Inc. All rights reserved.87

Mount Points

Page 88: C L113

© Novell, Inc. All rights reserved.88

Everything in the File System

• /dev

– Maps devices to files

• /proc

– Similar to the NetWare® virtual _admin: volume– e.g.cat /proc/diskstats

cat /proc/meminfo

Page 89: C L113

© Novell, Inc. All rights reserved.89

/proc

Page 90: C L113

© Novell, Inc. All rights reserved.90

Up and Down

• Runlevels– init 0 aka shutdown– init 1 Single user, no network, no services– init 2 Multiuser, network, no services– init 3 Multiuser, network, services– init 4 Not used/user defined– init 5 Multiuser, network, services, X Windows– init 6 aka reboot

• Server usually runs in runlevel 3 or 5

Page 91: C L113

© Novell, Inc. All rights reserved.91

Start and Stop

• /etc/init.d/<service name> start|stop|status|...– Just text files – have a look! (use cat or more)– e.g./etc/init.d/tomcat5 stop

• service <service name> start|stop|status|...– Borrowed from RedHat– e.g.service tomcat5 start

• rc<service name> start|stop|status|...– SUSE-Specific– e.g.rctomcat5 status

Page 92: C L113

© Novell, Inc. All rights reserved.92

Error Logs

• Main logs– /var/log/messages– /var/log/boot.msg

• Program-specific– /var/log/*– e.g. /var/log/apache2/error_log

• Other– Refer to the documentation– e.g. /var/opt/novell/log/*

Page 93: C L113

© Novell, Inc. All rights reserved.93

Configuration Files

• Main configuration files– /etc/* and subdirectories– e.g. /etc/ntp.conf

/etc/iscsi/iscsid.conf/etc/opt/novell/ncp/ncpserv.audit.conf

• Application-specific– Refer to documentation– e.g. /var/opt/novell/ncs

Page 94: C L113

© Novell, Inc. All rights reserved.94

Users

• NetWare® – eDirectory™

– Hierarchical– Distributed– Encrypted Database

• Linux – Password Repository– Flat– Server-centric– Text file with encrypted entries (/etc/shadow or /etc/passwd)

• Integrate using LUM (more on that later)

Page 95: C L113

© Novell, Inc. All rights reserved.95

NSS File Rights and Permissions

• NetWare® Rights– SRWCEMFA– Assigned to users, groups and containers– rights.exe, etc

• NetWare Attributes– AciDcDiDmHIcNPRiRoRwShSyTX– Assigned to files and directories– flag.exe, etc

Page 96: C L113

© Novell, Inc. All rights reserved.96

Linux File Rights and Permissions

• Linux Rights– RWX– Assigned to a user, a group and everyone– chmod– e.g.chmod 644 diamond.txt

• Linux ACLs– setfacl, getfacl– Not really needed in an OES context

Page 97: C L113

© Novell, Inc. All rights reserved.97

Permissions and Ownership

• -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt

Page 98: C L113

© Novell, Inc. All rights reserved.98

Permissions and Ownership

• -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt

r w x r w x r w x

Page 99: C L113

© Novell, Inc. All rights reserved.99

Permissions and Ownership

• -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt

r w x r w x r w x

Owner Group Others

Page 100: C L113

© Novell, Inc. All rights reserved.100

Permissions and Ownership

• -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt

Owner Group Others

4 2 1 4 2 1 4 2 1

r w x r w x r w x

Page 101: C L113

© Novell, Inc. All rights reserved.101

Permissions and Ownership

• -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt

Owner Group Others

4 2 1 4 2 1 4 2 1

6 4 4

r w x r w x r w x

Page 102: C L113

© Novell, Inc. All rights reserved.102

Permissions and Ownership

• -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt

• e.g. chmod 644 diamond.txt

Owner Group Others

4 2 1 4 2 1 4 2 1

6 4 4

r w x r w x r w x

mgould users Everyone Else

Page 103: C L113

© Novell, Inc. All rights reserved.103

File Ownership

• NetWare®/NSS owner (aka creator)– iManager

• Linux owner– chown

e.g.chown mgould diamond.txt– chgrp

e.g.chgrp users diamond.txt

Page 104: C L113

© Novell, Inc. All rights reserved.104

Running Scripts and Executables

• Explicit path– e.g./sbin/myapp

• Relative path– e.g../myscript.sh– myscript.sh on its own won't work

• Check execute and owner– e.g.Can Syd execute this?-rwxrw-r-- 1 mgould users 98 2010-02-03 14:12 crazy.sh

Page 105: C L113

© Novell, Inc. All rights reserved.105

File Formats

• Carriage Returns and Line Feeds– Do not use DOS/Windows editors– Handled differently– dos2unix

• Check with a hex editor– e.g.okteta

Page 106: C L113

© Novell, Inc. All rights reserved.106

Not Part of OES Linux

• IPX

• Traditional Volumes

• Timesync

• iFolder 2

Page 107: C L113

OES Services

Page 108: C L113

© Novell, Inc. All rights reserved.108

eDirectory™

• ndsd daemon– List instances: ndsmanage

– DSRepair: ndsrepair

– DSTrace: ndstrace

• Default directories– Dibset: /var/opt/novell/eDirectory/data/dib– Binaries: /opt/novell/eDirectory/– Config: /etc/opt/novell/eDirectory/conf/nds.conf– Logs: /var/opt/novell/eDirectory/log/

Page 109: C L113

© Novell, Inc. All rights reserved.109

Novell® Storage Services (NSS)• novell-nss kernel module

– Also ncp2nss– NSSMU: nssmu

– NSS Console: nsscon

• Mounted in Linux– /media/nss/<Volume_Name>

• Default directories– Binaries: /opt/novell/nss– Config: /etc/opt/novell/nss/nssstart.cfg

/etc/opt/novell/ncp2nss.conf– Logs: /var/opt/novell/log/ncp2nss.log

Page 110: C L113

© Novell, Inc. All rights reserved.110

Novell® Core Protocol (NCP™)

• Runs as part of eDirectory™ (ndsd)– 'MONITOR': ncptop

– NCP Console: ncpcon

• Default directories– Binaries: /opt/novell/ncpserv– Config: /etc/opt/novell/ncpserv.conf– Logs: /var/opt/novell/log/ncpserv.log

Page 111: C L113

© Novell, Inc. All rights reserved.111

Novell® Core Protocol (NCP™)

• Make Linux volumes available via NCP– ncpcon:create volume <NCP Vol> <Linux Dir>– e.g.create volume ncpdata /data/stuff– NoRM

• Why use NSS, then?– Scalability limited to underlying file system– Lacks NSS features like salvage, compression, shredding, etc

Page 112: C L113

© Novell, Inc. All rights reserved.112

Linux User Management (LUM)

• Allows local Linux users to be managed via, and interface with, eDirectory™

• Optional but required by iPrint, NSS, etc– e.g.To see correct owner, modifier, deleter and archiver of a file

• Administration via iManager and YaST

• The defaults will work for this demonstration

Page 113: C L113

© Novell, Inc. All rights reserved.113

Compatibility

• Many Legacy tools should still work

• ...But not necessarily supported!– DOS command-line Tools– DOS C-Worthy Tools– Windows Tools– NWAdmin– ConsoleOne®

Page 114: C L113

© Novell, Inc. All rights reserved.114

Things You Weren't Expecting to See

Page 115: C L113

© Novell, Inc. All rights reserved.115

Things You Weren't Expecting to See

Page 116: C L113

© Novell, Inc. All rights reserved.116

Things You Weren't Expecting to See

Page 117: C L113

© Novell, Inc. All rights reserved.117

Things You Weren't Expecting to See

Page 118: C L113

© Novell, Inc. All rights reserved.118

Things You Weren't Expecting to See

Page 119: C L113

© Novell, Inc. All rights reserved.119

Things You Weren't Expecting to See

Your in-house toolsmay require little

or no modification

Page 120: C L113

© Novell, Inc. All rights reserved.120

Things You Weren't Expecting to See

Use at your own risk!

Your in-house toolsmay require little

or no modification

Page 121: C L113

Linux Tools and Commands

Page 122: C L113

© Novell, Inc. All rights reserved.122

RTFM!

• Read The Free Manuals

• All commands should have a man page

• Man pages– man <command>

– e.g.man ndsrepair– http://www.linuxmanpages.com/

Page 123: C L113

© Novell, Inc. All rights reserved.123

man

Page 124: C L113

© Novell, Inc. All rights reserved.124

More Free Information

• Info pages– info <command>

– e.g.info cp

• Many commands have an info page

Page 125: C L113

© Novell, Inc. All rights reserved.125

info

Page 126: C L113

© Novell, Inc. All rights reserved.126

Yet Another Setup Tool - YaST

• Similar to Windows Control Panel

• Easy to use

• Hides command lines, parameters and complexity

• Configure all aspects of SLES and OES

• GUI or text versions

• ...If in doubt how to configure the system, check YaST!

Page 127: C L113

© Novell, Inc. All rights reserved.127

YaST

Page 128: C L113

© Novell, Inc. All rights reserved.128

YaST

Page 129: C L113

© Novell, Inc. All rights reserved.129

Handy Commands

• Don't forget: man <command>

• Navigating directories– mkdir (md), chdir (cd), rmdir (rd)– ls (dir) best used with -la parameter

i.e. ls -la

• Manipulating files– cat

– tail

– vi (edit)

Page 130: C L113

© Novell, Inc. All rights reserved.130

Handy Commands

• Don't forget: man <command>

• Manipulating files– cp

– mv

– rm

Page 131: C L113

© Novell, Inc. All rights reserved.131

Handy Commands

• Watching processes– top

– kill <PID> (or kill -9 <PID> if it just won't die)– ps (try ps -eaf)

• Manipulating disks– mount

– fdisk (try fdisk -l)– fsck

Page 132: C L113

OES Tools and Commands

Page 133: C L113

© Novell, Inc. All rights reserved.133

Handy Tools

• Server-based tools– You must be the root user to use these tools– NCP™: ncptop, ncpcon– NSS: nsscon, nssmu, ravsui– Trustees & attribs: rights, attrib, metamig– eDirectory™: ndstrace, ndsrepair

• Browser-based tools– You must have sufficient eDirectory rights to use these tools– iMonitor, iManager, NoRM

Page 134: C L113

© Novell, Inc. All rights reserved.134

ncptop

Page 135: C L113

© Novell, Inc. All rights reserved.135

ncpcon

Page 136: C L113

© Novell, Inc. All rights reserved.136

nsscon

Page 137: C L113

© Novell, Inc. All rights reserved.137

nssmu

Page 138: C L113

© Novell, Inc. All rights reserved.138

ravsui

Page 139: C L113

© Novell, Inc. All rights reserved.139

rights

Page 140: C L113

© Novell, Inc. All rights reserved.140

attrib

Page 141: C L113

© Novell, Inc. All rights reserved.141

metamig

Page 142: C L113

© Novell, Inc. All rights reserved.142

ndstrace

Page 143: C L113

© Novell, Inc. All rights reserved.143

ndsrepair

Page 144: C L113

© Novell, Inc. All rights reserved.144

Novell Remote Manager (NoRM)

Page 145: C L113

© Novell, Inc. All rights reserved.145

iManager

Page 146: C L113

© Novell, Inc. All rights reserved.146

iMonitor

Page 147: C L113

Migration Utility

Page 148: C L113

© Novell, Inc. All rights reserved.148

Types of Migration

• Consolidate– Reorganise resources

e.g.File, print, AFP, CIFS, DHCP, iFolder, etc– One-to-one or many-to-one– Same tree or different tree (not CIFS, AFP)

• Transfer ID– Transfer server identity from source to target– Includes name, IP address, eDirectory™ replicas, NICI keys,

certificates, etc– Same tree only

Page 149: C L113

© Novell, Inc. All rights reserved.149

The Migration Tool Utility

• Check the documentation– Print this:http://www.novell.com/documentation/oes2/pdfdoc/mig_tools_lx/mig_tools_lx.pdf

• Check the prerequisites– Consolidation: Page 51 Transfer ID: Page 59

• Do a test run– Then do another test run– Ensure you have a good backup before doing it for real

Page 150: C L113

© Novell, Inc. All rights reserved.150

miggui - The Migration Tool Utility

Page 151: C L113

Troubleshooting

Page 152: C L113

© Novell, Inc. All rights reserved.152

Find the Error Message

• Check the logs– There are lots of logs

• Check the case and syntax– Then check again

• Check permissions and ownership– Is it executable? Do you have permission to execute it?

• Don't abandon what you already know– Comms, eDirectory™, DNS, naming, location

Page 153: C L113

Odds and Ends

Page 154: C L113

© Novell, Inc. All rights reserved.154

Phrase Book

Linux NetWare®

Bonding NIC TeamingCore AbendFlash BIOSHW addr/burnt-in addr MAC addressIPL (Initial Program Load) (Re)boot/restart/reset/reinitializeNet adapter/ethx NIC (Network Interface Card)Router GatewaySerial port/ttysx Com port/COMxSlice Volume/partition

• NetWare to Linux command maphttp://www.novell.com/documentation/oes2/mgmt_lx_tips_lx_nw/data/nw2linux.html

Page 155: C L113

© Novell, Inc. All rights reserved.155

Useful Sources of Information

• Novell®

• Partners

• http://support.novell.com

• http://forums.novell.com

• http://www.google.com

Page 156: C L113

Summary

Page 157: C L113

© Novell, Inc. All rights reserved.157

Recap

• That installation again, in pictures...

Page 158: C L113

© Novell, Inc. All rights reserved.158

Page 159: C L113

© Novell, Inc. All rights reserved.159

Page 160: C L113

© Novell, Inc. All rights reserved.160

Page 161: C L113

© Novell, Inc. All rights reserved.161

Page 162: C L113

© Novell, Inc. All rights reserved.162

Page 163: C L113

© Novell, Inc. All rights reserved.163

Page 164: C L113

© Novell, Inc. All rights reserved.164

Page 165: C L113

© Novell, Inc. All rights reserved.165

Page 166: C L113

© Novell, Inc. All rights reserved.166

Page 167: C L113

© Novell, Inc. All rights reserved.167

Page 168: C L113

© Novell, Inc. All rights reserved.168

Page 169: C L113

© Novell, Inc. All rights reserved.169

Page 170: C L113

© Novell, Inc. All rights reserved.170

Page 171: C L113

© Novell, Inc. All rights reserved.171

Page 172: C L113

© Novell, Inc. All rights reserved.172

Page 173: C L113

© Novell, Inc. All rights reserved.173

Page 174: C L113

© Novell, Inc. All rights reserved.174

Page 175: C L113

© Novell, Inc. All rights reserved.175

Page 176: C L113

© Novell, Inc. All rights reserved.176

Page 177: C L113

© Novell, Inc. All rights reserved.177

Recap

• Now the migration...

Page 178: C L113

© Novell, Inc. All rights reserved.178

Page 179: C L113

© Novell, Inc. All rights reserved.179

Page 180: C L113

© Novell, Inc. All rights reserved.١٨٠

Page 181: C L113

© Novell, Inc. All rights reserved.181

Page 182: C L113

© Novell, Inc. All rights reserved.182

Page 183: C L113

© Novell, Inc. All rights reserved.183

Page 184: C L113

© Novell, Inc. All rights reserved.184

Page 185: C L113

© Novell, Inc. All rights reserved.185

Page 186: C L113

© Novell, Inc. All rights reserved.186

Page 187: C L113

© Novell, Inc. All rights reserved.187

Page 188: C L113

© Novell, Inc. All rights reserved.188

Page 189: C L113

© Novell, Inc. All rights reserved.189

Page 190: C L113

© Novell, Inc. All rights reserved.190

Page 191: C L113

© Novell, Inc. All rights reserved.191

Page 192: C L113

© Novell, Inc. All rights reserved.192

Page 193: C L113

© Novell, Inc. All rights reserved.193

Page 194: C L113

© Novell, Inc. All rights reserved.194

Summary

• Install an OES test system as soon as you can

• Experiment

• Build on what you already know

• Find your way around

• ...Have a lot of fun!

Page 195: C L113

Any Questions?

Page 196: C L113
Page 197: C L113

Unpublished Work of Novell, Inc. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.

General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. Novell, Inc. makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for Novell products remains at the sole discretion of Novell. Further, Novell, Inc. reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.