the field of converting any manual process into one that can be run mostly, or entirely, "hands-free"

learn more… | top users | synonyms

1
vote
4answers
705 views

Server configuration automation: Ubuntu on Windows Azure (+ WordPress, Nginx, Git)

We'd like some ideas on how to automatically configure Ubuntu virtual machines as staging servers for our application, test out the staging code, and then script deployments to the production server ...
2
votes
0answers
192 views

How to start a data collector upon high CPU load condition?

I have a Windows 2008R2 server that experience high CPU load for several minutes about once every couple of weeks. Unfortunately, when these events occurs, logging into the system through RDP or at ...
1
vote
3answers
502 views

Automated nightly backup of 1TB drive on Ubuntu Server

How you would set up an automated nightly backup for the whole disk (boot and data partition) running Ubuntu Server? I have a 1TB drive (current usage 200GB) and I want to have daily clone of this ...
1
vote
2answers
65 views

Automating the creation of SQL servers

VMWare has a tool called vFabric Data Directory which allows you to automate building SQL, Postgress and Oracle servers using VMWare. Is there something simular to this that will work for Hyper-V? I ...
1
vote
1answer
1k views

Automating RDP session availability test

We have a daily procedure when operator logs on via RDP to Windows hosts to ensure the operation is successful so other users can logon at the later stage and to their work. Putting aside question ...
4
votes
2answers
969 views

How can I automate a new linux server's initial setup?

Every time I setup a new server, I follow a series of steps on each server in order to get updates, set passwd, remove login via root user, customize a familiar environment (bashrc) and secure the ...
0
votes
1answer
433 views

What tools can run scripts on multiple windows servers? [closed]

I'm looking for a tool that can schedule a job (shell script, vbs, powershell) on 100+ standalone Windows servers. I know Altiris can do that, but I think it needs an agent on every server. I prefer ...
0
votes
1answer
227 views

Recommendations for bootstrapping Ubuntu server

When I create new Ubuntu 12.10 instances, I typically bootstrap them by manually SSHing onto the machine and editing the sudoers to put a NOPASSWD on the default user (e.g., ec2-user, azureuser, ...
0
votes
1answer
321 views

Hyper-V and Windows Server with Powershell/Automated?

So my work is looking into Automating Hyper-V Servers for Test Environments, Basically in the end we want to have a sort of Web/Form interface for selecting a server spin up. Right now it's done ...
0
votes
1answer
355 views

Trying to automate server tasks, stuck on gathering critical update information from WSUS

I asked this question at Stack Overflow but they said I would have better luck here. I am using VBScript to automate a lot of server tasks, I'm simply checking to make sure the server build team did ...
0
votes
1answer
379 views

Windows batch find folder if statement

Assume a file system with the following format Folder A --->Folder 1 --->Folder 2 --->Folder 3 etc.. Folder B --->Folder 4 --->Folder 2 --->Folder 3 Folder C --->Folder 1 --->Folder 2 --->Folder 3 ...
-1
votes
1answer
210 views

Windows Server Patching: Verification of Windows server coming back up after reboots? [closed]

I have been working towards improving our monthly Windows Server update process. The goal is to remove as much of the manual process as possible. Our process has been 1) Present updates to servers ...
1
vote
1answer
2k views

Automatic changing of local passwords [closed]

This is the third time I've seen this when working on site for a customer, so I know it's possible, I'm just wondering how. It seems that the Local Administrator account has it's password changed ...
3
votes
1answer
295 views

Idea for taking down half of the servers vs rolling restart?

We're setting up HAProxy to balance our application (ASP.NET MVC 3 running on IIS). We want our process to be without scheduled maintenance for deployment. I'm trying to figure out the correct way to ...
4
votes
2answers
5k views

Tool to collect and read all linux logs in one place [duplicate]

I have two linux servers. I'm an administrator, and part of my daily routine is to check all the logs for errors or strange messages. So, every morning I check: On server #1: /var/log/syslog ...
2
votes
2answers
750 views

powershell call operator with multiple arguments?

