Transitioning to Solaris PC NetLink 1.0

Similar documents
SunVTS Quick Reference Card

Solaris 8 6/00 Sun Hardware Roadmap

Sun Control Station. Performance Module. Sun Microsystems, Inc. Part No September 2003, Revision A

Memory Hole in Large Memory X86 Based Systems

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

The Solaris Security Toolkit - Quick Start

Solaris PC NetLink 1.2 Installation Guide

Sun Java System Connector for Microsoft Outlook Q4 Installation Guide

Automating LDAP Client Installations

man pages section 6: Demos

Font Administrator User s Guide. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Scenario Planning - Part 1

Traditional Chinese Solaris Release Overview

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Solaris 9 9/04 Installation Roadmap

Sun Enterprise System 336-Mhz Processor Upgrade Instructions

Solaris 8 Desktop User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Font Administrator User s Guide

Java Desktop System Release 2 Installation Guide

Sun Ultra TM. 5 and Ultra 10 Product Notes. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Sun Fire V100 Server Product Notes

Rackmount Placement Matrix

SunPCi Release Notes

Using Solaris Resource Manager Software with Solaris PC NetLink Software - Part 2

Java Desktop System Release 3 Troubleshooting Guide

Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System

Provisioning in Replicated, Mission-Critical Environments

Sun StorEdge RAID Manager 6.2 Installation and Support Guide

Solaris 8 Desktop User Supplement

Tales from the Trenches: The Case of the RAM Starved Cluster

Sun Management Center 3.5 Supplement for VSP High-End Entry Servers (Workgroup Servers)

Cable Management Guide

Solaris Common Desktop Environment: User s Transition Guide. Sun Microsystems, Inc Garcia Avenue Mountain View, CA U.S.A.

GNOME 2.0 Desktop for the Solaris Operating Environment Installation Guide

4.0 Gbyte 1/4-Inch Tape Drive Specifications

Ultra Enterprise 6000/5000/4000 Systems Power Cord Installation

GNOME 2.0 Desktop for the Solaris Operating Environment User Guide

Jini Network Technology

Sun Cluster 2.2 7/00 Data Services Update: Lotus Domino 4.6.3

Sun Remote System Control (RSC) 2.2 Release Notes

Oracle Usage Guide for the Sun StorEdge N8600 Filer

Simplified Chinese Solaris Release Overview

Sun Management Center 3.6 Version 7 Add-On Software Release Notes

Sun Management Center 3.5 Service Availability Manager User s Guide

Sun StorEdge T3 Disk Tray Cabinet Installation Guide

Sun Multipath Failover Driver 1.0 for AIX User s Guide

Sun StorEdge N8000 Filer Series Administrator s Guide

Wide Thin Disk Striping

Solaris 8 System Administration Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Sun StorEdge N8200 Filer Installation, Configuration, and Service Guide

man pages section 9: DDI and DKI Overview

UltraSPARC - IIs CPU Module Installation Guide

Sun HPC ClusterTools Software Best Practices

NIS to LDAP Transition: Exploring

Traditional Chinese Solaris Release Overview

PCI:SBus Comparison. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A. Part No.: October 1998, Revision A

Sun Management Center 4.0 Version 4 Add-On Software Release Notes

Sun Management Center 4.0 Version 3 Add-On Software Release Notes

Sun StorEdge Network 2 Gb Brocade SilkWorm 3200 and 3800 Switches Release Notes

Solaris Common Desktop Environment: User s Transition Guide

20-40 Gbyte 8mm Tape Drive Installation and User s Guide

Sun Fire 6800 System and Sun Fire Cabinet Rackmount Placement Matrix

Sun Cluster 3.1 Data Service for Domain Name Service (DNS)

Sun Cluster Data Service for NetBackup Guide for Solaris OS

StorageTek Host Software Component (HSC) MVS Software

The Art of Production Environment Engineering

Solaris Volume Manager Administration Guide

Sun StorEdge 3310 SCSI Array Best Practices Manual

Sun Ultra 2 UltraSPARC -IIModuleX-Option

Sun Ultra 2 UltraSPARC -II Module Upgrade

