(eBook) Sun - Solaris 9 SysAd Guide - Advanced.pdf

(1445 KB) Pobierz
No Job Name
System Administration Guide:
Advanced Administration
Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054
U.S.A.
Part No: 806–4074–10
May 2002
99595150.001.png
Copyright 2002 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, CA 95054 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 suppliers.
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, docs.sun.com, AnswerBook, AnswerBook2, SunOS, Solstice, Solstice AdminSuite, Solstice DiskSuite, Solaris
Solve, Java, JavaStation, DeskSet, OpenWindows, NFS 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.
DecWriter, LaserWriter, Epson, NEC, Adobe
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 visual 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.
Federal Acquisitions: Commercial Software–Government Users Subject to Standard License Terms and Conditions.
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 2002 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. 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 du système 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, docs.sun.com, AnswerBook, AnswerBook2, SunOS, Solstice, Solstice AdminSuite, Solstice DiskSuite, Solaris
Solve, Java, JavaStation, DeskSet, OpenWindows, NFS 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 sur une
architecture développée par Sun Microsystems, Inc. DecWriter, LaserWriter, Epson, NEC, Adobe
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 visuelle ou graphique pour l’industrie
de l’informatique. Sun détient une licence non exclusive de Xerox sur 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.
020115@3062
99595150.002.png
Contents
Preface 19
1 Managing Printing Services Topics
23
2 Managing Printing Services (Overview)
25
What’s New in Printing? 25
Changes to LP Scheduler ( lpsched )
5
USB Printer Support 26
Managing Printer Information With LDAP
26
Where to Find Printer Tasks 27
Printing in the Solaris Operating Environment
27
Solaris Print Manager 28
Printing Support in the Name Service Switch
28
Choosing a Method to Manage Printers
29
The LP Print Service 30
Managing Network Printers
30
Administering Printers 31
Setting Definitions for Printers 31
Administering Character Sets, Filters, Forms, and Fonts
31
Customizing the LP Print Service
32
The Solaris Print Client-Server Process
32
The Print Client Process
32
Using Print Clients 33
Printer Configuration Resources
34
Using Print Servers
36
3
3 Planning Printers on Your Network (Overview)
37
Where to Find Printer Tasks 37
Distributing Printers on the Network 38
Assigning Print Servers and Print Clients 38
Print Server Requirements and Recommendations
39
Spooling Space
39
Disk Space
40
Memory 40
Swap Space 40
Hard Disk 41
Planning for Printer Setup 41
Setting Definitions for Printers
41
Selecting a Printer Type 45
Selecting a File Content Type
45
4 Setting Up Printers (Tasks) 49
Setting Up Printing (Task Map) 49
Setting Up Printing With Solaris Print Manager
50
Setting Up a Printer With Solaris Print Manager
51
Solaris Print Manager and Special Characters
52
Starting Solaris Print Manager
52
How to Start Solaris Print Manager
52
Setting Up a Print Server
54
How to Add a New Attached Printer With Solaris Print Manager
55
Setting Up a Print Client
57
How to Add Printer Access With Solaris Print Manager
57
Setting Up a .printers File
58
How to Set Up a .printers File
58
Adding a Network Printer 59
Printer Vendor Supplied Software for Network Printers
60
Sun Support for Network Printers 60
Invoking the Network Printer Support
61
Selecting the Protocol 61
Selecting the Printer Node Name 61
Selecting the Destination (or Network Printer Access) Name
62
Setting the Timeout Value 63
Managing Network Printer Access
63
4 System Administration Guide: Advanced Administration • May 2002
How to Add a Network Printer With Printer Vendor Supplied Tools
63
How to Add A Network Printer With LP Commands
64
Converting Printer Configuration Information 67
Converting Printer Configuration Information (Task Map)
67
Converting Existing Printer Configuration Information
68
How to Convert Printer Information For a System Running the Solaris 2.5.1
Release
How to Convert Printer Information For a System Running an lpd -based Print
Server
5 Administering Printers (Tasks) 71
Managing Printers and the Print Scheduler
72
Deleting Printers and Printer Access
72
How to Delete a Printer and Remote Printer Access
72
Checking Printer Status
75
How to Check the Status of Printers
75
Restarting the Print Scheduler
76
How to Stop the Print Scheduler
76
How to Restart the Print Scheduler 77
Setting or Resetting Miscellaneous Printer Definitions
77
How to Add a Printer Description 77
Setting Up a Default Printer Destination
78
How to Set a System’s Default Printer
78
Printing Banner Pages
79
How to Make Banner Pages Optional
80
How to Turn Off Banner Pages
81
Setting Up Printer Classes
81
How to Define a Class of Printers
82
Setting Up Printer Fault Alerts
83
How to Set Fault Alerts for a Printer
84
Setting Up Printer Fault Recovery
85
How to Set Printer Fault Recovery
86
Limiting User Access to a Printer
87
How to Limit User Access to a Printer
88
Managing Print Requests
89
How to Check the Status of Print Requests
90
Enabling or Disabling a Printer From Printing
91
How to Enable or Disable a Printer
92
Contents 5
69
69
Zgłoś jeśli naruszono regulamin