I am trying to use the powershell call operator to essentially run the following command: "C:\Program Files (x86)\PuTTY\plink.exe" "-v -agent -m C:\Scripts\idrac_powerup_commands.txt ...
0
votes
2answers
3k views

Automated WSUS reporting

We have WSUS 3.0 SP2 installed and I was wondering if it is possible to schedule and e-mail reports in pdf format or perhaps place them on a shared folder?
5
votes
2answers
128 views

Windows Update for numerous powered-down Virtual Machines [closed]

Before I dive into the question asking, let me give some background on the question. I have a VM project I am working on. Sales reps at my company need to have VMs of different configurations to demo ...
1
vote
1answer
145 views

Automation Methods - Templates or Scripting

Background We setup very large systems which consist of many different types of servers, switches, and routers. These systems are then shipped out to different locations and are turned on ready to ...
1
vote
1answer
937 views

Generic script to print files of various types in Windows

Is there a command or script in Windows to print a file (various file types such as .doc .xls .txt .pdf) to the default printer? As far as I know one usually has to execute the relevant application ...
3
votes
6answers
319 views

Monitor servers for changes made outside of automation software

The company I work for is currently investigating the deployment of an centralized automation system (like Salt or Puppet) for our servers (all Ubuntu/FreeBSD). We will probably go along with Salt, ...
7
votes
3answers
439 views

Creating a script to install a Perl application and its dependencies automatically

I have a Perl application that needs a lot of dependencies that i need to deploy on numerous servers I would like to make a script that installs that Perl application automatically and quickly. To ...
3
votes
1answer
141 views

Chef - how much abstraction is smart?

We have > 20 individual apps that we support. Most do not see changes more than a couple times a year. We think chef will help us down the line. I am trying to find a happy medium between manual ...
1
vote
1answer
733 views

Opscode Chef nginx compile from source issue reports successful run but does nothing

