Novell Open Enterprise Server Linux Tips

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
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
COMPFIX
CONFIG
Repair compressed volumes.
View the system information in the following rows.
Linux Command Counterpart
Alternatives and Notes
compfix compfix
OES SP2.
For more information, see the
compfix
sitar
siga
Although not functionally the same as
CONFIG
produce very detailed system reports in multiple formats, including HTML and text.
For more information, see the and
sitar
For the NCP server, you can use
ncpcon config
NCP server configuration information.
Linux server information is also available through specific Linux commands. For example, the command displays all current environment variables and their values.
is available starting with
man page.
, both
sitar
and
siga
siga
man pages.
to display the
env
NetWare server
name
Internal network
number (server ID)
Server up time
Loaded LAN drivers
There is also a GPL utility named supportconfig that collects system troubleshooting information. For more information, visit the Cool
Solutions Web site (http:// www.novell.com/coolsolutions/tools/
16106.html).
hostname
cat /etc/
hostname
This is an IPXTM convention. IPX is
uptime
lsmod
ip
For more information, see the man pages associated with the
hostname
The server name also appears at the command prompt by default.
a legacy NetWare protocol that will not be ported to Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
For more information, see the
uptime
lsmod
memory, but not the module versions.
and
cat
commands.
man page.
lists modules loaded in
16 OES2 SP2: Linux Tips for NetWare Administrators
ip
shows the network card
configuration.
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
Driver version
numbers
Hardware settings
Node (station)
addresses
External network
number of the cabling scheme
Board name
Linux Command Counterpart
modinfo
dmesg
/var/log/
Alternatives and Notes
For more information, see the man pages associated with each command.
boot.msg
lsmod
ip
ip
This is an IPX convention. IPX is a
yast
lsmod
lists modules loaded in
memory, but not the version.
ip
shows the network card
configuration.
For more information, see the ip man page.
legacy NetWare protocol that will not be ported to Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
This information is available in YaS T > Hardware > Hardware Information.
CONLOG
For help with YaST, enter at the command prompt.
yast -h
Frame type This is an IPX convention. IPX is a
legacy NetWare protocol that will not be ported to Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
Networking protocol
for each network board
Server’s eDirectory
tree and bindery context
Capture and log console messages.
This is an IPX convention. IPX is a
legacy NetWare protocol that will not be ported to Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
ndsstat
rcndsd
status
cat /var/
log/
For more information, see the
ndsstat
To view more rcndsd options, enter
rcndsd -help
prompt.
Ctrl+F10 shows the console log in real time.
man page.
at the command
messages
NetWare/Linux Command Map 17
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
CONSOLESAVE
CPUCHECK
CSET
CX
DELETE SECONDARY
Save the System Console screen buffer to the default file
console[n].txt
the default path, or to the path specified with the loggerpath command.
Display processor information.
View or set SET parameters by category.
View or change the eDirectory context.
Delete a secondary IP address.
IPADDRESS
DHCPSRVR
Manage the Novell DHCP server.
Linux Command Counterpart
Closely related commands are:
in
cat /proc/
cpuinfo
See “SET” on page 41.
Use iManager to view the tree.
ip addr del
dhcpd
Alternatives and Notes
script
tee
screen
For more information, see the respective man pages.
For more information, see the and
For more information, see the ip man page.
For more information, see “Administering and Managing
DHCP” in the OES 2 SP2: Novell
DNS/DHCP Administration Guide for Linux.
: makes a typescript of the
terminal session.
: reads from standard input and
writes to standard output
: a screen manager with
VT100/ANSI terminal emulation.
cpuinfo
man pages.
cat
18 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
DISABLE LOGIN
Prevent users from logging in.
Linux Command Counterpart
ncpcon
disable login
Alternatives and Notes
You can disable login for NCP file service access using the
disable login
The ncpcon utility is installed with the NCP Server RPMs and is documented in “NCP Server
Console (NCPCON) Utility ” in the
OES 2 SP2: NCP Server for Linux Administration Guide.
IMPORTANT: You can’t disable the general login function for externally defined (eDirectory) users. For local users, this is commonly done by changing the login shell indicated in /etc/passwd to /bin/false.
Some Linux administrators habitually switch to single-user mode (init 1) to accomplish this. This causes eDirectory and other OES services to shut down, which is probably not desirable in most cases, and is certainly not equivalent to DISABLE LOGIN on NetWare, which allows services to continue to run even though logging in is disabled.
command.
ncpcon
DISABLE TTS
Manually disable the NetWare Transaction Tracking System (TTS). Primarily used only by application developers for testing purposes.
TTS is not available for NSS
volumes on OES-Linux.
Journaled Linux file systems, such as Ext3, are capable of providing similar functionality. For example,
Journal
the journaling provides a service similar to TTS. For a brief summary of which file systems support journaling, see “Major File Systems
in Linux” in the SLES 10 SP2
Installation and Administration Guide.
For more information, search the Web for the file systems you are using.
mode of Ext3
NetWare/Linux Command Map 19
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
DISMOUNT
DISPLAY DEVICE STATS
DISPLAY ENVIRONMENT
DISPLAY INTERRUPTS
Make a volume unavailable to users.
Display I/O statistics for individual devices.
Display current search paths and current values of settable server parameters.
Display hardware interrupt information.
Linux Command Counterpart
ncpcon
umount
iostat
env
echo $PATH
yast
Alternatives and Notes
For NCP volumes, use ncpcon.
The ncpcon utility is installed with the NCP Server RPMs and is documented in “NCP Server
Console (NCPCON) Utility ” in the
OES 2 SP2: NCP Server for Linux Administration Guide.
umount
volume mount points.
For more information, see the
iostat
Novell Remote Manager for Linux also provides I/O memory and port information from the Manage Hardware page.
For more information, see the and
Hardware information for each component is available in YaST > Hardware > Hardware Information.
lets you unmount Linux
man page.
echo
man pages.
env
DISPLAY IPX NETWORKS
DISPLAY IPX SERVERS
DISPLAY MODIFIED ENVIRONMENT
Display IPX network information.
Display IPX server information.
Display all non-default server parameter settings.
For help with YaST, enter at the command prompt.
IPX is a legacy NetWare protocol
that will not be ported to OES-Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
IPX is a legacy NetWare protocol
that will not be ported to OES-Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
Similar functionality is not available
on OES-Linux.
yast -h
20 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
DISPLAY MM STATS
DISPLAY PARTITION
Display Media Manager statistics.
Display the label of the specified partition.
LABEL
DISPLAY PROCESSORS
DISPLAY SECONDARY IPADDRESS
Display the status of available server processors.
Display the secondary IP addresses.
Linux Command Counterpart
There are no MM commands for
fdisk -l
cat /proc/
cpuinfo
ip addr show
Alternatives and Notes
managing multipath I/O and snapshots on OES-Linux.
Multipath I/O for NSS is not supported on OES-Linux. For information about multipath I/O for Linux POSIX file systems on SLES 10, see “Managing Multipath I/O for
Devices” in the SLES 10 SP2:
Storage Administration Guide.
NSS Snapshots on OES-Linux are managed through either iManager or NSSMU.
.For more information, see the
fdisk
man page.
For more information, see the man page.
For more information, see the ip man page.
cat
DISPLAY SLP …
DOWN
DSDIAG
DSLOG
DSMERGE
Display SLP information.
Execute an orderly shutdown.
Document eDirectory; check tree health; diagnose problems.
Manage eDirectory error logs.
Merge and rename eDirectory trees; display time synchronization information for all servers in a tree.
slptool …
init 0
init 6
shutdown now
This functionality is provided
Use the n4u.server.log-levels and
For example,
.
smb
For more information, enter
slptool -help
prompt.
init 0
reboots the server.
For more information, see the respective man pages.
through IMONITOR.
n4u.server.log-file parameters in the
slptool findsrvs
at the command
halts the system,
init 6
/etc/opt/novell/ eDirectory/conf/nds.conf
configuration file.
ndsmerge
For more information, see the
ndsmerge
See also IMONITOR.
man page.
NetWare/Linux Command Map 21
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
DSREPAIR
DTRACE
ECHO …
EDIRUTIL
Maintain and repair the database of a Novell eDirectory tree.
A menu-driven trace utility for U.S. Robotics* ISDN Allegra adapters.
Enable (ECHO ON) or disable (ECHO OFF) the displaying of commands executed from an NCF file.
Access all of the eDirectory back-end utilities remotely as well as on the server.
Linux Command Counterpart
ndsrepair
This is not DSTRACE.
In shell script files, the echo
edirutil
Alternatives and Notes
For more information, see the
ndsrepair
See also IMONITOR.
command causes the comment that follows it to be displayed, as does preceding the comment with an exclamation mark (!).
Comments preceded by a pound sign (#) are not displayed as the script runs.
For information about script files, see Section 3.2, “NCF vs. Shell
Script Files,” on page 49.
For more information, enter
edirutil -h
man page.
.
EDIT
ENABLE LOGIN
ENABLE TTS
ENV
Create or modify a text file on a boot, DOS, USB, or NetWare partition.
Reenable the login function after using DISABLE LOGIN. Enable the supervisor account (bindery only) when the account has been locked by the intruder detection function.
Manually enable the NetWare Transaction Tracking System (TTS).
This is primarily used only by application developers for testing purposes.
Display or set C Library environment variables.
vi
For help, enter
vi -h
, or
man vim
vim
ncpcon enable login
TTS is not available for NSS
env
See “DISABLE LOGIN” on page 19 for additional important information.
volumes on OES-Linux.
Journaled Linux file systems, such as Ext3, are capable of providing similar functionality. For example, the
Journal
journaling provides a service similar to TTS. For more information, search the Web for information about the file systems you are using.
For more information, enter
at the command prompt, or see
env
the
env
mode of Ext3
man page.
.
info
22 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
ENVSET
EXTCHECK
FILE SERVER NAME
FILER
(In DOS from a Novell Client)
FIXNAMES
Display or set Java* environment variables.
Check a jar file for title and version conflicts with any installed extensions.
Set the file server name in
autoexec.ncf
Manage files and directories in the file system.
Verify that files in the specified path on an NSS volume have legal names for the current code page.
.
Linux Command Counterpart
You can use the
extcheck
Filer is a legacy DOS-based tool.
This command has not been ported
Alternatives and Notes
export
to set environment variables. For more information, see the man page.
For more information, see the
extcheck
Autoexec.ncf
so this command has no direct counterpart.
However, the system’s host name. For more information, see the man page.
There are numerous shell commands for managing (copying, deleting, moving, etc.) files.
to Linux for NSS.
For Linux traditional file systems, you can use the convert filenames from one language code to another. For more information, see the page.
man page.
is a NetWare file,
hostname
convmv
command
export
lets you set
hostname
utility to
convmv
man
FLAG
(In DOS from a Novell Client)
View or modify file and directory attributes, owner, etc.
chmod
only)
attrib
only)
nssmu
only)
(Linux
(NSS
(NSS
You can also use iManager for this.
Understanding and working with Linux file attributes and ownership mechanisms requires training beyond the scope of this guide. For an introduction, see the“Access
Control Lists in Linux” and “Users and Access Permissions” in the
SLES 10 SP2 Installation and Administration Guide.
NetWare/Linux Command Map 23
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
FORMAT
HEALTH
Format a local FAT volume.
View the status of a server’s overall health as determined through iManager.
The
ALL
option displays the health of individual components.
Linux Command Counterpart
makefs
Use Novell Remote Manager >
Alternatives and Notes
For NSS volumes, you can use NSSMU or the iManager Storage plug-in. Note, however, that NSS volumes are managed by EVMS.
Although it is possible to use
makefs
devices that are managed by non­EVMS volume managers, Novell does not support this option, and there are several critical feature limitations that apply. For more information, see “Using NSS on
Devices Managed by Non-EVMS Volume Managers (Linux)” in the
OES 2 SP2: NSS File System Administration Guide.
Diagnose > Health Monitor to
monitor the status of an OES-Linux server.
to create NSS volumes on
HELP
HIDESCREEN
HTTPBIND
HTTPCLOSEPORT
HTTPOPENPORT
HTTPUNBIND
ICAPTURE
(In DOS on a Novell Client)
View descriptions and syntax for commands.
Hide a screen for a utility that is running at the server console.
Set an IP address, port, etc. for HTTPSTK to open.
Close a port on all IP addresses bound to HTTPSTK.
Open a port on all IP addresses bound to HTTPSTK and optionally enable SSL on the port.
Remove an IP address:port that HTTPSTK has open. If no port is specified, all ports are closed.
Capture LPT ports and redirect the output to iPrint printers.
man command
You can redirect output from the
In Novell Remote Manager, click the
In Novell Remote Manager, click the
In Novell Remote Manager, click the
In Novell Remote Manager, click the
This command applies to legacy
For more information on using man pages, see the
utility to null. However, this is not recommended.
Config icon, then edit the
httpstkd
Config icon, then edit the
httpstkd
Config icon, then edit the
httpstkd
Config icon, then edit the
httpstkd
NetWare printing, which is no longer supported.
iPrint is the OES printing solution.
man
man page.
config file.
config file.
config file.
config file.
24 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
ICE
IDLJ
IFCONFIG
IMONITOR
Import/Export LDIF files; migrate LDAP data; compare and update schemas; use a template to load information into eDirectory.
Generate Java bindings from an IDL file.
Configure network interface parameters.
Monitor eDirectory and the servers it contains using a Web browser.
Linux Command Counterpart
ice
idlj
ip
ethtool
mii-tool
yast
In a Web browser go to http://
Alternatives and Notes
For more information, see the man page.
For more information, see the man page.
The ip command performs some configuration of network cards, but the changes are not permanent.
Instead, use modifications on the fly, or
tool
to configure network cards permanently.
server_name:8008.
iMonitor is also accessible through iManager > Roles and Tasks icon >
eDirectory Maintenance > Repair via iMonitor
ethtool
for
mii-
for older cards. Or use YaST
ice
idlj
INETCFG
INITIALIZE SYSTEM
INVENTORY
IPCRM
IPCS
IPRNTCMD
workstation)
(DOS
IPTRACE
Set up and customize your internetworking configuration for IPX, IP, and AppleTalk*.
Enable the multiprotocol router configuration (execute the system
netinfo.cfg
Generate a volume inventory for use by NRM.
Remove System V IPC semaphore or shared memory.
View allocated System V semaphores and shared memory segments.
Install, remove, or set a printer as the default printer.
Display the route that IP packets take across the network.
file).
yast
ethtool
For more information, see the respective man pages.
mii-tool
rcnetwork
For help, enter
rcnetwork -h
.
start
yast
In Novell Remote Manager, click
ipc_rmid
ipc_stat
This is a DOS printing command.
traceroute
Routing is configured through YaST.
For help with YaST, enter at the command prompt.
Volume Inventory and select the volume name.
For more information, see the man page.
For more information, see the man page.
iPrint is the OES printing solution.
For more information, see the
traceroute
man page.
yast -h
ipc
ipc
NetWare/Linux Command Map 25
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
IPX INTERNAL NET
IPXCON, IPXPING
View the server’s internal IPX network address.
,
Manage IPX. IPX is a legacy NetWare protocol
IPXS
JAVA
JAR
JARSIGNER
JAVA
JAVAC
Start the Novell JVM* for NetWare product. .
Manage Java archives.
Sign and verify jar files.
Start the Novell JVM for NetWare product.
Compile Java source code into Java bytecodes.
Linux Command Counterpart
IPX is a legacy NetWare protocol
java
jar
jarsigner
java
javac
Alternatives and Notes
and will not be ported to OES-Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
and will not be ported to OES-Linux. However, it is available on a NetWare virtual machine running on an OES-Linux host server.
For more information, see the man page.
For more information, see the man page.
For more information, see the
jarsigner
For more information, see the man page.
For more information, see the
javac
man page.
man page.
java
jar
java
JAVADOC
JAVAH
JAVAP
JDB
KEYB
KEYTOOL
Generate API documentation from Java source code.
Produce C header files and C source files from a Java class.
Disassemble a Java class file.
Debug Java.
Change the console keyboard type.
Manage keys and certificates for Java.
javadoc
javah
javap
jdb
yast
keytool
For more information, see the
javadoc
For more information, see the
javah
For more information, see the
javap
For more information, see the man page.
You can change keyboard and language settings in YaST.
For help with YaST, enter at the command prompt.
For more information, see the
keytool
man page.
man page.
man page.
yast -h
man page.
jdb
26 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
KF8
LANGUAGE
LFVMOUNT
Enable or disables pausing between commands executed from NCF files.
Set the language for subsequently loaded modules.
Mount all local FAT volumes not recognized by DOS and assign them a local drive letter.
Linux Command Counterpart
There is no simple command or
yast
mount
Alternatives and Notes
switch to enable pausing in script file execution.
To enable manual confirmation of steps in the boot process, edit
etc/sysconfig/boot
change the
PROMPT_FOR_CONFIRM
to
“yes”
.
For information about script files, see Section 3.2, “NCF vs. Shell
Script Files,” on page 49.
All language settings are managed using YaST.
For help with YaST, enter at the command prompt.
Parameters specified with the
mount
command determine the file systems mounted and attributes associated with the file systems.
and
parameter
yast -h
/
LFVOLUMES
LIST DEVICES
List the local FAT volumes currently mounted.
List the storage devices on the server and register new devices with the server’s Media Manager database.
mount
cat /dev/
device
ls /dev
yast
Drive letters are not used on Linux.
For more information, see the
mount
man page.
Used alone, the shows the currently mounted volumes.
Linux has many devices, each of which contains information you can view by “walking the /proc file system.”
Understanding Linux devices and the information displayed requires training beyond of the scope of this guide. For more information, see the SLES 10 SP2 Installation and
Administration Guide.
To display the currently mounted file systems, enter the command with no arguments.
You can display partitions in YaST > System > Partitioner, but be careful to exit without making changes.
mount
mount
command
For help with YaST, enter at the command prompt.
NetWare/Linux Command Map 27
yast -h
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
LIST FAILOVER DEVICES
LIST PARTITIONS
LIST STORAGE ADAPTERS
LIST STORAGE DEVICE BINDINGS
LOAD
List the multipath devices and their paths.
List the partitions on all mounted storage devices.
List the registered storage adapters.
List all Custom Device Modules (CDMs) bound to a particular device.
Link NetWare loadable modules to the operating system.
Linux Command Counterpart
NSS multipath I/O is not supported
fdisk -l For more information, see the
hwinfo --
storage-
Alternatives and Notes
on OES-Linux. For information about multipath I/O on SLES 10, see “Managing Multipath I/O for
Devices” in the SLES 10 SP2:
Storage Administration Guide.
fdisk
man page.
The same comments apply as for
LIST DEVICES above.
ctrl
CDM drivers are unique to the
NetWare architecture.
Load and run commands are not
used on Linux. Generally, to execute files, you simply enter the filename or path/filename.
Most services are run from the
etc/init.d
directory.
/
LOGGERCLEAR
LOGGERPATH
LOGGERSAVE
OES services have and
restart
to restart eDirectory, enter
init.d/ndsd restart
command prompt.
Clear the logger screen. The log path is hard-coded in
Change the directory where the file is saved.
Save the logger screen buffer to the logger.txt file.
logger.txt
Linux.to
However, some service configuration files include configuration settings that let you change the log path.
The log path is hardcoded in
Everything gets written to
Linux.to
However, some service configuration files include configuration settings that let you change the log path.
log/messages
service configuration file dictates otherwise.
/var/log/messages
/var/log/messages
start, stop
options. For example,
/etc/
at the
/var/
, unless a specific
,
.
.
28 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
LOGIN
(DOS workstation)
LOGOUT
(DOS workstation)
MAGAZINE …
MAP
(DOS workstation)
Access the network by logging in to a server and running a login script.
Exit the network or log out of servers.
Respond to the screen prompts
Magazine Magazine
View drive mappings; Create or change network or search drive mappings; Map a drive to a fake root directory (for applications that must use a root directory)
Insert
and
Remove
.
Linux Command Counterpart
Login on Linux is a different concept
The same comments apply as for
There is no directly corresponding
—The
Alternatives and Notes
than on NetWare. You log in to a shell session with the server, which is analagous to accessing the console prompt on a NetWare server.
LOGIN above.
utility
mount
command used alone shows both local and remote mount points—the connections between file systems (either local or remote) and a directory on the server. You access the file system (local or remote) by accessing the local directory.
MEDIA …
Respond to the screen
MEMORY
MEMORY MAP
prompts and
Display the total amount of installed memory that the operating system can address.
Display the amount of memory (in bytes) allocated to DOS and to the server.
Insert Media
Remove Media
.
Drive letters are not used on Linux. However, if you install the NCP server, Novell Clients can then map drives to NCP volumes on OES­Linux servers.
On Linux, all media connections,
free
cat /proc/
meminfo
top
including remote connections and removable media, are handled through the
There’s no memory command per se on Linux. However, the command gives a good start on what’s installed, available, being used by buffers, etc.
If you want to see a GUI display, you must be running the KDE graphical interface and use KDE System Guard.
You can also view memory information in Novell Remote Manager (NRM). To access NRM in your Web browser, go to http:// server_name:8008 > Manage Linux > View Memory Information.
mount
command.
top
There is, of course, no memory allocated to DOS when Linux is running, even if there’s a separate DOS partition on the hard drive.
NetWare/Linux Command Map 29
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
MIRROR STATUS
MM …
MODULES
MONITOR
View the status of mirrored disk partitions. View the percentage of mirrored data on each partition.
Manage storage media. See the explanation for DISPLAY
List the currently loaded NLM programs.
View server statistics and activity under two categories: General Information Options, and Available Options, as listed below.
Linux Command Counterpart
This functionality is available
ps -eaf
Most of the information you
Alternatives and Notes
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.
MM STATS.
The ps command displays currently running processes and roughly equivalent to MODULES on NetWare. For more information, see
ps
man page or enter
the
Use lsmod to view kernel modules.
traditionally get through MONITOR is available in Novell Remote Manager (NRM). To access NRM, browse to http://server_name:8008 in your Web browser.
ps -eaf
ps -?
is
.
General Information Options in Monitor:
Operating system
version and date
Server name:
server_name in Directory tree
tree_name
Utilization
For NCP server, you can display a number of statistics using ncpcon, including Server up time, Packets in, Packets dumped, etc. For more information, see “NCPCON” in the
OES 2 SP2: NCP Server for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
ndsstat
top
For more information, see the
ndsstat
Also see the OES 2 SP2: Novell
Remote Manager for Linux Administration Guide.
For more information, see the man page.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
man page.
top
30 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
Server Up Time
Online Processors See the OES 2 SP2: Novell Remote
Original Cache
Buffers
Total Cache Buffers See the OES 2 SP2: Novell Remote
Dirty Cache Buffers See the OES 2 SP2: Novell Remote
Linux Command Counterpart
uptime
top
See the OES 2 SP2: Novell Remote
Alternatives and Notes
For more information, see the
uptime
Also see the OES 2 SP2: Novell
Remote Manager for Linux Administration Guide.
Manager for Linux Administration Guide.
Manager for Linux Administration Guide.
You can also enter
mem/meminfo
prompt to get some of this information.
Manager for Linux Administration Guide.
Manager for Linux Administration Guide.
and
top
at the command
man pages.
cat /proc/
Long Term Cache
Hits
Current Disk
Requests
Packet Receive
Buffers
Directory Cache
Buffers
Maximum Service
Processes
Current Service
Processes
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
The information is presented differently on Linux, but it is there.
Current Connections — See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
NetWare/Linux Command Map 31
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
Open Files See the OES 2 SP2: Novell Remote
Available Options in Monitor:
Connections See the OES 2 SP2: Novell Remote
Storage Devices See the OES 2 SP2: Novell Remote
Volum es
Linux Command Counterpart
ncpcon
df -h
Alternatives and Notes
Manager for Linux Administration Guide.
Manager for Linux Administration Guide.
Manager for Linux Administration Guide.
You can see local, but not unallocated file systems.
The ncpcon utility is installed with the NCP Server RPMs and is documented in “NCPCON” in the
OES 2 SP2: NCP Server for Linux Administration Guide.
To view mounted volumes, use
nsscon, ncpcon
depending on the volume types you are monitoring.
, or
mount
,
To view the utilization of Linux
LAN/WAN Drivers
lsmod
partitions, enter command prompt.
For more information, see the
lsmod
man page.
df -h
at the
Loaded Modules See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
File Open/Lock
Activity
Disk Cache
Utilization
For NCP volumes only, see the
OES 2 SP2: Novell Remote Manager for Linux Administration Guide.
See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
System Resources A NetWare concept that is not
applicable to OES-Linux.
Virtual Memory
vmstat
For more information, see the
vmstat
man page.
Kernel See the OES 2 SP2: Novell Remote
Manager for Linux Administration Guide.
32 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
Server Parameters Linux doesn’t have server
MOUNT
Make a volume available to users.
Linux Command Counterpart
mount
(for traditional Linux volumes)
nsscon
nssmu
(use the mount option for NSS volumes)
(for the first mount of encrypted NSS volumes after a reboot)
Alternatives and Notes
parameters.
nssmu
For NSS volumes, in volumes, then press F7.
For encrypted NSS volumes, the nssmu utility is required for mounting the encrypted volume on the first mount following a system reboot, because you must enter the encryption password to activate the volume. Thereafter, you can use the
mount
command in nsscon.
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.
The nssmu utility is installed with the Novell Storage Services RPMs and is documented in “NSS
Management Utility (NSSMU) Quick Reference” in the OES 2 SP2: NSS
File System Administration Guide.
, select
NAME
NAMED
NATIVE2ASCII
NCMCON
Display the server name.
Manage Novell DNS services.
Convert text to Unicode* Latin-1 for use by Java.
Control and monitor PCI Hot Plug.
hostname
novell-named
native2ascii
Hot Plug monitoring is available for
For more information, see the
hostname
Also, the server name appears at the command prompt by default.
For more information, see “Administering and Managing a
DNS Server” in the OES 2 SP2:
Novell DNS/DHCP Administration Guide for Linux.
IMPORTANT: The SLES 10 base includes named, but this is not integrated with eDirectory.
For more information, see the
native2ascii
only some hardware. Messages are commonly logged in
messages
man page.
man page.
/var/log/
.
NetWare/Linux Command Map 33
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
NCOPY
NCS DEBUG
NDIR
NETSTAT
NSLOOKUP
NSS
Specify your intention for copying a compressed file to a compressed volume or a non-compressed volume.
Save a record of all NCS port activity in an ASCII text file named
ncstrace.log sys:system
View file attributes and compression information for all files in a directory.
Monitor the network status.
Diagnose DNS setup problems or DNS problems in an application.
Manage NSS at the command line.
in the
directory.
Linux Command Counterpart
This functionality for NSS on Linux
See “Console Commands for Novell
ls
netstat
dig
nsscon
Alternatives and Notes
is provided through the Novell Client, installed on either a client or the OES-Linux server.
There is no equivalent for Linux POSIX file systems.
Cluster Services” in the OES 2 SP2:
Novell Cluster Services 1.8.7 for Linux Administration Guide.
For more information, see the ls man page.
For more information, see the
netstat
The deprecated on 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.
man page.
nslookup
command has been
NSSMU
NSWEB
NVXADM
NVXWEB
NWBOOT
Manage NSS storage media on a server.
Start and stop the NetWare Web Manager and NetWare Enterprise Web Server.
Start and stop the NetWare Web Manager.
Start and stop the NetWare Web Manager.
Change NetWare boot options to use DOS or boot directly to NetWare.
nssmu
NetWare Web Manager is not
NetWare Web Manager is not
NetWare Web Manager is not
For information on SLES 10
The nssmu utility is installed with the Novell Storage Services RPMs and is documented in “NSS
Management Utility (NSSMU) Quick Reference” in the OES 2 SP2: NSS
File System Administration Guide.
available on Linux.
available on Linux.
available on Linux.
booting, see “Booting and
Configuring a Linux System” in the
SLES 10 SP2 Installation and Administration Guide.
34 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
NWCONFIG
NWPING
NWTRACE
NWTRAP
OFF
ORBD
Manage the server and install additional products.
Ping a remote host from a NetWare server.
Print the route that packets take to the network host.
Manage SNMP traps on NetWare.
Clear the console screen.
Enable clients to transparently locate and invoke persistent objects on servers in the CORBA* environment.
Linux Command Counterpart
yast
ping
traceroute
net-snmp
net-snmp-
utils
clear
Ctrl+l
orbd
Alternatives and Notes
YaST is the tool for installing OES­Linux and OES services. Many configuration parameters are similar to NetWare.
For help with YaST, enter at the command prompt.
For more information, see the man page.
For more information, see the
traceroute
For more information, see the respective man pages.
For more information, see the
clear
For more information, see the man page.
man page.
man page.
yast -h
ping
orbd
PAUSE
POLICYTOOL
PING
PPPCON
Cause NCF file execution to wait for a key to be pressed.
Create a manage policy files for Java.
Send an Internet Control Message Protocol (ICMP) echo request packet to an IP node on your internetwork.
View Point-to-Point Protocol (PPP) interface configuration and statistical information.
There is no simple command or
switch to enable pausing in shell script file execution.
To enable manual confirmation of steps in the server boot process, edit
/etc/sysconfig/boot
change the PROMPT_FOR_CONFIRM parameter to yes.
For information about script files, see Section 3.2, “NCF vs. Shell
Script Files,” on page 49.
policytool
ping
yast
For more information, see the
policytool
For more information, see the man page.
Point-to-Point interfaces are configured in YaST > Network Devices.
For help with YaST, enter at the command prompt.
man page.
yast -h
ping
and
NetWare/Linux Command Map 35
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
PPPTRACE
PROTECT
PROTECTION
PROTOCOL
PROTOCOL REGISTER
PSERVER
PURGEVOLUME
Debug PPP data link problems.
Load NLM programs into a protected address space.
List the protected address spaces, or add/remove/ restart functionality from an existing address space.
View the protocols registered.
Register additional protocols and frame types.
Monitor and manage printers and print queues (legacy).
Purge all deleted files from an NSS volume.
Linux Command Counterpart
This is a NetWare utility that is not
Protected address space is a
Protected address space is a
ip
ip
This is for managing legacy
ncpcon purge
volume
nss_volume _name
Alternatives and Notes
ported to Linux.
NetWare concept.
NetWare concept.
For more information, see the ip man page.
For more information, see the ip man page.
NetWare printing.
iPrint is the OES printing solution.
This functionality is available through the ncpcon utility for NSS volumes that have had the Salvage attribute enabled prevoiusly.
PVER
RAID STATUS
View the version of OES­NetWare installed on the server.
View the status of the software RAID 0 RAID 1 and RAID 5 devices.
cat /etc/
novell­release
The ncpcon utility is installed with the Novell Storage ServicesTM RPMs and is documented in “NCP
Server Console (NCPCON) Utility
in the OES 2 SP2: NCP Server for
Linux Administration Guide.
Salvage and Purge are NSS file system features.
You can also use
SuSE-release
version and patch level of the server.
You can also use the
SPident
to view the patch status of OES and SLES, respectively.
For more information, see the respective man pages.
The nssmu utility is used to manage software RAIDs for NSS volumes and is installed with the Novell Storage Services RPMs. It is documented in “NSS Management
Utility (NSSMU) Quick Reference
in the OES 2 SP2: NSS File System
Administration Guide.
and
cat /etc/
to display the
oes-
SPident
commands
36 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
RCONAG6
RCONPRXY
RCONSOLEJ
Allow remote console access to the server.
Allow RConsoleJ to access target servers.
Remotely control a NetWare server.
Linux Command Counterpart
Novell Remote Manager has a
Novell Remote Manager has a
Novell Remote Manager has a
Alternatives and Notes
secure console.
You can also use SSH (or VNC for GUI access).
Telnet is not secure and therefore not recommended.
secure console.
You can also use SSH (or VNC for GUI access).
Telnet is not secure and therefore not recommended.
secure console.
You can also use SSH (or VNC for GUI access).
Telnet is not secure and therefore not recommended.
REBUILD
RECORD
Recover corrupted Novell Storage Services (NSS) pools.
Record command sequences that you enter at the console over and over.
ravsui
ravview
fsck
Similar functionality is available
The ravsui and ravview utilities are installed as part of Novell Storage Services NSS.
Use ravsui to rebuild or verify an NSS pool on Linux that is in a maintenance state.
Use ravview to dump specified NSS rebuild or verify files to a human­readable file format.
For help with ravsui and ravview,
-h
use the information about fsck, see the
fsck
through shell scripting, a topic that is beyond the scope of this guide but is treated extensively in industry publications.
Also, bash includes a History Expansion capability that some find useful. For more information, see the “History Expansion” section of the
option. For more
man page.
bash
man page.
NetWare/Linux Command Map 37
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
REGISTER MEMORY
REINITIALIZE SYSTEM
REM
REMIRROR PARTITION
Configure the operating system to recognize installed memory above the amount of memory that is automatically registered.
Enable configuration changes made since the commands in the
netinfo.cfg
executed.
Specify a line as a comment (used in NCF files).
Start the remirroring of a logical NSS partition.
file were
Linux Command Counterpart
This is NetWare functionality that
rcnetwork
restart
#
!
This functionality is available
Alternatives and Notes
doesn’t apply to Linux.
For help, enter the command prompt.
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.
rcnetwork
-h at
REMOVE NETWORK ADAPTER
REMOVE NETWORK INTERFACE
REMOVE STORAGE ADAPTER
REMOVEMODULE
Unload one LAN driver when the LAN driver has been loaded multiple times to support multiple boards.
Unload one frame type when there are multiple frame types loaded with one LAN driver.
Remove one instance of a storage driver.
Remove modules that are preloaded by the
startup.ncf
modules that were loaded using the load -s command.
file or
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.
On Linux it is common for drivers to
support multiple instances of hardware. Loading is done only once and removal should not be necessary.
ip
Although
chkconfig
For more information, see the ip man page.
rmmod module_name
does unload a kernel module, this is not recommended.
On Linux it is common for drivers to support multiple instances of hardware. Loading is done only once and removal should not be necessary.
For more information, see the
chkconfig
man page.
38 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
REPLACE
REPLAY
RESET ENVIRONMENT
RESET NETWORK ADAPTER
RESET NETWORK INTERFACE
RESET ROUTER
Unload and reload a specific module in one step.
Execute a list of commands that were recorded in and saved in a session using the RECORD command.
Reset server parameters that have been modified to their default values.
Reset a network adapter manually.
Restart a logical board that has been shut down using
SHUTDOWN NETWORK
the
INTERFACE
Reset the router table in the server if the table becomes inaccurate or corrupted.
command.
Linux Command Counterpart
Performing an equivalent action on
This is related to the comment for
This is NetWare functionality that is
ifdown
ifup
ifdown
ifup
rcnetwork
restart
yast
Alternatives and Notes
Linux can prevent the system from running. Not recommended.
the RECORD utility. Using your chosen shell script methods, run the script you have created.
available for selected services in YaST but not at the command prompt.
For more information, see the respective man pages.
For more information, see the respective man pages.
For help with
rcnetwork -h
prompt.
For help with YaST, enter at the command prompt.
rcnetwork
at the command
, enter
yast -h
RESET SERVER
RESTART SERVER
RIGHTS
RMIC
RMID
RMIREGISTRY
Bring down the server and then restart it immediately.
Bring down the server and then restart it immediately.
View or modify user or group rights for files, directories, and volumes.
Generate stub and skeleton class files (JRMP protocol) and stub and tie class files (IIOP protocol) for Java.
Start the activation system daemon for Java.
Create and start a remote object registry on the specified port on the current host.
init 6
shutdown -r
now
init 6
shutdown -r
now
rights
rmic
rmid
rmiregistry
For more information, see the respective man pages.
For more information, see the respective man pages.
The
rights
on NSS file systems.
For more information, see the man page.
For more information, see the man page.
For more information, see the
rmiregistry
command works only
man page.
rmic
rmid
NetWare/Linux Command Map 39
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
ROUTE
ROUTECON
SCAN ALL
SCAN FOR NEW DEVICES
Pass frames (packets) from NetWare through IBM*-compatible source route bridges.
Manipulate the routing tables manually.
Scan all LUNs of all SCSI adapters in the server or all LUNs associated with a designated SCSI adapter.
Scan on LUN0 of SCSI adapters and to register new devices with the Media Manager so that they are available to the operating system.
Linux Command Counterpart
route
route
iscsi*
rescan-scsi-
bus.sh
Alternatives and Notes
For more information, see the
route
man page.
For more information, see the
route
man page.
ISCSI support is not installed by default.
After installing, type and press the Tab key to view the related commands.
ISCSI support is not installed by default.
After installing, type and press the Tab key to view the related commands.
See also “Scanning for Devices
(Linux)” in the OES 2 SP2: NSS File
System Administration Guide.
man iscsi
man iscsi
SCRSAVER
SEARCH
SECURE CONSOLE
Lock the server console and activate a screen saver for the console display.
Specify search paths for NLM and delete search paths; view current search paths.
Prevent NLM programs from being loaded from any directory other than the boot directories; prevent keyboard entry into the operating system debugger; prevent the server date and time from being changed
.ncf
files; add/
There are no screen savers
associated with shell sessions on Linux. You should simply use the
exit
command to close any shell sessions you do not want to have open.
export
The concept of securing the console
Modify the PATH and
For more information, see the
export
through a command doesn’t exist in Linux.
You should always limit physical and remote access to the Linux console and never leave a root session open.
man page.
export
it.
40 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
SEND
Send messages to NCP users by username or connection number.
Linux Command Counterpart
ncpcon send
Alternatives and Notes
For NCP connections, the send command only sends messages to connections (stations), not to usernames.
Also keep in mind that users attached through Samba/CIFS or some other protocol do not receive messages unless they also have an NCP connection.
For more information about sending messages using “Sending Messages to Logged-In
Users” in the OES 2 SP2: NCP
Server for Linux Administration Guide.
For more information about sending messages using Novell Remote Manager, see “Sending Messages
to Logged-In Users” in the OES 2
SP2: NCP Server for Linux Administration Guide.
ncpcon
, see
SERIALVER
SERVER
SERVERTOOL
SET
Get the serialVersionUID for one or more classes in a form suitable for copying into an evolving class.
Start and run NetWare on the server.
Register, unregister, start up, and shut down a persistent server.
View and configure operating system parameters.
serialver
This is roughly equivalent to the
servertool
There is no direct equivalent of the
For more information, see the
serialver
running the Linux kernel. There is no direct equivalent.
OES-Linux boots using the GRUB boot manager. There is no direct connection between Linux and a bootable DOS partition (if present)
For more information, see the
servertool
concept of SET parameters in Linux.
You can set environment variables using the more information, see the man page.
To make configurations persistent, you must edit the configuration file associated with the service.
man page.
man page.
export
command. For
export
NetWare/Linux Command Map 41
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
SET TIME
SET TIME ZONE
SETENV
SHOWSCREEN
Set the date and time on the server.
Set the time zone on the server.
Set C Library environment variables.
Restore a screen that has been hidden by the
HIDESCREEN command..
Linux Command Counterpart
eDirectory requires a synchronized
eDirectory requires a synchronized
You can set environment variables
As with Hidescreen, there is no
Alternatives and Notes
date and time on all OES-Linux servers in the same tree.
For more information, see “Time
Services” in the OES 2 SP2:
Planning and Implementation Guide.
date and time on all OES-Linux servers in the same tree.
For more information, see “Time
Services” in the OES 2 SP2:
Planning and Implementation Guide.
using the
export variable=value
For more information, see the
export
Linux equivalent.
export
man page.
command
.
SHUTDOWN
SHUTDOWN NETWORK INTERFACE
SLP …
Manage and monitor SLP.
SMDR …
Manage the Storage
SPEED
SPFCON
,
With the ACPI power­management driver loaded, force the server to shut down and power off.
Shut down a logical board without removing its resources.
Management Data Requester, a Storage Management Services (SMS) component.
Display the speed at which the processor is running.
SPXCONFG, SPXS
shutdown -h
ifdown
slptool …
For more information, see the
documentation on the Web (http:// docs.hp.com/en/A5201-96043-en/ apcs08.html).
For more information, see the
ifdown
For example,
smb
For more information, enter
man page.
slptool findsrvs
.
slptool -help
prompt.
smdrd …
TM
cat /proc/
cpuinfo
SPXTM is a legacy protocol for
For more information, see the
smdrd
man page.
For more information, see the man page.
NetWare only, including NetWare running in a virtual machine on an OES-Linux host server.
at the command
cat
42 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
SPOOL
Create, change or display
spooler mappings.
IMPORTANT: This applies to NetWare legacy printing and is no longer supported.
START PROCESSORS
STOP PROCESSORS
SWAP
_TCP
Start one or more secondary processors when the server is running on a multiprocessor computer.
Stop one or more secondary processors in a multiprocessor computer.
Display information about swap files, add or delete swap files, and specify the parameters of swap files.
Monitor TCP/IP activity and connection status.
Linux Command Counterpart
Legacy NetWare printing has been
Control of individual processors is
Control of individual processors is
mkswap
swapon
Alternatives and Notes
replaced by iPrint on both OES platforms.
not available as part of OES-Linux.
not available as part of OES-Linux.
For more information, see the respective man pages.
swapoff
tcpdump
For more information, see the
tcpdump
man page.
TCPCON
TECHWALK
TIME
Monitor TCP/IP activity, configuration and statistics information, known routes, trap log.
Use SNMP to access TCP/IP information in any remote protocol stack supporting the TCP/IP Management Information Base (MIB).
Record NetWare configuration information.
Display date and time, daylight saving time status, and time synchronization information
To watch failovers and errors on bonded interfaces, use
var/log/messages
netstat
Techwalk is not available for OES-
date
For more information, see the
netstat
Linux. However, there is a GPL utility named supportconfig that collects system troubleshooting information. For more information, visit the Cool Solutions Web site
(http://www.novell.com/ coolsolutions/tools/16106.html).
For more information, see the man page.
man page.
tail -f /
.
date
NetWare/Linux Command Map 43
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
TIMESYNC
TLI
TNAMESERV
TPING
TRACK OFF
TRACK ON
TSAFS …
Provide Transport Level Interface (TLI) communication services.
Start the Java IDL name server.
Send an ICMP echo request packet to an IP node on your internetwork.
Prevent the server from displaying the RIP tracking screen.
View the RIP tracking screen and make it the active screen.
Manage the SMS Target Service Agent for the file system.
Linux Command Counterpart
Timesync is a NetWare time
This command is not ported to
tnameserv
ping
RIP tracking is a NetWare concept
RIP tracking is a NetWare concept
tsafs
Alternatives and Notes
protocol that is compatible with and being replaced by NTP on NetWare. NTP is also the time protocol for Linux.
OES-Linux.
For more information, see the
tnameserv
For more information, see the man page.
that is not relevant to OES-Linux.
that is not relevant to OES-Linux.
For more information, see the
tsafs
man page.
ping
man page.
UNBIND
UNLOAD
UPS_AIO
Remove a communication protocol from the LAN driver of a network board; disable communication on a specific board
Unload a module that was previously loaded with the LOAD command
Provide the software link between your server and the UPS.
ifdown
For OES services, use the service’s
Support is hardware-specific. See
For more information, see the
ifdown
stop script:
service stop
Most OES services have
stop
example, to stop eDirectory, enter
etc/init.d/ndsd stop
command prompt.
man apcupsd
package.
man page.
/etc/init.d/
, and
restart
.
options. For
in the
start
at the
apcpupsd
,
/
44 OES2 SP2: Linux Tips for NetWare Administrators
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
VERIFY
VERSION
VIEW
Validate all blocks in an NSS pool.
View the file server version, license information, and copyright notice from the System prompt.
View a file from the NetWare server console.
Linux Command Counterpart
ravsui verify
poolname
ravview
uname -a
ncpcon
version
ndsstat
less
filename
cat filename
Alternatives and Notes
The ravsui and ravview utilities are installed as part of Novell Storage Services NSS.
Use the ravsui utility to find out whether you need to rebuild a pool to correct NSS volume problems.
Use ravview to view the output.
For help, enter one of the
-h
commands with the
For more information on the command, see the page.
For more information about
ncpcon
OES 2 SP2: NCP Server for Linux Administration Guide.
For help with command with the
These commands are basically equivalent, but better scrolling and paging.
, see “NCPCON” in the
ndsstat
less
option.
uname
, enter the
-h
option.
allows for
uname
man
VMDISMOUNT
VMMOUNT
Make a volume unavailable to users so it can be repaired.
Make a volume available to users.
For more information, see the and
cat
man pages.
—The
—The
umount
traditional Linux volume unavailable so it can be repaired.
Equivalent functionality for NSS volumes is available in the nssmu utility, which is installed with the Novell Storage Services RPMs and is documented in “NSS
Management Utility (NSSMU) Quick Reference” in the OES 2 SP2: NSS
File System Administration Guide.
mount
and remote Linux POSIX file systems available.
Equivalent functionality for NSS volumes is available in the nssmu utility, which is installed with the Novell Storage Services RPMs and is documented in “NSS
Management Utility (NSSMU) Quick Reference” in the OES 2 SP2: NSS
File System Administration Guide.
command makes a
command makes local
less
NetWare/Linux Command Map 45
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
VMVOLUMES
VOLUME
List mounted volumes, including number, status and name.
List mounted volumes or information about a specific volume.
Linux Command Counterpart
—The
—The
Alternatives and Notes
mount
command displays a list of all available file systems, both local and remote.
Equivalent functionality for NSS volumes is available in the nssmu utility, which is installed with the Novell Storage Services RPMs and is documented in “NSS
Management Utility (NSSMU) Quick Reference” in the OES 2 SP2: NSS
File System Administration Guide.
mount
command displays a list of all available file systems, both local and remote.
Equivalent functionality for NSS volumes is available in the nssmu utility, which is installed with the Novell Storage Services RPMs and is documented in “NSS
Management Utility (NSSMU) Quick Reference” in the OES 2 SP2: NSS
File System Administration Guide.
VREPAIR
WHOIS
WS2_32
XIDEV
XLOG
XNFS SHARE
Correct volume problems on NetWare Traditional volumes; remove name space entries from directory entry tables.
Display information about either the DNS name or the IP address, depending on which is entered.
Manage Winsock 32. Does not apply.
Manage mouse support for the X Windows* interface.
Diagnose ISDN-related connection problems with Eicon* Technology ISDN adapters.
List all shared paths.
fsck
whois
Mouse support on OES-Linux is
This command is not ported to
exportfs -v
For more information, see the man page.
For more information, see the
whois
man page.
managed in YaST > Hardware (via sax2).
OES-Linux.
When executed without any options, the exported path and the host that it is allowed to access. With the -v option, it displays the export options. For more information, see the
exportfs
exportfs
displays only
man page.
fsck
XNFS SHARE REFRESH
Refresh the share list from the exports file.
46 OES2 SP2: Linux Tips for NetWare Administrators
exportfs -r
For more information, see the
exportfs
man page.
novdocx (en) 22 June 2009
NetWare Command Purpose or Subcommand
XNFS SHARE
Share a path dynamically.
/PATH EXPORT_OPTIONS
XNFS UNSHARE /
Unshare a path.
PATH
XNFS NFS STATS
XNFS MOUNT STATS
XNFS LOCKD STATS
XNFS TRACE ON/ OFF
XNFS LOGSCREEN ON/OFF
XNTPD
Display NFS protocol statistics.
Display statistics.
Display statistics.
Turn the NFS Trace screen on or off.
Turn the NFS Log screen on or off.
Synchronize time with servers that are NTPv3 compliant.
MOUNT
LOCK
protocol
protocol
Linux Command Counterpart
exportfs -o options
Alternatives and Notes
For more information, see the
exportfs
man page.
host:/path
exportfs -u host:/path
nfsstat -n
Similar functionality is not available
Similar functionality is not available
tcpdump XNFS TRACE
Log messages are captured in /var/
ntpd
For more information, see the
exportfs
For more information, see the
nfsstat
on OES-Linux.
on OES-Linux.
trace; packets. For more information, see the
log/messages file.
For more information, see the man page.
man page.
man page.
tcpdump
tcpdump
provides a minimal
captures all
man page.
ntpd
YPCAT, YPWHICH YPSET, YPPASSWD
etc.
NIS related operations. Equivalent
,
,
commands are available with the same names.
For more information, see the respective man pages.
NetWare/Linux Command Map 47
novdocx (en) 22 June 2009
48 OES2 SP2: Linux Tips for NetWare Administrators
3

Other Tips

Table 3 -1 discusses problems that are common when NetWare® administrators first begin working
with Linux systems:

3.1 Common Problems and Solutions

Table 3-1 Common Problems and Solutions
Topic Problem Solution
novdocx (en) 22 June 2009
3
Shell Scripts Scripts won’t run after changes are
made on a Windows machine.
Because DOS uses different ASCII characters to indicate a line ending (CR,LF) than Linux/UNIX (LF only), shell script files that were created or modified on a Windows system do not run on Linux until they are converted to UNIX format.
The quickest solution is usually to enter the following command at a command prompt:
dos2unix filename
where filename is the name of the text file needing to be converted.
Also, many text editors have an option to save files in UNIX format.

3.2 NCF vs. Shell Script Files

NCF files provide scripting on NetWare only and are not used with OES-Linux.
Shell scripts provide equivalent functionality on Linux, and most Linux administrators use them extensively. To learn about shell scripting, we recommend that you search for resources on the Web and consider investing in one or more of the excellent industry publications that address the subject.

3.3 Encryption for Linux Traditional File Systems

If you are interested in encrypting Linux traditional partitions and files, see “Encrypting Partitions
and Files (http://www.novell.com/documentation/sles10/sles_admin/data/ cha_cryptofs.html#cha_cryptofs)” 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).
Other Tips
49
novdocx (en) 22 June 2009
50 OES2 SP2: Linux Tips for NetWare Administrators
Loading...