Author Message
AntBuild
Joined: Apr 15, 2020
Messages: 21
Offline
Hi,

I need to restart MPP (Redhat linux) from remote machine. Can you tell me how can I do that OR do you have any script that you can share?
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi.

All AEP servers (primary EPM, auxiliary EPMs, MPPs) are Red Hat-based.

You can connect to the MPP server via SSH (ex. Putty, Tera Term, exc...) from a remote GNU/Linux - Windows - Mac - FreeBSC - Solaris/OpenSolaris - UNIX host then


a) In case you want to reboot the MPP server

just run a BASH command for reboot as follows



# shutdown -r now (Note: reboot immediately)

# reboot (Note: reboot immediately)

# shutdown -r +x (Note: reboot in 'x' mins)

# shutdown -h 20:00 (Note: reboot at 08:00PM same day )


or similar




b) In case you want to schedule a reboot

You can use the Cron tool (there are tons of forums online and video on YouTube how to setup cron jobs using the BASH command 'crontab' ).
Here the link to the official Cron guide for Red Hat:

https://www.redhat.com/sysadmin/automate-linux-tasks-cron

Go to:   
Mobile view