Workgroup Server PCI RAID Solution - The Sun StorEdge SRC/P Controller

Sun Fire V60x and V65x Servers ReadMe

Sun Remote System Control (RSC) Release Notes

Platform Notes: The eri FastEthernet Device Driver

IP Network Multipathing Administration Guide. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Java Desktop System Release 3 Installation Guide

Solaris Bandwidth Manager 1.6 System Administration Guide. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Fortran 90 Browser. f90browse

Sun Control Station. Software Installation. Sun Microsystems, Inc. Part No January 2004, Revision A

Directory Server Indexing

Java Desktop System Release 2 Quick Start User Guide

SunScreen EFS Release 3.0 Release Notes

JumpStart Architecture and Security Scripts for the Solaris Operating Environment - Part 1

Cluster Platform 15K/9960 System

Sun Update Manager 1.0 Administration Guide

Sun Netra TM X4200 M2 Server Product Notes

Solaris Live Upgrade 2.0 Guide

Sun Blade 1000 and Sun Blade 2000 Product Notes

Sun Management Center 4.0 Version 2 Add-On Software Release Notes

Platform Notes: The eri FastEthernet Device Driver

Sun Cluster Data Service for DNS Guide for Solaris OS

Sun Java System Web Server 6.1 SP6 Getting Started Guide

N1 Grid Service Provisioning System 4.1. Developers Concept Guide Network Circle Santa Clara, CA U.S.A.

Sun StorEdge Traffic Manager 4.4 Software Installation Guide

Sun Fire V60x and V65x BIOS and Firmware Update ReadMe

Sun StorEdge MultiPack Storage Guide

Sun Fire Midframe Server Configuration Best Practices

Sun Management Center 3.0 Service Availability Manager User s Guide

An Information Technology Management Reference Architecture

SunGigabitEthernetAdapter2.0

Transcription:

Transitioning to Solaris PC NetLink 1.0 By Don DeVitt - Enterprise Engineering Sun BluePrints OnLine - June 1999 http://www.n.com/blueprints Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303 USA 650 960-1300 fax 650 969-9131 Part No.: 806-4396-10 Revision 01, June 1999

Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California 94303 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun ppliers. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, The Network Is The Computer, Sun BluePrints, NFS, Solaris PC NetLink, and Solaris are trademarks, registered trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and Sun Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of vial or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun s written license agreements. RESTRICTED RIGHTS: Use, duplication, or disclore by the U.S. Government is bject to restrictions of FAR 52.227-14(g)(2)(6/87) and FAR 52.227-19(6/87), or DFAR 252.227-7015(b)(6/95) and DFAR 227.7202-3(a). DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. Copyright 1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, Californie 94303 Etats-Unis. Tous droits réservés. Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l utilisation, la copie, la distribution, et la décompilation. Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, par quelque moyen que ce soit, sans l autorisation préalable et écrite de Sun et de ses bailleurs de licence, s il y en a. Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun. Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d autres pays et licenciée exclusivement par X/Open Company, Ltd. Sun, Sun Microsystems, le logo Sun, The Network Is The Computer, Sun BluePrints, NFS, Solaris PC NetLink, et Solaris sont des marques de fabrique ou des marques déposées, ou marques de service, de Sun Microsystems, Inc. aux Etats-Unis et dans d autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans d autres pays. Les produits portant les marques SPARC sont basés r une architecture développée par Sun Microsystems, Inc. L interface d utilisation graphique OPEN LOOK et Sun a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d utilisation vielle ou graphique pour l industrie de l informatique. Sun détient une licence non exclusive de Xerox r l interface d utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l interface d utilisation graphique OPEN LOOK et qui en outre se conforment aux licences écrites de Sun. CETTE PUBLICATION EST FOURNIE "EN L ETAT" ET AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, N EST ACCORDEE, Y COMPRIS DES GARANTIES CONCERNANT LA VALEUR MARCHANDE, L APTITUDE DE LA PUBLICATION A REPONDRE A UNE UTILISATION PARTICULIERE, OU LE FAIT QU ELLE NE SOIT PAS CONTREFAISANTE DE PRODUIT DE TIERS. CE DENI DE GARANTIE NE S APPLIQUERAIT PAS, DANS LA MESURE OU IL SERAIT TENU JURIDIQUEMENT NUL ET NON AVENU. Please Recycle

