Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4115378
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:34:28+00:00 2026-05-20T22:34:28+00:00

my organisation have two physical servers and some VMs. Currently when there is a

  • 0

my organisation have two physical servers and some VMs. Currently when there is a pre-scheduled power outage, I use a script I wrote to loop through all VMs scheduling a shutdown command to all VMs and the servers. For example,

ssh root@${VMS[$i]} 'echo "shutdown -h now" | at 05:00am Mar 31'

Then I restart the machines when I am back to the office in the morning.

Is this the appropriate way of doing the auto shutdown? Do you do it differently? Thanks in advanced.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:34:28+00:00Added an answer on May 20, 2026 at 10:34 pm

    For starters, the shutdown command can take a time directly itself, you don’t need to use at for that (see http://www.computerhope.com/unix/ushutdow.htm).

    Beyond that, though, I don’t see anything wrong with this approach, provided that your environment can tolerate those servers being offline potentially longer than necessary (i.e. if a power outage lasts from 9-10 pm, but you don’t start them back up until 8 am the next morning, that’s 10 hours longer that they were off than they really needed to be), which your description seems to suggest is the case. In this environment, I don’t think I would do anything differently, beyond also scheduling the host computer to shutdown a couple of minutes after the VMs are scheduled to do so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are an organisation who have purchased a system which is used by doctors
I have developed a framework that is used by several teams in our organisation.
Introduction In my current organisation, we have many desktop and web applications all feeding
I have a request for some contract work from an organization that uses Excel
Let's say you have a table for branches in your organization. Some of them
I have custom coded several enterprise applications for mid to large organizations to use
I have 2 two tables: organisations (id, name) organisationsmeta (id, orgId, metaKey, metaValue) Each
I'm pretty new to MVC 2 using the Entity Framework. I have two tables
I need some advise on my PHP code organisation. I need classes where I
I have two .NET websites, which is setup to share sessions in-between via SQL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.