没有合适的资源?快使用搜索试试~ 我知道了~
Oracle Solaris 11.1 Managing Services and Faults in Oracle Solar
需积分: 0 0 下载量 169 浏览量
2023-06-20
09:10:31
上传
评论
收藏 1.02MB PDF 举报
温馨提示
试读
70页
Oracle Solaris 11.1 Managing Services and Faults in Oracle Solaris11.1-70
资源推荐
资源详情
资源评论
Managing Services and Faults in Oracle®
Solaris 11.1
Part No: E29003–02
January 2014
Copyright © 1998, 2014, Oracle and/or its aliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual
property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software,
unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you nd any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is
applicable:
U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or
documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and
agency-specic supplemental regulations. As such, use, duplication, disclosure, modication, and adaptation of the programs, including any operating system,
integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the
programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently
dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall
be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its aliates disclaim any
liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its aliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered
trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro
Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and
its aliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation
and its aliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
Ce logiciel et la documentation qui l’accompagne sont protégés par les lois sur la propriété intellectuelle. Ils sont concédés sous licence et soumis à des restrictions
d’utilisation et de divulgation. Sauf disposition de votre contrat de licence ou de la loi, vous ne pouvez pas copier, reproduire, traduire, diuser, modier, breveter,
transmettre, distribuer, exposer, exécuter, publier ou acher le logiciel, même partiellement, sous quelque forme et par quelque procédé que ce soit. Par ailleurs, il est
interdit de procéder à toute ingénierie inverse du logiciel, de le désassembler ou de le décompiler, excepté à des ns d’interopérabilité avec des logiciels tiers ou tel que
prescrit par la loi.
Les informations fournies dans ce document sont susceptibles de modication sans préavis. Par ailleurs, Oracle Corporation ne garantit pas qu’elles soient exemptes
d’erreurs et vous invite, le cas échéant, à lui en faire part par écrit.
Si ce logiciel, ou la documentation qui l’accompagne, est concédé sous licence au Gouvernement des Etats-Unis, ou à toute entité qui délivre la licence de ce logiciel
ou l’utilise pour le compte du Gouvernement des Etats-Unis, la notice suivante s’applique:
U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or
documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and
agency-specic supplemental regulations. As such, use, duplication, disclosure, modication, and adaptation of the programs, including any operating system,
integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the
programs. No other rights are granted to the U.S. Government.
Ce logiciel ou matériel a été développé pour un usage général dans le cadre d’applications de gestion des informations. Ce logiciel ou matériel n’est pas conçu ni n’est
destiné à être utilisé dans des applications à risque, notamment dans des applications pouvant causer des dommages corporels. Si vous utilisez ce logiciel ou matériel
dans le cadre d’applications dangereuses, il est de votre responsabilité de prendre toutes les mesures de secours, de sauvegarde, de redondance et autres mesures
nécessaires à son utilisation dans des conditions optimales de sécurité. Oracle Corporation et ses aliés déclinent toute responsabilité quant aux dommages causés
par l’utilisation de ce logiciel ou matériel pour ce type d’applications.
Oracle et Java sont des marques déposées d’Oracle Corporation et/ou de ses aliés. Tout autre nom mentionné peut correspondre à des marques appartenant à
d’autres propriétaires qu’Oracle.
Intel et Intel Xeon sont des marques ou des marques déposées d’Intel Corporation. Toutes les marques SPARC sont utilisées sous licence et sont des marques ou des
marques déposées de SPARC International, Inc. AMD, Opteron, le logo AMD et le logo AMD Opteron sont des marques ou des marques déposées d’Advanced Micro
Devices. UNIX est une marque déposée d’The Open Group.
Ce logiciel ou matériel et la documentation qui l’accompagne peuvent fournir des informations ou des liens donnant accès à des contenus, des produits et des services
émanant de tiers. Oracle Corporation et ses aliés déclinent toute responsabilité ou garantie expresse quant aux contenus, produits ou services émanant de tiers. En
aucun cas, Oracle Corporation et ses aliés ne sauraient être tenus pour responsables des pertes subies, des coûts occasionnés ou des dommages causés par l’accès à
des contenus, produits ou services tiers, ou à leur utilisation.
140204@25097
Contents
Preface .....................................................................................................................................................7
1 Managing Services (Overview) ............................................................................................................9
About SMF in this Release .....................................................................................................................9
Introduction to SMF ........................................................................................................................... 10
Advantages to Using SMF .................................................................................................................. 10
SMF Concepts ...................................................................................................................................... 11
SMF Service .................................................................................................................................. 11
SMF Dependencies ...................................................................................................................... 12
Service Identiers ......................................................................................................................... 12
Service States ................................................................................................................................. 13
SMF Manifests .............................................................................................................................. 14
SMF Proles .................................................................................................................................. 14
Service Conguration Repository .............................................................................................. 15
SMF Administrative Layers ........................................................................................................ 15
SMF Repository Backups ............................................................................................................17
SMF Snapshots ............................................................................................................................. 17
SMF Service Error Logging ......................................................................................................... 17
SMF Administrative and Programming Interfaces ......................................................................... 18
SMF Command-Line Administrative Utilities ........................................................................ 18
Service Management Conguration Library Interfaces .......................................................... 19
SMF Components ............................................................................................................................... 19
SMF Master Restarter Daemon .................................................................................................. 19
SMF Delegated Restarters ........................................................................................................... 19
SMF Properties and Property Groups ....................................................................................... 20
Managing Information in the Service Conguration Repository ................................................. 20
Viewing SMF Information .......................................................................................................... 20
Modifying SMF Information ...................................................................................................... 21
3
Deleting SMF Information ......................................................................................................... 21
SMF and Booting ................................................................................................................................. 22
SMF Compatibility .............................................................................................................................. 22
Run Levels ............................................................................................................................................ 23
When to Use Run Levels or Milestones ..................................................................................... 24
Determining a System's Run Level ............................................................................................. 24
/etc/inittab File ............................................................................................................................... 25
What Happens When the System Is Brought to Run Level 3 .................................................. 26
2 Managing Services (Tasks) .................................................................................................................27
Monitoring SMF Services ................................................................................................................... 27
Monitoring Services (Task Map) ................................................................................................ 27
▼ How to List the Status of a Service .............................................................................................. 28
▼ How to List Customizations of a Service ................................................................................... 29
▼ How to Show Which Services Are Dependent on a Service Instance .................................... 29
▼ How to Show Which Services a Service Is Dependent On ...................................................... 30
▼ How to Set Up Notication of SMF Transition Events ........................................................... 31
Managing SMF Services ...................................................................................................................... 32
Managing SMF Services (Task Map) ......................................................................................... 32
Using RBAC Rights Proles With SMF ..................................................................................... 33
▼ How to Create an SMF Service ................................................................................................... 33
▼ How to Disable a Service Instance .............................................................................................. 34
▼ How to Enable a Service Instance ............................................................................................... 35
▼ How to Restart a Service .............................................................................................................. 35
▼ How to Restore a Service That Is in the Maintenance State .................................................... 36
▼ How to Create an SMF Prole .................................................................................................... 36
▼ How to Manually Create an SMF Prole ................................................................................... 37
▼ How to Apply an SMF Prole ..................................................................................................... 38
Conguring SMF Services .................................................................................................................. 39
Conguring SMF Services (Task Map) ..................................................................................... 39
▼ How to Modify an SMF Service Property .................................................................................. 39
▼ How to Modify Multiple Properties for One Service ............................................................... 40
▼ How to Modify a Service That Is Congured by a File ............................................................. 41
▼ How to Change an Environment Variable for a Service .......................................................... 41
▼ How to Change a Property for an inetd Controlled Service .................................................. 42
Contents
Managing Services and Faults in Oracle Solaris 11.1 • January 20144
▼ How to Delete Customizations for a Service ............................................................................. 43
▼ How to Modify a Command-Line Argument for an inetd Controlled Service ................... 44
▼ How to Convert inetd.conf Entries ......................................................................................... 45
Using Run Control Scripts ................................................................................................................. 45
Using Run Control Scripts (Task Map) ..................................................................................... 45
▼ How to Use a Run Control Script to Stop or Start a Legacy Service ....................................... 46
▼ How to Add a Run Control Script .............................................................................................. 47
▼ How to Disable a Run Control Script ........................................................................................ 47
▼ How to Convert a Run Control Script to an SMF Service ....................................................... 48
Troubleshooting the Service Management Facility ......................................................................... 49
Troubleshooting SMF (Task Map) ............................................................................................ 49
▼ How to Debug a Service That Is Not Starting ........................................................................... 50
▼ How to Repair a Corrupt Repository ......................................................................................... 50
▼ How to Boot Without Starting Any Services ............................................................................ 52
▼ How to Boot in Verbose Mode ................................................................................................... 53
▼ How to Force an sulogin Prompt If the system/filesystem/local:default Service Fails
During Boot .................................................................................................................................. 54
3 Using the Fault Manager ....................................................................................................................55
Fault Management Overview ............................................................................................................. 55
Notication of Faults and Defects ..................................................................................................... 57
Displaying Information About Faults or Defects ............................................................................ 57
▼ How to Display Information About Faulty Components ....................................................... 58
▼ How to Identify Which CPUs Are Oine ................................................................................ 60
▼ How to Display Information About Defective Services .......................................................... 60
Repairing Faults or Defects ................................................................................................................ 61
fmadm replaced Command ........................................................................................................ 62
fmadm repaired Command ........................................................................................................ 62
fmadm acquit Command ............................................................................................................ 62
Fault Management Log Files .............................................................................................................. 63
Fault Statistics ...................................................................................................................................... 63
Index ......................................................................................................................................................65
Contents
5
剩余69页未读,继续阅读
资源评论
weixin_40191861_zj
- 粉丝: 63
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功