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

learn more… | top users | synonyms

0
votes
0answers
50 views

How to initialize known_hosts/authorized_keys/public/private key pairs with ansible

I am using ansible to configure and deploy my app on several machines. The only problem I have now is that I am not sure how to properly initialize/automate the very first connection to this machines? ...
2
votes
1answer
56 views

Persistent Network Configuration using KVM and libvirt

Our environment will have a KVM host setup dynamically using kickstart (easy enough). The hard part is dealing with network configuration and keeping VLAN configuration (and possibly bridge/host ...
0
votes
0answers
24 views

Install Java 1.7 non-interatively on Ubuntu 12.04

I need to install Java 1.7 on several machines and hence I want to do it using a script. The problem is the installation asks for certain options (to be specific 'Y', then 'OK' and finally 'Yes'). I ...
6
votes
2answers
72 views

How to change assigned letter for Ephemeral drives automatically?

I have an AWS Windows box (Windows 2008 R2) with the following disks: C:\ 60 Gb (EBS) D:\ 200 Gb (EBS) Y:\ 40 Gb (Ephemeral SSD) Z:\ 40 Gb (Ephemeral SSD) Every time it boots I change ephemeral ...
0
votes
1answer
52 views

APP installation - iPhone [closed]

I am trying to automate the installing procedure of iPhone apps (i.e) installing apps for around 5000 phones. For this I am planning to deploy an MDM server in Windows Server 2008 containing Active ...
0
votes
1answer
45 views

How to automatically create a Hyper-V VM and install an app using PowerShell

I am designing a testing infrastructure for a WPF application. I want a system that will create a VM when a new MSI appears in a folder, and install the MSI on the newly created VM. I am using Hyper-V ...
0
votes
1answer
42 views

How can I prepend to PATH while running Ansible's pip module?

I'm attempting to install psycopg2 into a Python virtualenv with Ansible's pip module, but I need to prepend an entry to PATH for it to build correctly (it needs to know the path to the directory ...
1
vote
0answers
42 views

Start/Stop IIS site automated as an administrator, which is not a built-in “Administrator”

There are several ways to start/stop an IIS site, in a way that does not require logon to the system. For example: 1) Command line via APPCMD: C:\windows\system32\inetsrv\appcmd.exe stop site ...
3
votes
2answers
88 views

Stopping a scheduled task with WMIC

I need to find some method for disabling a scheduled task on a remote machine and waiting until that task has stopped executing if it happens to be running at the moment. I'd like to do this through ...
1
vote
2answers
38 views

Download cygwin packages from a predefined list (on Windows 7)

I have a very long list of cygwin packages that I need to download (for various reasons I cannot install directly from the internet, instead I need to download the cygwin packages for later ...
0
votes
1answer
63 views

Need to send keystrokes to DOS app from Windows at idle logout

I am supporting a legacy Paradox 4.5 for DOS system. Our users connect to a single terminal server (Windows Server 2003) to run Paradox. We frequently need to boot everyone out of the system. Our ...
0
votes
1answer
80 views

How can I run a few tasks consecutively that I usually execute manually

Ok, first of all let me describe my working situation so that is is clear why this is a question pertaining to system administration. I work at a larger IT solution company that is running operations ...
0
votes
0answers
60 views

How do I write a script that compares folder/symbolic-link names from two diffrent folders?

I need help in writing a script to create symbolic links. Here is a script that I have been running on background. #!/bin/bash SOURCE="/home/$USER/www" DEST="/var/www" while true; do find $SOURCE ...
2
votes
1answer
37 views

Automatic reverse/caching proxy configuration update?

I've never done something so ambitious before so please let me know if this is simply a bad idea, and alternate solutions I should consider. So I have three servers (and more later), all hosting ...
2
votes
2answers
295 views

When do Dell PowerEdge servers (R210II and R620) automatically shutdown due to over heating?

I've had a hell of a time trying to find out when and how a Dell PowerEdge server (in my case we have a bunch of R210IIs and R620s with iDRACs) deals with overheating. I don't want to wait for the CPU ...
4
votes
1answer
70 views

sniff mobile traffic data

I'm now preparing an automation testing lab for our mobile department consisting of mainly android devices. For first phase i need HTTP device sniffing, i can't do it on the device as they are not ...
-3
votes
1answer
49 views

Automation Software [closed]

I work at a company that has big amount of VMs and Physical servers and we are constantly upgrading them, by installing different packages and adding new services. We were thinking of buying a ...
3
votes
2answers
124 views

Manage enable - disable nginx site by Hiera puppet?

i got the task to implement hiera puppet script to manage sites_enabled for nginx. Here is my puppet script: common.yaml --- classes: - nginx nginx: enabled: abc.com ...
1
vote
0answers
98 views

Automatically assign elastic IP to ec2 spot instance with user data script

Is it possible to automatically assign an Elastic IP address to a spot instance that has a persistent spot request using the 'Advanced' 'User Data' script box? I'm thinking that I could craft a ...
0
votes
2answers
67 views

Can I still benefit from using Chef (et al) when I'm not in total control of the server?

I would like to get better control over my deployment environments, but I share the system administration responsibility with an IT department that has their own (not fully automated) processes for ...
0
votes
1answer
62 views

Puppet node ordering

Can someone help me with puppet node ordering, I know how to control sequence inside classes using require, before, subscribe etc but I need to be 100% sure that my node2 will be executed only after ...
-4
votes
3answers
108 views

How can I package up a Linux installation into an .iso so I can install elsewhere? [closed]

I want to be able to install a base server (CentOS) and configure with some custom apps, then package that into an image file. I'll then use that image file to install duplicate servers. How can I do ...
1
vote
1answer
144 views

Automate Windows 8.1 Enterprise upgrade

I have been trying to find the necessary command line switches for automating the upgrade for my Windows 8 clients to Windows 8.1. I have the ISO extracted and I've run setup.exe /? but that doesn't ...
-2
votes
2answers
61 views

Automatically Configuring client workstation in a Lan

Suppose we have a Lan with X clients workstations and Y servers, the servers are running different network services (web, e-mail, directory service...) both client and servers might run either Linux ...
2
votes
2answers
77 views

git clone - fail instead of prompting for credentials

When cloning git repositories in automated tools - web front ends, CI systems, sometimes the git clone invocation opens up a prompt asking for the username and password (for example, when cloning a ...
0
votes
1answer
60 views

Hyper-V Snapshot Management Plan

So I have a few servers running Hyper-V (they are 2008R2 Servers). This is mainly for a Test Environment, and im basically looking for a way to keep "States" of a Server (Lets pretend each VM is a ...
0
votes
1answer
44 views

Reboot a server and sign into a program

I have a client who is a medical clinic and their main server, running server 2008 r2, has a program that shuttles labs from their lab vendor to their EMR/EHR. I am currently automatically rebooting ...
2
votes
1answer
134 views

How to manage Linux servers and tasks?

As a developer who is managing more and more Linux servers for my various projects and tasks, I'm starting to seriously think about how to manage these servers efficiently. I have come up with such a ...
6
votes
3answers
182 views

Protocol choice for Machine-to-Machine communication - level:n00b

I am building a monitoring system for an irrigation pump and the connected pipeline. So far I have completed the sensor network. Everything connects to a micro-controller board (actually 4 Teensy 3.0 ...
27
votes
5answers
1k views

How can a Linux Administrator improve their shell scripting and automation skills?

In my organization, I work with a group of NOC staff, budding junior engineers and a handful of senior engineers; all with a focus on Linux. One interesting step in the way the company grows talent is ...
0
votes
1answer
109 views

Automating Unbreakable Linux Network (ULN) registration

To register a RHEL 6.4 machine to the Unbreakable Linux Network (ULN), it is required to launch the uln_register command. This command opens a textual interface, where the user has to input the ULN ...
2
votes
2answers
198 views

Add time stamp to script log entries

Currently I have my bash script using exec 22>&2 21>&1 1>$log 2>&1 to write stderr and stdout to a log file. I would like to add a time stamp for each entry, but I haven't ...
0
votes
1answer
172 views

How to run a mysqldump automated with SAFELY stored mysql credentials?

I'm looking for a way to SAFELY run daily backups using mysqldump. Safely means not storing username/password in a text file or any other unencoded format. I know there is (apparently it isn't) a way ...
4
votes
1answer
211 views

Run specific script after every Windows Update

Is there a way to run a specific script each time Windows update completes (i.e., after reboot or after an update that doesn't require a reboot)? My application is suffering from MSCOMCTL.OCX ...
1
vote
1answer
29 views

Automaticaly commit when updating pacemaker configuration

I'm trying to automate the administration of my servers which are running corosync/pacemaker. For that I generate a file containing the modifs that needs to be applied to the configuration. To apply ...
0
votes
1answer
63 views

Auto-restart “screen” script not working

I'm looking over a script that would actually be restarting game-servers in case they crash. The game-servers are actually started in a screen session through a control panel. They have to be ...
0
votes
2answers
98 views

Mapping My Documents to Users area

I am looking to automate a process that we have to carry out, when building a PC for a user we have to map their my documents to their area on our server is there a way to automate this process? I ...
0
votes
0answers
96 views

Check if offline files are being synced

I have been trying to find a tool or a script that can automate a check to see what users machines are making an offline cache. Basically we want to know that all the machines on our network are ...
4
votes
1answer
155 views

Reloading Salt grains

I'd like to download a grains file from external source during the state.highstate is run. The file is not supposed to change usually - I'm only using this mainly for the initial provisioning. So it ...
0
votes
0answers
97 views

Suggestions for passing script status back to master controller service

I want to automate our update and upgrade process. What I would like to achieve is a controlling server executes a script of some description on the remote server, it knows the status of the remote ...
2
votes
2answers
96 views

Autofilling some field in all AD accounts

Is there a way to auto-fill a field or set of fields for all AD accounts in one go? For example if I want to set address field for all employees or in a specific OU? Or perhaps if I need to set their ...
1
vote
1answer
257 views

Installing Debian with PXE and preseed and dynamic IP address, but configure it finally with static IP address

I had setup an infrastructure for automatic installation of Debian based machines. It uses PXE booting with DHCP and TFTP servers, and preseed to automate the OS installation. What I want is: use ...
1
vote
1answer
283 views

SchTasks giving out error (0x1) on Windows 2008 R2

i have a powershell script which creates scheduled tasks as a part of automation process and my syntax is following; schtasks /create /s ServerName /u $username /p $password /ru $username /rp ...
1
vote
2answers
158 views

Automated Linux VMs on Hyper-V 2012

I have a requirement to create a ton of linux VMs for our customers (we run managed infrastructure) on Hyper-V 2012 in the coming months and I have an issue with automating it. Here is how I need it ...
0
votes
1answer
38 views

teraterm stay open after disconnecting from host?

Is there any way to get teraterm's windows to stay open after disconnecting from a host, so that I can see the terminal output in the scrollback? Trying to transition from Putty, which is nice, but ...
0
votes
1answer
386 views

Bringing up EC2 instances with vagrant-aws errors

I'm trying to automate acceptance testing by using vagrant to bring up machines with amazon's EC2 service, so I added the dummy box and copied the Vagrantfile off Github, but when I try to run vagrant ...
1
vote
4answers
299 views

How to automate a VM creation?

My company works on a project were we ship an appliance (a CentOS VM) that runs several services. Currently this appliance is regenerated every time "manually" but I'd like to improve the process and ...
0
votes
0answers
31 views

automated install of mvc 4

I need to get mvc4 installed from command line / scripts, since the servers will all from an image. Is this possible? Mvc 2 had an msi, and could use msiexec, but as far as I can see that's not ...
0
votes
1answer
44 views

Need to DROP TABLE from 100s of SQL backup files

I have MS SQL Server 2008 available to me. Is it possible to script (perhaps with Powershell?) the processing of all my backup files to drop a table (or two) from each one? I used 7-Zip on the command ...
0
votes
2answers
260 views

How can I automatically detect and resolve an IP conflict in Ubuntu?

Sometimes one of my Ubuntu 12.04 Server machines get into an IP conflict with another device on the network. I can detect the IP conflict by disabling the nic, and accessing the ip from another ...