Transitioning to Solaris PC NetLink 1.0 Sun Microsystems recently announced Solaris PC NetLink 1.0, previously known as the Cascade Project. This product, based on the AT&T Advanced Server for UNIX, adds functionality that was not previously available on Solaris servers using products ch as Samba and SunLink PC (a.k.a. Syntax TotalNET Advanced Server). Solaris PC NetLink, in addition to offering file and print services, enables Solaris servers to act as Microsoft Windows NT Primary Domain Controllers (PDC) or Backup Domain Controllers (BDC). For enterprises with mixed NT and Solaris servers and desktops, Solaris PC NetLink 1.0 offers many new options for utilizing hardware resources and minimizing system administration overhead. A full description of Solaris PC NetLink is beyond the scope of this article. Please see http://www.n.com/interoperability/netlink/ for more information. In addition to the information available on the Sun website, a BluePrint on the Solaris PC NetLink product is in the process of being written and will be available later this year. Monitor the Sun BluePrint webpage (http://www.n.com/blueprints) to see when it will be available. In this article, I examine some specific procedures that will help you to evaluate and transition to Solaris PC NetLink 1.0. I asme you are currently using (or are familiar with) other products that enable Windows NT servers to share resources with Solaris servers. There are many reasons to transition to Solaris PC NetLink. Here is a short list of the most compelling reasons: True authentication with NT Primary Domain Controller (PDC) or NT Backup Domain Controller (BDC) is provided. Support is provided for file and print services, equivalent to NT 4.0 Service Pack 3. This includes pport for Access Control Lists (ACLs) Support is provided for either UNIX or NT administration models. NT administration tools (Server Manager, Event Viewer, User Manager) can be used from other Windows NT machines, or Windows 95/98 machines to administer Solaris PC NetLink. Support is available for Windows Internet Name Service (WINS). 1

Solaris PC NetLink Requirements Solaris PC NetLink 1.0 is currently pported on Solaris TM (SPARC TM Platform Edition) 2.5.1 and 2.6. Support for Solaris (SPARC Platform Edition) 7 is anticipated in a future release. The disk space required to install Solaris PC NetLink 1.0 is modest, with 40 Mbytes needed in /opt and 15 Mbytes needed in /var/opt. In addition to the space necessary to store the Solaris PC NetLink executable, additional space should be allocated for databases Solaris PC NetLink must maintain in /var/opt. The largest of these databases ually will be the ACL database found in /var/opt/lanman/ datafile. A reasonable rule of thumb would be to allocate 100K of disk space for each active user, creating disk files on the Solaris PC NetLink server. During installation there is no conflict in the file structure when you install Solaris PC NetLink on a Solaris server that is running SunLink PC or Samba. However, before you attempt ch an installation, you should disable SunLink PC and Samba since the Solaris PC NetLink installation attempts to start its services and will experience errors if SunLink PC or Samba are running. To disable these services, see TABLE 1 on page 4. Solaris PC NetLink requires that all clients using its services use the TCP/IP transport protocol. Because all Microsoft operating systems include a TCP/IP stack (which is required to access the Internet), installation of the TCP/IP protocol is rarely considered optional. It is common to see PC clients that use TCP/IP as well as NetBEUI and IPX/SPX protocols. If you are transitioning from SunLink PC to Solaris PC NetLink, it is possible that only the NetBEUI or IPX/SPX transport protocols are installed on your clients. If this is the case, you need to add the TCP/IP protocol to your particular operating system. On Microsoft Windows 95/98/NT 4.0 machines, this is accomplished with the Network icon in the Control Panel. Please refer to your Operating Systems documentation for complete details. If you are transitioning from a Samba environment, your clients should already have a TCP/IP stack because Samba requires it. Solaris Services that use NetBIOS over TCP/IP Solaris PC NetLink pports network protocols by way of NetBIOS running on top of the TCP/IP layer. You should not confuse this with NetBEUI (NetBIOS Extended User Interface) which is a non-routable transport protocol. The NetBIOS layer is based on the RFC1001/RFC1002 NetBIOS protocol and is a standard networking protocol used primarily by PCs. This version of NetBIOS is sometimes referred to as RFCNB, for RFC NetBIOS. It is one layer below the SMB (Server Message Block) protocol used by Windows NT and Solaris PC NetLink networking, and one layer above the TCP/IP transport protocol. 2 Transitioning to Solaris PC NetLink 1.0 June 1999

