the field of converting any manual process into one that can be run mostly, or entirely, "hands-free"
3
votes
4answers
134 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, ...
1
vote
0answers
20 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
102 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 ...
8
votes
5answers
4k views
How to set ulimits for a service starting at boot?
I need, for mysql to use large-pages, to set a ulimit - I've done this in limits.conf. However, limits.conf (pam_limits.so), doesn't get read in for init, only for "real" shells. I solved this before ...
1
vote
2answers
46 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 ...
0
votes
1answer
69 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 ...
1
vote
3answers
168 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 ...
7
votes
4answers
592 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
148 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
0answers
62 views
selenium.common.exceptions.WebDriverException [closed]
I am getting following error while running my selenium tests on Linux as well as on my mac OS.
Version details:
Chrome:- 26.0.1410.43-r189671
ChromeDriver:- chromedriver_linux64_26.0.1383.0
Linux:- ...
-1
votes
1answer
38 views
Labtech Scripting [closed]
This is something I’ve noticed to be somewhat of an issue as LT doesn’t run scripts in a logical way.
I have a script to do ninite updates. As such, the logical command would be:
Shell as Admin:
...
17
votes
6answers
44k views
How to automate SSH login with password?
How to automate SSH login with password?
I'm configuring my test VM, so heavy security is not considered. SSH chosen for acceptable security with minimal configuration.
ex)
echo password | ssh ...
0
votes
1answer
56 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
73 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, ...
1
vote
3answers
308 views
Tivoli Workload Scheduler
I'm being forced to work primarily with a Tivoli Workload Scheduler (TWS). My impression so far is that it is not user friendly to install and use and that has some strange aspects in its interface ...
0
votes
1answer
69 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
47 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
54 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
vote
2answers
2k views
Auto upload to FTP server
I have two users local to an office that need to scan documents then have them automatically upload to their remote Terminal Server. I can set the scanning software to save the files to a certain ...
3
votes
3answers
956 views
Send message to IRC channel from bash
I have installed ircd-hybrid on my Ubuntu Server (192.168.1.2, example.com).
We use #teamchannel to communicate inside the team.
The question is: how can I send some short message from example.com to ...
-1
votes
1answer
58 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
97 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
122 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 ...
7
votes
3answers
132 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
2answers
141 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
...
0
votes
2answers
75 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?
2
votes
2answers
175 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 ...
6
votes
2answers
930 views
Automate the installation of postfix on Ubuntu
My system configuration script does an "apt-get install -y postfix". Unfortunately the script is halted when the postfix installer displays a configuration screen. Is there a method to force postfix ...
5
votes
2answers
99 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 ...
2
votes
1answer
1k views
How to fully live update sphinx indexing?
It's covered in sphinx documents:
http://sphinxsearch.com/docs/manual-0.9.9.html#live-updates
But after reading it,I don't think it really can achieve that.
Have you guys ever also thought of this ...
1
vote
3answers
1k views
How can I pass in a FTP username and password to WinSCP?
I'm scripting WinSCP, and need to dynamically pass in a FTP username and password, depending on which environment I'm using.
However, the docs say, "WinSCP does not support providing the passphase ...
1
vote
1answer
65 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
0answers
31 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 ...
0
votes
0answers
11 views
Saving WebDeploy settings to a file
I'm looking to move our deployment process (created by our outsourced partner) to WebDeploy, the idea is that I want to move away from our deployment teams having to manually edit the web.config.
...
3
votes
1answer
80 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
112 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
54 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 ...
4
votes
2answers
206 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 ...
9
votes
5answers
10k views
Cygwin SSHd Autoblock Failed Logins
I'm running Cygwin with an SSH deamon on a Windows Server 2008 machine. I was looking at the Event Viewer and noticed as much as 5 to 6 failed login attempts per second (brute force) for the last week ...
6
votes
2answers
12k views
Adding a user to the local Administrator group using powershell
I would like to use powershell to add a spesific user to the local administrator group on a machine. I would be running the powershell script in the context of a user that has Administration rights ...
2
votes
5answers
471 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 ...
-2
votes
1answer
53 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 ...
4
votes
3answers
537 views
Can capistrano or fabric be used to setup a server from scratch?
I'm hoping there is a light weight, command line utility that I could use to setup a server from scratch.
I like python's fabric or ruby's capistrano but from what I was reading they are more used ...
2
votes
1answer
52 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 ...
14
votes
4answers
13k views
Ssh, run a command on login, and then Stay Logged In?
I tried this with expect, but it didn't work: it closed the connection at the end.
Can we run a script via ssh which will log into remote machines, run a command, and not disconnect?
So ssh in a ...
0
votes
2answers
257 views
Script that can generate a listing of recently modified files
Is there a script (PHP?) that I can install (via FTP) and run that will give me a listing of the files that are modified AFTER a particular date on the entire domain?
0
votes
0answers
9 views
Scheduler with support of multitrigger jobs [closed]
I want to learn concepts of event driven job scheduling. Here is the list of even driven job schedulers, but most of them are with commercial license and confidential docs. But for example this one is ...
14
votes
8answers
3k 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 ...
2
votes
2answers
525 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 ...
1
vote
3answers
75 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 ...


