Managing smf services oracle solaris administration. I will provide a walkthrough here of what i did to add both apache and a zope instance to smf yes, im talking about this very site on this server. Jenkins formerly known as hudson is a continuous integration tool. A traditional way of handling daemons on nix systems is using rcx. The book covers a broad range of solaris system administration topics such as managing user accounts, diskless clients, booting a system, using the service management facility smf, and managing software and patches. Prepare an oracle solaris 10 global zone for migration 450 create a solaris 10 brand zone 450.
These are unixlike systems having similarity in virtual memory, process, kernels, paging, system calls, buffer, cache, multiprocessor support, cpu scheduling and support, resource controls, mapped files etc. Oracle white paperhow to create an oracle solaris service management facility manifest oracle solaris service management facility the oracle solaris service management facility smf is a core component of the oracle solaris predictive self healing set of technologies. Does anyone know of a good tutorial for learning to use this new method. I also have install sun directory server enterprise version 6.
Solaris is a proprietary unix operating system originally developed by sun microsystems. During installation of solaris local zones necessary packages and smf services are copied from the global zone to the new local zone. Due to the packaging of the vrtsvxfs package which owns the vxfsldlic smf service this is only intended to be installed in the global zone. It is backwards compatible with sysv init scripts, and provides features, such as parallel startup of system services at boot time, ondemand activation of daemons, support for system state snapshots, or dependencybased service control logic. Services sometimes depend on one another for proper operation. I also include steps for compiling openssl, rather than relying on the libraries shipped with solaris 10. Running jenkins using smf on solaris 11 andrew kroh. Installing jenkins as a daemon service on solaris 11 is pretty simple. This document covers some of the exciting new features that are available in oracle solaris 11 1111 since the release of oracle solaris 11 express. Below are the steps i took to get it up and running using smf in solaris 11. Hi, my application relies on s and k rc scripts to get started at boot time and stopped at shutdown as a non root user. I run all my public services out of a zone which helps to improve security, ease management and control. The oracle disk manager odm smf service fails to start. Solaris performance features top features solaris solaris 10 solaris performance observability bylayer strategy 3metric strategy system components.
The solaris developers invested many years into good base technologies for systems management like the service management facility smf. If you are familiar with one, it would be easy to use. Typically, smf uses a manifest file, which describes the service, to control the service. Oracle solaris 11 system administration bill calkins. With smf, system administrators can use simple command. I want to merge that space into exporthome df k filesystem kbytes used avail capacity mounted on devdskc0d0s0 11408572 6541426 4753061 58% devices 0 0 0 0% devices ctfs 0 0 0 0%. Storing the initial encryption key in smf on solaris 11. Smf is one of the components of the wider oracle solaris predictive self healing capability. Blog last minute gift ideas for the programmer in your life. You can specify one or more fmris and their ok, warning and critical states.
Transitioning from oracle solaris 10 to oracle solaris 11 doc. Smf or service management facility is the default way to manage services in solaris 10 and 11. Transitioning your oracle solaris 10 system to oracle solaris 11. By the way, rc scripts are still supported but deprecated by smf on solaris 10 and newer. In 2010, after the sun acquisition by oracle, it was renamed oracle solaris solaris is known for its scalability, especially on sparc systems, and for originating many innovative features such as dtrace, zfs and time slider. Service management facility smf is a feature of the solaris operating system as of version 10 and opensolarisdescendant illumos with its illumos distributions, that creates a supported, unified model for services and service management on each solaris or illumos system and replaces init. In addition, smfmanaged services can be delegated to nonroot users.
Red hat enterprise linux to oracle solaris 11 comparison. Introduction this presentation is an introduction to the field of solaris performance. The early versions of suns unix were known as sunos, which is the name used for the core operating system component of solaris. Solaris 10 includes suns java desktop system jds, which is based on gnome and comes with a large set of.
When something doesnt work like expected, one of the first commands to find whats wrong is svcs a. In solaris 10 got an interesting feature to enable ssl for any service by adding a transparent. Smf service goes into maintenance mode, as shown in listing 10. The manifests and method files are available for download we use postfix rather than sendmail. The files and directories used to managetroubleshoot and configure smf are. However, solaris 10 uses smf to control services instead of startupshutdown scripts. This describes how to run exim under the control of smf in solaris 10. Plugin can also be used without fmris to make a quick. Things were fine untill i tried this on solaris 10 which has a smf for enhanced control with services. But essentially it is like solaris and inherits from opensolaris. Got the ntp process to run as a service, but smf seems kind of complex or that is feature rich.
Solaris 10 and older rc scripts are strictly old bourne shell syntax. Make sure to also check out the new features that were introduced with oracle solaris 11 express to see the complete list of features added since oracle solaris 10. The update 9 release of solaris 10 im using include openssl version 0. Oracle solaris 10 oracle solaris 11 oracle solaris 11. Solaris 10 smf maintenance problem solutions experts. The post discusses few basic troubleshooting techniques to resolve the smf service management facility related issues. Hardware faults which previously caused system restart are now isolated to the effected services. The solaris service management facility smf is an update to the traditional unix etcinit. Solaris 10 service management facility ambreesh khanna chief technologist, x64 servers and solaris us client solutions sun microsystems.
Install bundles is the ability for installers to merge so customers. Each program is enhanced to include the latest security fixes, but also to work seamlessly with oracle solaris 11 features, such as privileges, zones, and the service management framework smf. A beginners guide to service management facility smf in. While many standard solaris services are now managed by smf, the scripts placed in etcrc. Linux and solaris having a different set of command line command to use. Im running a server process under smf server management facility on joyents base64 1. Browse other questions tagged java solaris solaris10 smf or ask your own question. Finally, smf is a followon to the legacy method of starting and stopping.
This nagios plugin checks status of solaris 10 smf services. If you fill tmp, you essentially reduce the amount of available swap to 0. For those not aqauinted with smartos, it is a cloudbased distribution of illumos with kvm. Service management facility smf in the solaris 10 operating system february 2006 in this article, the courier font is used to represent command line entries, file names, or excerpts from system files.
Therefore, if you run the oracle solaris 10 os in the primary domain, you can still. Google displays the sites where a free download is available. Service management facility smf in the solaris 10 operating. This book is for anyone who is responsible for administering one or more systems that run the oracle solaris operating system os. Multipath io, solstice disksuite, ipmp, first support for ipv6 and ipsec manual keying only, mdb modular debugger.
Under smf the daemons will be immediately restarted so additional steps need to be taken. Find answers to solaris 10 smf maintenance problem from the expert community at experts exchange. The ability to continue to run the remaining scripts allows for thirdparty applications to be added without having to. It is not necessarily the best that can be done, but does work to some extent. A milestone is a special type of smf service that merges several. When i use inetadm m command to set the tcp tracing true, the command accepts. Linux vs solaris top 8 beneficial differences you need.
Debugging problems traditionally involves killing and restarting those daemons with debugging options. Solaris fault manager solaris service manager smf5 solaris fault manager provides detection and diagnosis of errors, leading to isolation or deactivation of faulty components and precise, accurate administrative messaging. This is good for speed, but not so good on a general purpose box where some applications may fill up tmp. This replaces the legacy init scripts and other startup scripts. But when i do a ps ef grep inetd, it still shows inetd start.
For example since solaris 11 the dns servers need to be configured in smf. Key differences between oracle solaris 10 and oracle. And with new solaris releases, more and more systems configuration moves into smf, into so called smf properties. A daemon is an application or a script running as a background process. Smf is a core part of the predictive selfhealing technology available in the solaris 10 os, and it provides automatic recovery from software and hardware failures as well as administrative errors. Management of systems and services made simple with the oracle.
A system and service manager that replaces upstart as the default init system. This can lead to trouble, run out of physical ram, and new processes may not start. How to create an oracle solaris service management. Not enough space solaris 10 by default places tmp on swap. For example, under service properties below, you can. Peters solaris zone setting up postfix under greenline smf the work done and the text written by geoff gibbs. Anyway, on with the plot, this blog details my recent adventures compiling apache 2. You get lovely fork errors on the shell, and interesting. Smf promotes the service to a firstclass operating system entity, without.
Focus on hosting, data center, and network management industry topics. For instance, the following command will show only disabled and offline services, which quite often is exactly what we want. Solaris 10 operating system introduced the service management facility smf, which manages system services such as daemons. Smf provides better control of services, and allows for a standardised method for defining service properties. Managing network configuration when in manual mode. How to troubleshoot solaris 10 smf service management. Product guides are available on the media in pdf format. If you need to run a perl script, just call it with perl myscript. I was trying to configure ntp on my new solaris 10 install and found that the old rc method has been updated to the new smf.
88 1599 1548 1037 811 32 84 1314 1126 863 1058 172 1352 779 830 148 1494 470 530 1343 995 1064 51 1231 206 1321 1067 912 837 1401 422 891 16 1091 1345 1377 639 1277 68 886 429