PC clients running Microsoft operating systems also pport the NetBEUI and IPX/SPX protocols. These products can co-exist on PC clients with NetBIOS running on top of TCP/IP. However, delays may be introduced since different paths may have to be followed to resolve server names. On a Solaris server running Solaris PC NetLink, the NetBIOS protocol is implemented in kernel space using the standard STREAMS framework. Unlike SunLink PC and Samba, where the NetBIOS pport is implemented within the same user processes that pport the SMB protocol, the NetBIOS layer in Solaris PC NetLink is implemented as a multi-threaded kernel driver that is installed via a separate package during the Solaris PC NetLink installation. This driver is loaded and unloaded independently by the /etc/init.d/netbios script. The NetBIOS layer attaches to specific TCP/IP sockets on the system and also responds to specific broadcasts to pport NetBIOS naming requests. For this reason, only one NetBIOS layer can be active on a server at any given time. Neither SunLink PC nor Samba can pport active NetBIOS functionality while the Solaris PC NetLink server is running. Since there are potential conflicts on the NetBIOS level, you might think the best or safest way to avoid problems is to fully uninstall (pkgrm(1m)) the specific packages, and to install (pkgadd(1m)) and configure the new environment. Generally, however, this is not a time efficient approach. If you need to switch back to the previous environment because of unforeseen problems ch as user account conflicts between NIS and the Windows NT domain you will need to switch back as quickly as possible without loosing valuable configuration information or wasting time in the installation process. Supporting Solaris PC NetLink and SunLink PC on the Same Server SunLink PC and Syntax TotalNet enable you to turn off the NetBIOS layer so that you can pport Appletalk and other non-netbios related protocols. Simultaneous use of Solaris PC NetLink and these products is possible and has been known to work, but there is a very important caveat. Solaris PC NetLink, SunLink PC, and Samba pport protocols for locking and sharing of files and records through privately controlled databases and structures. These structures and databases are not shared between the Solaris PC NetLink and the other environments. This can cause problems if files are shared between these environments. For example, ppose a user on an Apple system attempts to access a file on a Solaris server running SunLink PC, and another user on a Windows 95 system attempts to access the same file simultaneously by way of Solaris PC NetLink running on the same server or via NFS TM on another server. The file sharing and locking protocols normally available to pport the coordination within one Transitioning to Solaris PC NetLink 1.0 3

environment will not work across both environments. While this event may be unlikely in most user communities, it is a possibility and can make it impossible to fully pport both products on the same server at the same time (given the current architecture of these products). For this reason, Sun does not pport these mixed configurations. If you do find it necessary to use SunLink PC (with NetBIOS over TCP/IP turned off) at the same time as Solaris PC NetLink on the same server, and you experience a problem, it is best to disable the side that is not demonstrating a problem and see if the problem disappears. If the problem is solved in this manner, it is likely that the interaction between the two products is causing the problem. On the other hand, if you can duplicate the problem in this context, you have a legitimate ise that Sun can pport. Supporting Solaris PC NetLink and Samba on the Same Server Samba is a popular GNU-licensed free software product that pports SMB via NetBIOS over TCP/IP. Sun does not officially pport Samba. Like Solaris PC NetLink, Samba pports no other transport protocols other than TCP/IP. There is no way for the Solaris PC NetLink 1.0 software and Samba to run on the same system at the same time because they will both attempt to establish a NetBIOS layer for the system. They can however be installed on the same system as long as only one of these products actively pports users at any given time. Supporting Solaris PC NetLink, SunLink PC, and Samba on the Same Server If you are in the process of moving files from Samba or SunLink PC to Solaris PC NetLink, it may be necessary to switch back and forth quickly between one environment and another for a variety of reasons. While all three environments can NOT be running and pporting NetBIOS over TCP/IP at the same time, they can be installed on the same server. Commands can be used to disable and enable the desired products while Solaris software is running. The following table shows the commands to individually turn on and off each of the products without rebooting, uninstalling, or reinstalling software. Note that you should never switch between these environments on a production system serving real users. This information is provided to help you solve problems while you develop procedures to transition from the older environments to Solaris PC NetLink. TABLE 1 Disabling and Enabling Solaris PC NetLink, SunLink PC, and Samba Environment To turn the environment off To turn the environment on Solaris PC NetLink /opt/lanman/bin/net stop server /etc/init.d/netbios stop /etc/init.d/netbios start /opt/lanman/bin/net start server 4 Transitioning to Solaris PC NetLink 1.0 June 1999

