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

learn more… | top users | synonyms

-1
votes
0answers
19 views

High framerate cameras for recording units on racks?

I have many laptops that are running tests in my labs, and I cannot interfere with them via software on the machines. I would like to be able to record what's going on with the tests, and I need high ...
28
votes
5answers
2k 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 ...
1
vote
1answer
675 views

Multiple related resources in chef recipe

I need to run some commands depending on a result of previous execution, which again depends on some package being installed. On the first run, I'd expect something like: install package "XXX" get ...
6
votes
2answers
635 views

How to copy many Scheduled Tasks between Windows Server 2008 machines?

I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are ...
3
votes
5answers
3k views

Secure method of changing a user's password via Python script/non-interactively

Questions Is there a more secure/better way for setting a user's password non-interactively via a Python script? My current solution uses chpasswd from a Fabric script. Another option would be to ...
0
votes
1answer
22 views

Apt-dater: Keep specific packages from updating

I am using Apt-dater to manage updating of Ubuntu servers. I have some packages that cannot be updated but want to still update everything else on those servers. I wonder if Apt-dater supports this. ...
0
votes
1answer
38 views

Tools for heterogeneous systems and way to start MySQL cluster automatically

I'm trying to auto start of MySQL Cluster. There are several nodes and several distinct processes, and I must start them in the proper order. Firstly, I must start ndb_mgmd on management nodes, ...
1
vote
1answer
40 views

Consistent Install Disk Selection in RHEL Kickstart

In my kickstart installation I specify that the operating system should be installed on /dev/sda. We have some Dell machines in our environment with iDRAC. When virtual media is attached in iDRAC, it ...
0
votes
1answer
54 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 ...
3
votes
2answers
49 views

Retrieve Information from Cisco router in Parsable Manner

I'm trying to write a script that will pull configuration files over SSH from Cisco routers and parse them, so I can ensure that they meet predefined standards (e.g. password shouldn't be "cisco"). ...
2
votes
1answer
30 views

Suppress chrome's first-time dialog on linux

I'm trying to install google chrome using puppet on a bunch of linux machines (SLES 12) and I don't want any dialogs that the user has to answer before they can start browsing. This is mainly because ...
8
votes
5answers
6k views

How do I install a yum package group with puppet?

Does puppet have a way to install a yum package group (e.g. 'Development Tools'), besides exec?
0
votes
0answers
20 views

FTP automated user password maintenance

We have a need to automate a FTPS transfer using named accounts which require periodic password resets. Due to another party having control over the accounts, we cannot change them to service accounts ...
2
votes
2answers
443 views

Start services.msc attached to remote computer

Is there a way to start services.msc already attached to a remote system (e.g. from command line)? I want to avoid clicking Action -> Connect to remote computer, because I have to do it so often...
1
vote
1answer
185 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
2answers
64 views

NFS client keytab: multiple machines

How should one go about setting up client-side keytab files for each client machine to access network services? My working example is NFSv4, which requires each client to have a Kerberos keytab ...
2
votes
3answers
419 views

How can I disable a scheduled task using Powershell?

I have a web application that runs on Windows Server 2008 R2, which has a large number of scheduled tasks which take care of all the backend stuff. When I do a software deployment which touches the ...
-6
votes
1answer
55 views

Automatic repair software [closed]

Do anyone knows any kind of apps or services for "taking care of servers"? (besides managed servers) There are hundreds of ways your server or application can stop working properly. Small things are ...
1
vote
0answers
105 views

Java Deployment with automatic updates (without user confirmation)

Here in our company our users use 1 Java application which is updated every monday and always needs the latest java update. We install Java on Clients through SCCM 2012 R2. I already know how to do ...
0
votes
2answers
114 views

Keeping user's filesystem persistent across AWS EC2 spot instances

I noticed that, after a new Amazon AWS EC2 spot instance is auto-launched (I have that option turned on), the state of filesystem is not current (represent the last state before previous spot instance ...
15
votes
6answers
14k 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 ...
2
votes
0answers
90 views

Creating an Openstack user with only reboot permissions

What is the best approach for setting up an Openstack user that is limited to only rebooting servers using the Web API. The user needs to be able to access servers under different tenants, by using ...
0
votes
1answer
38 views

Getting VMware Port-ID using commandline

Is there a way to directly gather the vmware port-id using commandline? I'm trying to make monitoring switchports easy through esxcli but in order to get port statistics I require the portid of a VM ...
1
vote
1answer
253 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
5answers
86 views

Signal Root to Execute a Program

I have a program that must be run as root, and needs to be triggered by an outside process to start (it is triggered by a build process completion). It is not on a schedule, so cron is not an option. ...
0
votes
1answer
86 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 ...
1
vote
2answers
897 views

Can I automatically create a passworded user with pw adduser on freebsd?

Can I automatically create a passworded user with pw adduser on freebsd? pw useradd [name] [switches] -V etcdir alternate /etc location -C config configuration file ...
2
votes
1answer
128 views

I was just curious how far system admins go in setting up the workflows for the developers

Question: I am looking for links or personal accounts of lessons & experiences on setting up sets of servers\systems for developers. In particular I am interested in the amount of automation and ...
3
votes
2answers
2k views

Execute a command when a device is connected via USB

I currently have a system that backs up my Linux server onto a USB storage device on /media/usb. This all works correctly. However, I actually have 2 drives which we try to swap on a daily basis. Is ...
2
votes
1answer
194 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 ...
12
votes
4answers
11k views

Alter charset and collation in all columns in all tables in MySQL

I need to execute these statements in all tables for all columns. alter table table_name charset=utf8; alter table table_name alter column column_name charset=utf8; Is it possible to automate this ...
6
votes
2answers
184 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
64 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
87 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 ...
6
votes
5answers
303 views

How do you optimize new user setup?

What's your top trick for getting a new employee set up quickly? Do you use images, scripts, something else?
1
vote
1answer
442 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
82 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 ...
4
votes
9answers
6k views

Is there a way to SSH / SCP to another server as a different user, via a script?

I need to automate a way to distribute files to many servers. The problem of course is I need to use a secure protocol (SSH or SCP) and the username / password on each server is different. The ...
3
votes
2answers
198 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
54 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
99 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
104 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 ...
62
votes
8answers
134k 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 ...
4
votes
1answer
105 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 ...
2
votes
1answer
61 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
851 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 ...
3
votes
2answers
243 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 ...
26
votes
7answers
3k views

Automating server deployment

I find i am constantly settings up pretty much nearly identical servers and VPSs for a number of my clients and it can be very time consuming. Often the only thing that changes between each deployment ...
1
vote
1answer
291 views

Automating silent software deployments on Solaris 10

Essentially, the question I'd like to ask is related to the automation of software package deployments on Solaris 10. Specifically, I have a set of software components in tar files that run as daemon ...
-3
votes
1answer
55 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 ...