Novell OPEN ENTERPRISE SERVER 2 SP2 User Manual

Linux* Tips for NetWare® Administrators
Novell®
Open Enterprise Server
novdocx (en) 22 June 2009
AUTHORIZED DOCUMENTATION
2 SP2
November 2009
www.novell.com
OES2 SP2: Linux Tips for NetWare Administrators
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.
novdocx (en) 22 June 2009
Copyright © 2005–2009 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.
novdocx (en) 22 June 2009
novdocx (en) 22 June 2009
4 OES2 SP2: Linux Tips for NetWare Administrators
Contents
About This Guide 7
1What's New 9
2 NetWare/Linux Command Map 11
3 Other Tips 49
3.1 Common Problems and Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.2 NCF vs. Shell Script Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.3 Encryption for Linux Traditional File Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
novdocx (en) 22 June 2009
Contents 5
novdocx (en) 22 June 2009
6 OES2 SP2: Linux Tips for NetWare Administrators
About This Guide
We plan to expand the information in this guide over time. However, it will never become a substitute for the formal, intensive training that is required to become an efficient and successful Linux administrator.
Audience
novdocx (en) 22 June 2009
This guide is designed to help network administrators understand some of the similarities and differences between NetWare
Feedback
We want to hear your comments and suggestions about this manual and the other documentation included with OES. To contact us, use the User Comments feature at the bottom of any page in the online documentation.
Documentation Updates
For the latest version of this guide, refer to the OES 2 Documentation Web site.
Documentation Conventions
In this documentation, a greater-than symbol (>) is used to separate actions within a step and items within a cross-reference path.
A trademark symbol (®, ™, etc.) denotes a Novell trademark.
When a single pathname can be written with a backslash for some platforms, or a forward slash for other platforms, the pathname is presented with a forward slash to reflect the Linux convention. Users of platforms that require a backslash, such as NetWare, should use backslashes as required by the software.
®
and Linux, and to begin working with OES-Linux
®
trademark. An asterisk (*) denotes a third-party
About This Guide 7
novdocx (en) 22 June 2009
8 OES2 SP2: Linux Tips for NetWare Administrators
1
What's New
This guide has been updated for the OES 2 product release with a number of new command entries in the “NetWare/Linux Command Map” on page 11 and a new chapter, “Other Tips” on page 49.
novdocx (en) 22 June 2009
1
What's New
9
novdocx (en) 22 June 2009
10 OES2 SP2: Linux Tips for NetWare Administrators
2
NetWare/Linux Command Map
NetWare® administrators who are deploying OES-Linux are interested in finding Linux counterparts for their favorite NetWare commands.
Table 2 -1 lists mappings between many of the common NetWare commands and their Linux
counterparts with the following limitations:
Neither the list of NetWare commands nor the list of Linux counterparts is comprehensive. If
you require more detailed information, you might consider purchasing a command reference from an industry publisher.
NetWare and Linux are completely different operating systems. Some NetWare commands
don’t have a Linux counterpart. Where counterparts don’t exist, we have attempted to provide explanations to help you. Ultimately, however, this section is only a tool to help you get started. It is not a substitute for the hands-on Linux training that all Linux administrators need.
The NetWare and Linux commands listed are only available when the NLM
RPM (Linux) associated with the command is installed on the server where the command is attempted. For some listed commands, the associated NLM programs and RPMs are not installed by default.
TM
(NetWare) or
novdocx (en) 22 June 2009
2
For some NetWare commands, the Linux alternative is provided by functionality in either iManager or Novell
Utilities and Tools” in the OES 2 SP2: Planning and Implementation Guide.
A substantial number of alternatives are also provided through YaST (Yet another Setup Tool). They are available in both GUI and text versions, and are accessed at a Linux command prompt by entering
www.novell.com/documentation/sles10/sles_admin/data/cha_yast2.html#cha_yast2)” in the SLES
10 SP3 Installation and Administration Guide (http://www.novell.com/documentation/sles10/ sles_admin/data/book_sle_reference.html#book_sle_reference).
Table 2-1 references man pages extensively. To access a man page, enter
command prompt, where command is the Linux counterpart. After reading about the command, type Shift+Q to return to the command prompt. Or alternatively, if you have the KDE desktop loaded, you can view formatted man pages in the Konqueror browser. In the location bar, enter view a list of categories, or enter
®
Remote Manager (NRM). For information on Novell management utilities, see “OES
yast
. For more information on YaST, see “System Configuration with YaST (http://
man:/command
man command
to view the man page for a specific command.
at the Linux
man:/
to
NetWare/Linux Command Map
11
Table 2-1 NetWare/Linux Command Map
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
#
;
ABORT REMIRROR
Specify a line as a comment (used in NCF files).
Specify a line as a comment (used in NCF files).
Stop remirroring a logical partition.
Linux Command Counterpart
#
!
#
!
This functionality is available
Alternatives and Notes
Comments preceded by a pound sign (#) are not displayed as the shell script runs, but those preceded by an exclamation mark (!) are echoed.
For information about shell script files, see Section 3.2, “NCF vs.
Shell Script Files,” on page 49.
Comments preceded by a pound sign (#) are not displayed as the script runs, but those preceded by an exclamation mark (!) are echoed.
For information about script files, see Section 3.2, “NCF vs. Shell
Script Files,” on page 49.
through the nsscon utility on OES­Linux.
The nsscon utility is installed with the Novell Storage Services RPMs and is documented in “NSS
Console” in the OES 2 SP2: NSS
File System Administration Guide.
ACTIVATEMODULE
Load or start modules that are preloaded by the
startup.ncf
modules that were loaded using the load -s command.
file or
chkconfig
By itself, processes available to be loaded at startup and their current state.
Including the name of a service (for example, chkconfig apache2) displays the current state: “on” means that the service starts with the system, “off” means the service doesn’t start with the system, and “unknown service” means that the service is not installed.
For configuration options, see the
chkconfig
chkconfig
man page.
lists all the
12 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
ADD NAME SPACE
Add support for storing files for other file systems on a NetWare volume.
Linux Command Counterpart
yast
Alternatives and Notes
Access YaST > Network Services
CIFS (Samba) and other protocols are supported by specific RPMs. For more information, see the OES2
SP2: Samba Administration Guide
NFS support is native to Linux volumes.
If you create an NSS volume on Linux, the name space defaults to UNIX*. Changing the setting to Long using either nssmu or iManager improves performance, especially if you plan to store millions of files on the volume. For more information, see “Configuring
the Name Space for an NSS Volume” in the OES 2 SP2: NSS
File System Administration Guide.
For help with YaST, enter at the command prompt.
yast -h
ADD SECONDARY IPADDRESS
ALERT
ALIAS
APPLET
or
APPLETVIEWER
ARP
BASH
Add a secondary IP address.
Manage NetWare alerts. KDE System Guard includes a
Define an alias.
J a v a A p p l e t V i e w e r
Usage: appletviewer options include: -debug ,
-encoding, and -J (runtime flag)
The -J option is non­standard and subject to change without notice.
Display and modify the ARP table.
Use a BASH shell, including a variety of useful system utilities, on NetWare.
ip addr add
alias
appletviewer
arp
/bin/bash
For more information, see the ip man page.
Messages sensor you can add to the Worksheet. However, this requires that the KDE GUI is installed and running on the server, which consumes system resources.
For more information, see the
alias
man page.
For more information, see the
appletviewer
For more information, see the man page.
The Bourne Again Shell is the default command line interface on most Linux systems.
man page.
arp
NetWare/Linux Command Map 13
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
BIND
Link a communication protocol to a network board and its LAN driver.
BINDERY
Add or remove a bindery context to or from the list of all bindery contexts for this server.
BROADCAST
Send messages to NCPTM users by username or connection number.
CDDVD
Allow a CD or DVD disk to function as a Novell® Storage Services (NSS) volume.
Linux Command Counterpart
ethtool
mii-tool
ip
Alternatives and Notes
‘For more information, see the man page associated with each command.
The NetWare Bindery was obsolete
in NDS®/eDirectoryTM starting with NetWare 4 and is not available on OES-Linux.
ncpcon send
The send command only sends messages to connections (stations), not to usernames.
Also keep in mind that send functionality applies to NCP connections only. Users attached through Samba/CIFS or some other protocol do not receive messages unless they also have an NCP
TM
(Novell Client
) connection.
Support for CDs and DVDs is
loaded automatically on Linux, and disks are often automatically mounted under /media when inserted. Removable media cannot be accessed as NSS volumes on OES­Linux.
CHARSET
Change the code page currently used by the NetWare server.
yast
Similar functionality is available in YaS T > System > Language and System > Keyboard Layout options.
For help with YaST, enter
yast -h
at the command prompt.
14 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
CLEAR STATION
Clear a workstation connection to a NetWare server.
Linux Command Counterpart
ncpcon
connection list
ncpcon
connection clear station
ncpcon
connection station
Alternatives and Notes
You can clear NCP (Novell Client) connections using the
connection clear
The
ncpcon
the NCP Server RPMs and is documented in “NCP Server
Console (NCPCON) Utility ” in the
OES 2 SP2: NCP Server for Linux Administration Guide.
Novell Remote Manager for Linux also provides this. For more information, see “Using Novell
Remote Manager to Clear NCP Connections” in the OES 2 SP2:
NCP Server for Linux Administration Guide.
NOTE: For standard Linux (non­NCP) connections, there is no single command to do this.
You must discover how users are connected to the server and then stop the processes associated with those connections.
utility is installed with
ncpcon
command.
CLS
CLUSTER …
ps
For example, use the with the U option to list processes for the user, and then use stop the root process for the user.
You can view how a user is connected on Linux using the
finger
For more information, see the man pages for the commands mentioned above.
Clear the console screen and move the console prompt to the top of the screen.
Manage clusters. Similar commands are provided for
clear
Ctrl+l
For more information, see the
clear
functionality that is currently supported on OES-Linux.
For details, see “Console
Commands for Novell Cluster Services” in the OES 2 SP2: Novell
Cluster Services 1.8.7 for Linux Administration Guide.
command.
man page.
command
kill
to
NetWare/Linux Command Map 15
Loading...
+ 35 hidden pages