In Unix and Linux, you must start processes after their host computer is booted up, and you must stop them before shutting down the host computer.
Although you can do this manually, you can instead add process startup or shutdown commands to the
operating system startup and shutdown scripts of the host computer.
To start processes on Unix and Linux
Add the following commands to the start-up script of your operating system asappropriate:
su - ecs_account -c start_ns_daemon
su - ecs_account -c start_server
su - ecs_account -c start_cms
su - ecs_account -c start_config_agent
su - ecs_account -c start_web_server.sh
To stop processes on Unix and Linux
Add the following commands to the shut-down script of your operating system as
appropriate:
ecs ctl -U CONTROL-M/EM_database_owner -P CONTROL-M/EM_database_owner_password -C Maint_Agent -M hostname -cmd shutdown
su - ecs_account -c "stop_server -U db_server_administrator_name -P db_server_administrator_name"
su - ecs_account -c stop_ns_daemon
su - ecs_account -c stop_cms
su - ecs_account -c stop_config_agent
su - ecs_account -c stop_web_server.sh
Aucun commentaire:
Enregistrer un commentaire