SunLink PC or Syntax Totalnet 5.1, 5.2, 5.3 Samba /opt/totalnet/sbin/tnshut /usr/local/samba/bin/killsamba (see script below) The killsamba script is shown below: /opt/totalnet/sbin/tnstart /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D #!/bin/sh -x list=`ps -ef grep smbd grep -v grep nawk '{print $2}'` kill $list list=`ps -ef grep nmbd grep -v grep nawk '{print $2}'` kill $list Startup Scripts Solaris PC NetLink, SunLink PC, and Samba may attempt to add scripts to the /etc/init.d directory when they are installed. These scripts initialize and start the particular product at system boot time. Only one of these scripts should remain in /etc/init.d to asre that only one NetBIOS environment starts at boot time. For Samba, the script is typically called /etc/init.d/samba. For SunLink PC, the script is /etc/init.d/tas. For Solaris PC NetLink, the script to start the NetBIOS interface is /etc/init.d/netbios, and the script to start the Solaris PC NetLink server is /etc/init.d/ms_srv. Determining which SMB Service is Running on a Server When you attempt to diagnose a problem on an SMB server, it may be difficult to determine what server you need to work with and what software is pporting the SMB protocol. Ually, you can determine the server by using the Network Neighborhood icon on the Windows 95/98/NT desktop. In the Network Neighborhood window, select the File menu and choose Properties. The Comment field ually indicates the system type. If Solaris PC NetLink is running, PC NetLink appears at the beginning of the Comment field. If Samba is running, the Samba version is displayed, and so forth. Transitioning to Solaris PC NetLink 1.0 5

If you are logged onto the server, the best way to determine which environment is running is to use the ps(1m) command. For Solaris PC NetLink, look for any process that starts with lmx. For Samba, look for smbd processes. For Solaris PC NetLink, look for totalnetxxx processes. For example to see if Solaris PC NetLink is running, use this command: # ps -ef grep lmx I hope the information provided here helps you to evaluate and transition to Solaris PC NetLink as quickly as possible. Additional Resources For more detailed information on Solaris PC NetLink, please refer to the "Solaris PC NetLink: Performance, Scalability and Deployment" BluePrint. This book is scheduled for publication by Prentice Hall in the fall of 1999 and will be available through http://www.n.com/books, amazon.com, fatbrain.com or Barnes & Noble bookstores. For information about NetBIOS running on top of TCP/IP, see http://www.cis.ohio-state.edu/htbin/rfc/rfc1001.html and http://www.cis.ohio-state.edu/htbin/rfc/rfc1002.html. The Samba Web site provides a wealth of information on Samba and many PC interoperability ises. See http://www.samba.org. For information about Syntax TotalNet, see http://www.syntax.com. Author s Bio: Don DeVitt Don has been on the development teams of almost every software and hardware PC interoperability product Sun Microsystems has produced over the last 13 years. Don is currently a PC Interoperability specialist within the Enterprise Engineering group and is a member of the Solaris PC NetLink engineering team where he has focused on performance related ises. Don DeVitt started his career as an electrical engineer and has worked in the Automated Test industry (Teradyne Inc.), and PC operating system market (Digital Research from CP/M fame) before coming to Sun. 6 Transitioning to Solaris PC NetLink 1.0 June 1999