Solaris service management, solaris Service

Source: Internet
Author: User

Solaris service management, solaris Service

Remote logon Protocol

Telnet \ ssh. Of course, we can check who has logged on to my system and who can use ftp to record logs.

1. SMF: Service Management Tools

Advantages: Automatic Recovery of accidentally terminated Services supports service dependencies. A service can have multiple instances, provides command line management tools, and supports concurrent startup of services.

Two processes, manifest, profile, configuration management tool, and command line management tool.

Two processes: svc. startd process svc. configd process. All are under/var/svc. Each Service corresponds to a log.

Command line management tool:

Fault management resource identifier: FMRI fault management resource identifier.

It includes the service name and Instance name.

Svcs: displays the status of a service instance.

Svcadm:

Inetadm:

 

Svcs-

Common status: disabled. Offline enabled, not enabled. Online running status. Maintenance Error status. You can manage Legacy_run SMF.

SMF service instance dependency: The dependency between the service instance and other services. Smf determines when to enable and stop a service based on the dependency.

When a service is started, the service manager must start the service only after all dependencies are met. Require_all.

You can also stop the service based on the dependency. None, error, restart (restart), refresh (refresh ).

Svcs displays normal services. -X indicates an abnormal service. Under var/svc/log, each service has its own log file.

-L displays the details. The bottom line is that this service depends on other services. Same as-d. -D. Others depend on you.

Svcadm command: used for enabling and disabling. Start and Stop the SMF service.

 

In the SecureCRT virtual terminal, we can establish connections of different protocols as needed. Including ssh, telent, and rlogin.

For the following command,-n indicates that num is displayed as a number.

Inetadm: special commands for managing inetd services

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.