C L113
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
3,398
On Slideshare
3,155
From Embeds
243
Number of Embeds
8

Actions

Shares
Downloads
141
Comments
0
Likes
0

Embeds 243

http://buckyplace.blogspot.com 224
http://www.slideshare.net 11
http://buckyplace.blogspot.sg 3
http://buckyplace.blogspot.ie 1
http://buckyplace.blogspot.it 1
http://buckyplace.blogspot.fr 1
http://buckyplace.blogspot.com.br 1
http://buckyplace.blogspot.ro 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Novell Open Enterprise ® Server 2 on Linux: Installation and Migration for Absolute Beginners Marcus Gould Premium Support Engineer mgould@novell.com
  • 2. Introduction
  • 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 3 © 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 grab the DVDs and build your first OES2 server... 4 © 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! 5 © Novell, Inc. All rights reserved.
  • 6. Recursion! • My computer dictionary says – Recursion /rikursh’n/ noun -- See recursion. • We'll look at it later! 6 © Novell, Inc. All rights reserved.
  • 7. Demonstration Lab Setup
  • 8. Current Tree • London – NetWare 6.5 SP8 ® – DNS and DHCP – FTP installation source 8 © 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 9 © Novell, Inc. All rights reserved.
  • 10. Setup • New Server – Unformatted machine - two disks 8Gb 10Gb 10 © Novell, Inc. All rights reserved.
  • 11. Demonstration
  • 12. Summary of an Installation and Migration London SYS: 192.168.100.10 8Gb DHCP DNS M [Root] FTP 12 © Novell, Inc. All rights reserved.
  • 13. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP 13 © Novell, Inc. All rights reserved.
  • 14. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP OES2 SP2 SLES10 SP3 Copy install media to London 14 © Novell, Inc. All rights reserved.
  • 15. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP Make files available via FTP 15 © Novell, Inc. All rights reserved.
  • 16. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp 192.168.100.30 Boot from SLES10 SP3 10Gb / 8Gb 16 © Novell, Inc. All rights reserved.
  • 17. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp 192.168.100.30 Build temp using London as source 10Gb / 8Gb 17 © Novell, Inc. All rights reserved.
  • 18. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp 192.168.100.30 Ensure pre-migration server, NCP , ™ 10Gb NSS, iPrint and iManager are selected – other needed components Print Manager / will be selected automatically Driver 8Gb Store 18 © Novell, Inc. All rights reserved.
  • 19. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp DATAVOL: 192.168.100.30 Configure NSS and create new volume 10Gb Print Manager / Driver 8Gb Store 19 © Novell, Inc. All rights reserved.
  • 20. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp DATAVOL: 192.168.100.30 Configure iPrint – create new 10Gb Driver Store and Print Manager Print Man_Driver Man_Print Manager / _Store _Manager Driver 8Gb Store 20 © Novell, Inc. All rights reserved.
  • 21. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp DATAVOL: 192.168.100.30 Run miggui to migrate 10Gb Print Man_Driver Man_Print Manager / _Store _Manager Driver 8Gb Store miggui 21 © Novell, Inc. All rights reserved.
  • 22. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp DATAVOL: 192.168.100.30 Run miggui to migrate 10Gb Files Print Man_Driver Man_Print Manager / _Store _Manager Driver 8Gb Store miggui 22 © Novell, Inc. All rights reserved.
  • 23. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp DATAVOL: Drivers Man_HPJL4 192.168.100.30 Run miggui to migrate 10Gb Files Print Broker, Manager, Drivers and Printers Manager Man_Driver Man_Print / _Manager _Store Driver 8Gb Store miggui 23 © Novell, Inc. All rights reserved.
  • 24. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP temp DATAVOL: Drivers Man_HPJL4 192.168.100.30 Run miggui to migrate 10Gb Files Print Broker, Manager, Drivers and Printers Man_Driver Man_Print Manager / eDirectory Database, including replicas _Store _Manager RW [Root] Driver 8Gb Store miggui 24 © Novell, Inc. All rights reserved.
  • 25. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP Manchester DATAVOL: Drivers Man_HPJL4 192.168.100.20 Run miggui to migrate 10Gb Files Print Broker, Manager, Drivers and Printers Man_Driver Man_Print Manager / eDirectory Database, including replicas _Store _Manager RW [Root] Identity – Name, Address, NICI keys, Driver 8Gb and certificates Store miggui 25 © Novell, Inc. All rights reserved.
  • 26. Summary of an Installation and Migration Man_Broker Man_NDPSM London SYS: Manchester SYS: 192.168.100.10 8Gb 192.168.100.20 8Gb DHCP Broker Drivers Man_HPJL4 DATAVOL: DNS M [Root] NDPSM RW [Root] 10Gb FTP Manchester DATAVOL: Drivers Man_HPJL4 192.168.100.20 Decommission old server 10Gb Print Man_Driver Man_Print Manager / _Store _Manager RW [Root] Driver 8Gb Store 26 © Novell, Inc. All rights reserved.
  • 27. Summary of an Installation and Migration Manchester Drivers Man_HPJL4 London SYS: DATAVOL: 192.168.100.10 192.168.100.20 8Gb 10Gb DHCP Print Man_Driver Man_Print Manager / _Store _Manager DNS M [Root] RW [Root] Driver 8Gb FTP Store Clean up and test new server 27 © Novell, Inc. All rights reserved.
  • 28. Summary of an Installation and Migration Manchester Drivers Man_HPJL4 London SYS: DATAVOL: 192.168.100.10 192.168.100.20 8Gb 10Gb DHCP Print Man_Driver Man_Print Manager / _Store _Manager DNS M [Root] RW [Root] Driver 8Gb FTP Store 28 © Novell, Inc. All rights reserved.
  • 29. Summary of an Installation and Migration – Start Point 29 © Novell, Inc. All rights reserved.
  • 30. Summary of an Installation and Migration – Temp OES Server Added 30 © Novell, Inc. All rights reserved.
  • 31. Summary of an Installation and Migration – Migration Complete 31 © Novell, Inc. All rights reserved.
  • 32. Live Demo • Let's go... 32 © Novell, Inc. All rights reserved.
  • 33. Linux Overview
  • 34. Background • First version in 1991 • Linux is technically just the kernel – Requires the GNU utilities – Hence the full name GNU/Linux 34 © 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 ® 35 © 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 36 © 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) 37 © Novell, Inc. All rights reserved.
  • 38. OES Overview
  • 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 39 © Novell, Inc. All rights reserved.
  • 40. Platform Support • x86 • x86_64 (AMD64 and Intel EM64T) 40 © Novell, Inc. All rights reserved.
  • 41. Version Control • Cannot mix and match – OES2 SP1 requires SLES10 SP2 – OES2 SP2 requires SLES10 SP3 – ...etc 41 © Novell, Inc. All rights reserved.
  • 42. Problems, Problems, Problems
  • 43. The Biggest Problem With Linux is...? 43 © Novell, Inc. All rights reserved.
  • 44. The Biggest Problem With Linux is...? • Choice! 44 © 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? 45 © Novell, Inc. All rights reserved.
  • 46. Is NetWare Any Better? ® 46 © 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 47 © Novell, Inc. All rights reserved.
  • 48. KDE Desktop • K Desktop Environment • Feature-rich • Can be installed instead of GNOME (or as well as) • Runs on X Windows 48 © 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 49 © 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 50 © 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 51 © Novell, Inc. All rights reserved.
  • 52. The Basics
  • 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 53 © 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) 54 © 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 55 © Novell, Inc. All rights reserved.
  • 56. Just in Case • Linux is case sensitive – cd /home/syd/music will work CD /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 56 © Novell, Inc. All rights reserved.
  • 57. Slash • DOS, Windows and NetWare ® – Back slash: or Forward slash: / – e.g. edit sys:etchosts edit sys:/etc/hosts • Linux – Forward slash only: / – e.g. edit /etc/hosts 57 © 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! 58 © 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! 59 © Novell, Inc. All rights reserved.
  • 60. Logging In • Console • ssh 60 © Novell, Inc. All rights reserved.
  • 61. Who Knows Who is Who? 61 © Novell, Inc. All rights reserved.
  • 62. Who Knows Who is Who? 62 © Novell, Inc. All rights reserved.
  • 63. Who Knows Who is Who? 63 © Novell, Inc. All rights reserved.
  • 64. Who Knows Who is Who? 64 © Novell, Inc. All rights reserved.
  • 65. Who Knows Who is Who? 65 © Novell, Inc. All rights reserved.
  • 66. sudo -Elevated Privileges by Proxy 66 © 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> 67 © Novell, Inc. All rights reserved.
  • 68. The Big Differences
  • 69. Disk Naming / • Controller – SCSI: sdx sda sda1 – IDE: hdx swap • Disks sda2 – a, b, c, etc – e.g. sda, sdb, hda, etc /home • Partitions – 1, 2, 3, etc sdb sdb1 – e.g. sda1, sda2, sdb1, etc 69 © Novell, Inc. All rights reserved.
  • 70. Disk Naming 70 © Novell, Inc. All rights reserved.
  • 71. Disk Naming 71 © Novell, Inc. All rights reserved.
  • 72. Disk Naming 72 © Novell, Inc. All rights reserved.
  • 73. Disk Naming 73 © Novell, Inc. All rights reserved.
  • 74. Disk Naming 74 © 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 75 © 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 76 © Novell, Inc. All rights reserved.
  • 77. Mount Points 77 © Novell, Inc. All rights reserved.
  • 78. Mount Points sda sdb sdc 78 © Novell, Inc. All rights reserved.
  • 79. Mount Points sda sda1 Swap sda2 / sdb sdc 79 © Novell, Inc. All rights reserved.
  • 80. Mount Points sda sda1 Swap sda2 / sda3 /home sdb sdc 80 © Novell, Inc. All rights reserved.
  • 81. Mount Points sda sda1 Swap sda2 / sda3 /home sdb sdb1 /media/disk sdc 81 © Novell, Inc. All rights reserved.
  • 82. Mount Points sda sda1 Swap sda2 / sda3 /home sdb sdb1 /media/disk sdc sdc2 /media/TMARCUST 82 © Novell, Inc. All rights reserved.
  • 83. Mount Points 83 © Novell, Inc. All rights reserved.
  • 84. Mount Points 84 © Novell, Inc. All rights reserved.
  • 85. Mount Points 85 © Novell, Inc. All rights reserved.
  • 86. Mount Points 86 © Novell, Inc. All rights reserved.
  • 87. Mount Points 87 © 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 88 © Novell, Inc. All rights reserved.
  • 89. /proc 89 © 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 90 © 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 91 © 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/* 92 © 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 93 © 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) 94 © 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 95 © 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 96 © Novell, Inc. All rights reserved.
  • 97. Permissions and Ownership • -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt 97 © 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 98 © 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 99 © Novell, Inc. All rights reserved.
  • 100. Permissions and Ownership • -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt 4 2 1 4 2 1 4 2 1 r w x r w x r w x Owner Group Others 100 © Novell, Inc. All rights reserved.
  • 101. Permissions and Ownership • -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt 6 4 4 4 2 1 4 2 1 4 2 1 r w x r w x r w x Owner Group Others 101 © Novell, Inc. All rights reserved.
  • 102. Permissions and Ownership • -rw-r--r-- 1 mgould users 21 2010-02-03 14:10 diamond.txt 6 4 4 4 2 1 4 2 1 4 2 1 r w x r w x r w x Owner Group Others mgould users Everyone Else • e.g. chmod 644 diamond.txt 102 © 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 103 © 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 104 © 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 105 © Novell, Inc. All rights reserved.
  • 106. Not Part of OES Linux • IPX • Traditional Volumes • Timesync • iFolder 2 106 © Novell, Inc. All rights reserved.
  • 107. OES Services
  • 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/ 108 © 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 109 © 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 110 © 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 111 © 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 112 © 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 ® 113 © Novell, Inc. All rights reserved.
  • 114. Things You Weren't Expecting to See 114 © Novell, Inc. All rights reserved.
  • 115. Things You Weren't Expecting to See 115 © Novell, Inc. All rights reserved.
  • 116. Things You Weren't Expecting to See 116 © Novell, Inc. All rights reserved.
  • 117. Things You Weren't Expecting to See 117 © Novell, Inc. All rights reserved.
  • 118. Things You Weren't Expecting to See 118 © Novell, Inc. All rights reserved.
  • 119. Things You Weren't Expecting to See Your in-house tools may require little or no modification 119 © Novell, Inc. All rights reserved.
  • 120. Things You Weren't Expecting to See Your in-house tools may require little or no modification Use at your own risk! 120 © Novell, Inc. All rights reserved.
  • 121. Linux Tools and Commands
  • 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/ 122 © Novell, Inc. All rights reserved.
  • 123. man 123 © Novell, Inc. All rights reserved.
  • 124. More Free Information • Info pages – info <command> – e.g. info cp • Many commands have an info page 124 © Novell, Inc. All rights reserved.
  • 125. info 125 © 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! 126 © Novell, Inc. All rights reserved.
  • 127. YaST 127 © Novell, Inc. All rights reserved.
  • 128. YaST 128 © 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) 129 © Novell, Inc. All rights reserved.
  • 130. Handy Commands • Don't forget: man <command> • Manipulating files – cp – mv – rm 130 © 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 131 © Novell, Inc. All rights reserved.
  • 132. OES Tools and Commands
  • 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 133 © Novell, Inc. All rights reserved.
  • 134. ncptop 134 © Novell, Inc. All rights reserved.
  • 135. ncpcon 135 © Novell, Inc. All rights reserved.
  • 136. nsscon 136 © Novell, Inc. All rights reserved.
  • 137. nssmu 137 © Novell, Inc. All rights reserved.
  • 138. ravsui 138 © Novell, Inc. All rights reserved.
  • 139. rights 139 © Novell, Inc. All rights reserved.
  • 140. attrib 140 © Novell, Inc. All rights reserved.
  • 141. metamig 141 © Novell, Inc. All rights reserved.
  • 142. ndstrace 142 © Novell, Inc. All rights reserved.
  • 143. ndsrepair 143 © Novell, Inc. All rights reserved.
  • 144. Novell Remote Manager (NoRM) 144 © Novell, Inc. All rights reserved.
  • 145. iManager 145 © Novell, Inc. All rights reserved.
  • 146. iMonitor 146 © Novell, Inc. All rights reserved.
  • 147. Migration Utility
  • 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 148 © 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 149 © Novell, Inc. All rights reserved.
  • 150. miggui - The Migration Tool Utility 150 © Novell, Inc. All rights reserved.
  • 151. Troubleshooting
  • 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 ™ 152 © Novell, Inc. All rights reserved.
  • 153. Odds and Ends
  • 154. Phrase Book Linux NetWare ® Bonding NIC Teaming Core Abend Flash BIOS HW addr/burnt-in addr MAC address IPL (Initial Program Load) (Re)boot/restart/reset/reinitialize Net adapter/ethx NIC (Network Interface Card) Router Gateway Serial port/ttysx Com port/COMx Slice Volume/partition • NetWare to Linux command map http://www.novell.com/documentation/oes2/ mgmt_lx_tips_lx_nw/data/nw2linux.html 154 © Novell, Inc. All rights reserved.
  • 155. Useful Sources of Information • Novell ® • Partners • http://support.novell.com • http://forums.novell.com • http://www.google.com 155 © Novell, Inc. All rights reserved.
  • 156. Summary
  • 157. Recap • That installation again, in pictures... 157 © Novell, Inc. All rights reserved.
  • 158. 158 © Novell, Inc. All rights reserved.
  • 159. 159 © Novell, Inc. All rights reserved.
  • 160. 160 © Novell, Inc. All rights reserved.
  • 161. 161 © Novell, Inc. All rights reserved.
  • 162. 162 © Novell, Inc. All rights reserved.
  • 163. 163 © Novell, Inc. All rights reserved.
  • 164. 164 © Novell, Inc. All rights reserved.
  • 165. 165 © Novell, Inc. All rights reserved.
  • 166. 166 © Novell, Inc. All rights reserved.
  • 167. 167 © Novell, Inc. All rights reserved.
  • 168. 168 © Novell, Inc. All rights reserved.
  • 169. 169 © Novell, Inc. All rights reserved.
  • 170. 170 © Novell, Inc. All rights reserved.
  • 171. 171 © Novell, Inc. All rights reserved.
  • 172. 172 © Novell, Inc. All rights reserved.
  • 173. 173 © Novell, Inc. All rights reserved.
  • 174. 174 © Novell, Inc. All rights reserved.
  • 175. 175 © Novell, Inc. All rights reserved.
  • 176. 176 © Novell, Inc. All rights reserved.
  • 177. Recap • Now the migration... 177 © Novell, Inc. All rights reserved.
  • 178. 178 © Novell, Inc. All rights reserved.
  • 179. 179 © Novell, Inc. All rights reserved.
  • 180. ١٨٠ © Novell, Inc. All rights reserved.
  • 181. 181 © Novell, Inc. All rights reserved.
  • 182. 182 © Novell, Inc. All rights reserved.
  • 183. 183 © Novell, Inc. All rights reserved.
  • 184. 184 © Novell, Inc. All rights reserved.
  • 185. 185 © Novell, Inc. All rights reserved.
  • 186. 186 © Novell, Inc. All rights reserved.
  • 187. 187 © Novell, Inc. All rights reserved.
  • 188. 188 © Novell, Inc. All rights reserved.
  • 189. 189 © Novell, Inc. All rights reserved.
  • 190. 190 © Novell, Inc. All rights reserved.
  • 191. 191 © Novell, Inc. All rights reserved.
  • 192. 192 © Novell, Inc. All rights reserved.
  • 193. 193 © 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! 194 © Novell, Inc. All rights reserved.
  • 195. Any Questions?
  • 196. 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 Disclaimer This 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.