I am trying to install nginx from source in Opscode Chef and its bit weird, it runs complaining nothing but does not install it either. This is how my role attributes look like looks like "nginx":{ ...
0
votes
1answer
728 views

ssh remote execution always exits 127

quick question: I have a program that is spawning a process which executes a basic remote command over SSH such as: ssh aiden@host /bin/ps Running this manually from my shell is successful (as you ...
-2
votes
1answer
62 views

Automatic Site Creation [closed]

I have created a platform that i want users to sign up and a new site is created for them instantly. Users will register and afterwards they will receive a username and password for their personal ...
7
votes
2answers
940 views

How to set only specific nginx server block into maintenance mode programmatically

I am looking for a solution to automate one of our application's deployment process. In the beginning of deployment, I would like to programmatically set the specified server into maintenance mode and ...
4
votes
1answer
93 views

How to handle many daily emails from cron efficiently?

With each new server comes at least one more daily crontab email. The FreeBSD servers even send two: a daily and a security run output. Thanks to my obsession with virtualisation the number of emails ...
1
vote
3answers
449 views

Browser Install with Bookmarks

Goal: Install firefox and chrome with a default set of bookmarks on Windows 7 x86. The immediate need is for freshly imaged machines to have bookmarks. So I'm looking for an msi /flag or something to ...
0
votes
2answers
1k views

Root crontab not executing script

I have a script listed in my roots crontab 07 9 * * * /opt/HLRSDATA_2010_OCT/HLRS_Scheduler_sp.sh > /opt/HLRSDATA_2010_OCT/logs/HLRTKJob.log This script contains the following #!/bin/bash echo ...
5
votes
2answers
5k views

Why can't “knife data bag from file” find existing json file on chef server?

Summary: I'm running into a problem with "knife data bag from file", where knife doesn't recognize the .json data bag file pulled down from a remote git repo. Background: I'm currently trying to ...
16
votes
8answers
7k views

Method to integrate Powershell scripts with non-Windows workflow?

I love the smell of new machines in the morning. I'm automating a machine creation workflow that involves several separate systems across my infrastructure, some of which involve 15 year old perl ...
1
vote
1answer
655 views

Can I use adsutil.vbs to remove the 'X—Powered-By' response header from IIS6

Can I use adsutil.vbs to remove the X—Powered-By response header from IIS6 configuration? We have a site that is running on some IIS6 servers. Migration to IIS7 is a few months away at least. In the ...
1
vote
1answer
92 views

SFTP (or similar) server automated setup for group spaces

I need to build a dedicated machine which will be used to allow our clients to upload and download files in a secure manner. Each client has multiple users, and I would rather not hand out generic ...
3
votes
5answers
4k views

How do I automate OS installation on 500+ machines?

My company has to image a large amount of machines by the end of the year. Each of the machines will have hardware RAID 1 and running CentOS 6. What options do I have for automating the OS ...
8
votes
5answers
3k views

How to automate slipstream?

Since years I use slipstreamed Windows installations. This works very well, but preparing them is tedious : 1 - install a Windows with the last slipstreamed version we have (automated install) 2 - ...
2
votes
2answers
2k views

My PowerShell script won't save to file when running using Task Scheduler; do I need to specify a specific argument?

I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network. The problem is that the new file is never created/saved. ...
2
votes
1answer
240 views

HPSA (HP Server Automation) [closed]

Using HP SA (HP Server Automation) version 9 for automation and its Oracle database consumes inordinately large amounts of CPU resources. Anyone have a similar experience?
2
votes
1answer
311 views

Disabling reverse dns lookup for ssh connections; Why not..?

Upon seeing some failure with initial ssh connections timing out; I narrowed it down to the reverse dns lookup on ssh. I've found many articles articulating how to disable the lookup; but none saying ...
-3
votes
1answer
90 views

How can i set new domains to respond to my server [closed]

I would like to create a page for new clients in my hosting. When someone register a domain, sometimes that person don't have a dns, or the hosting didn't created the account. So the page will not ...
2
votes
2answers
987 views

How to detect APC UPS battery usage and run a script when on battery

I have a couple APC UPS - Smart-UPS RT 6000 RM XL Smart-UPS RT 5000 RM XL Unfortunately the power in my office likes to go out (out of my control) and hence the equipment powered by these UPS ...
3
votes
1answer
1k views

How can I systematically shut down Windows services in order?

We have this open source application that has three (3) services. For the purpose of this question, let's call them A, B, and C. Now, they have to be shut down in a specific order. That order would ...
2
votes
3answers
157 views

Control scheduled tasks execution

We are a small shop. I am mainly a programmer, but due to being the only one that risks to manage our servers, the task has fallen on me (yet I it is still a secondary function so I cannot give it too ...
0
votes
2answers
69 views

Performing task on remote window server 2003 machine

I have to perform various task such as restarting process, monitor process state check disk space, log monitoring on Window server 2003 machine. For this i am using remote desktop access which is very ...
5
votes
1answer
3k views

Shared files/templates between cookbooks

We have multiple cookbooks which reference the same files and templates and were wondering if there is a reasonable way to ensure all of these are the same file to ensure that none go out of date. Is ...
0
votes
1answer
413 views

How do you make a host workstation boot into a Virtual Machine and shutdown Upon VM Shutdown

I'm dealing with a company that has 21 windows workstations. I'd like to install linux on them to host Windows via a virtual machine. I'd like each workstation to hide linux from the user, in that, ...
4
votes
1answer
747 views

Modifying the number of VCPUs in a VMware VM

In ESXi, what is the automation/script (I expect it would be using PowerCLI somehow) approach to modify the number of VCPUs in a VM? In context, when using our kickstarts, RHEL won't install the SMP ...
1
vote
3answers
323 views

SSH autologin works sporadically

I am installing 20 servers. On each, with a specific user I created a dsa key. I did cat key.pub from each server onto ~/.ssh/authorized_keys of the first server I verified all servers can log in ...
2
votes
2answers
253 views

Tool for automating Windows tasks that require input on a server?

Can you recommend software that records what you are doing and then plays back the commands as well as allowing you to save that recording and set it up as an automatic task? The reason I ask is ...
-4
votes
1answer
127 views

etckeeper user and system diffs [closed]

I'm looking for a way to keep user and system-made changes to /etc using etckeeper seperate automatically. Basically different commits for user and system. I'm sure many other sysadmins could benefit ...