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