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
1answer
12 views

Unable to form a link of a file which is in sites-available to a directory sites-enabled in remote server using ansible?

Unable to form a link of a file which is in sites-available to a directory sites-enabled in remote server using ansible? This is command I want to execute using file module of ansible: ln -s ...
1
vote
1answer
1k 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 ...
0
votes
2answers
776 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
2answers
84 views

Logging In as a root user to a remote machine using SSH

My problem is similar to this one , I am trying to automate the portion where I can access the remote machine and run a command as super user. It works fine till it logs-in , like from here :- $ ...
7
votes
5answers
4k 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 ...
2
votes
2answers
1k views

Automated test suite for linux servers and network devices?

Coming from a development background i'm used to automated (unit) testing before stuff goes live.Now i'd like to use the same approach to (new) linux (and some windows) servers and networkdevices. I ...
1
vote
3answers
1k views

Removing non-present hardware with Devcon?

I'm automating the removal of a USB printer from machines with Windows XP SP3. To do this, I'm using Microsoft's Devcon Utility. Running the command: devcon findall *hp* Returns: ...
1
vote
2answers
344 views

How to increase heap size for ws_ant.sh when deploying on WebSphere 8.5 (64-bit Linux)

TL;DR -- How do I give ws_ant.sh and/or the <wsInstallApp> task more heap at runtime? I am attempting to deploy a relatively large (~160-MB) EAR file to WebSphere 8.5 running on a 64-bit Linux ...
3
votes
1answer
34 views

How to automate RFC2307 attributes in Active Directory?

How do you automate the population and management of RFC2307 attributes in Active Directory in a scalable and reliable manner now that SFU and IdMU is considered deprecated by Microsoft and won't be ...
4
votes
3answers
3k 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
0answers
21 views

What do you use to monitor and deploy linux config files? [duplicate]

I'm working in an environment where multiple groups share servers. I was wondering what tools are used to check if configurations files were modified, maybe able to say who modified them, and revert ...
-5
votes
1answer
29 views

cron - How many times the cron job will run when given aterisk(*) on all positions [duplicate]

If we define a cron job with * * * * * /some/task/to/perform, how many times the job will executed in 60 seconds?
0
votes
4answers
273 views

Azure : Script to start or shut down multiple VMs

Is it possible to write and save some kind of script that launches azure powershell, then authenticate azure subscription then start/shutdown multiple VMs in one step? I have 5 VMs that I use ...
16
votes
6answers
21k 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 ...
0
votes
0answers
10 views

Trigger Builds if OS Security Updates are available

In classic non-cloudy server environments, you have a fixed set of servers. If updates were available, you installed them and were done. In cloudy server-environments, you often auto-scale your ...
1
vote
1answer
31 views

Should I choose language node or python to automate AWS? [closed]

I have been exploring on automating AWS services and which language is preferable to start with? Nodejs or python?. My question: Is it better to start with node or python?
0
votes
0answers
11 views

How to script install of Sophisticated Anti-virus on Linux

Following the Linux start-up guide from Sophos, there is an option to create a deployment package using mkinstpkg. The install.sh script accepts command line arguments in an installOptions file and ...
2
votes
5answers
358 views

Debian preseed.cfg - Language not set

I'm trying to write a preseed.cfg which should be used for a full automated installation of Debian wheezy. For some reasons the installer is still asking to select a lanugage even if I set this in my ...
2
votes
2answers
358 views

How to Power on Remote System Remotely?

Lot's of time I have received call form Developers/QA to Power on their office machine. And I am trying to do R&D on this, Searched over the internet and trying to use the suggested tool in LAN ...
2
votes
2answers
994 views

Add extra module to ansible

I have installed ansible to make automation deploy my system and i need some extra module to work with it. I downloaded module yumrepo.py on ansible github and add it to my library directory. But when ...
0
votes
0answers
202 views

Get-AzureService : ForbiddenError: The server failed to authenticate the request

I am using azure workflow on azure automation and get the template from Azure gallery for "connect the azure using subscription certificate". After Create the connection "Azurec" and upload the ...
5
votes
1answer
2k 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
68 views

Graceful shutdown of ruby process during windows shutdown

I have a windows 2012 r2 machine with a scheduled ruby process which runs every minute - sometimes exiting after only a few seconds, other times, running for 5 minutes or so. What I am trying to ...
1
vote
0answers
58 views

How to do I create linux VM with ssh public on azure automation

Right now, I am creating Linux VM without public key on azure automation. My aim is to create linux VM with ssh public key on azure automation. How to get ssh public key from "accets" on azure ...
1
vote
1answer
42 views

Automated app-deployment on cloud server

I've been hosting my applications at AWS EC2 and one of these days I tried OpenShift, what I liked of it was that the whole deployment process is automated, but I disliked the pricing since I know ...
3
votes
1answer
46 views

Alternative way to disable cron writing to /var/log/syslog

There are answers that suggest changing this: *.*;auth,authpriv.none -/var/log/syslog #cron.* -/var/log/cron.log Into this: *.*;cron,auth,authpriv.none ...
0
votes
0answers
40 views

Strategy to use Multiple Cloud Accounts for Ansible Tower Playbooks

The Ansible Tower for Job Templates accepts only one CLOUD Account Credentials. What would be the best way to handle situation like perform DR from AWS Account A to AWS Account B. We can think of ...
1
vote
0answers
31 views

Puppet device wildcard names for nodes?

I'm using Puppet's device management to mange some Cisco devices. Right now my device.conf looks like this: [someCity] type cisco url telnet://puppet:123456@10.123.1.1/ [someOtherCity] type cisco ...
7
votes
3answers
26k views

Adding a user to the local Administrator group using powershell

I would like to use PowerShell to add a specific 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
2answers
2k views

password check in bash script calling on expect

Background: I have to copy a file from one server, to over 100 servers in a test environment. once the file is copied, it requires to have the permissions on the file changed/verified. These are all ...
0
votes
1answer
258 views

Automate the OOBE setup steps for Windows 10

I am not sure if this is possible. I have been reading a bit about answer files but that seems to be more for the actual installation of windows to me. This is the process we currently use: Install ...
9
votes
3answers
8k views

Remotely renaming a domained Win 7 computer

I'm having a hard time figuring out how to rename a Windows 7 computer remotely. This is for automating Win 7 builds in a vSphere 5 environment, and I'm trying to get it as hands-off as I can. So far ...
0
votes
1answer
38 views

Serialization with Ansible with a jumpbox/build-server

We are using a build-server that is delegating_to and deploying the build to the application servers. I am not sure how we are going to "serialize" since everything is being done on the build-server ( ...
6
votes
2answers
216 views

Software for automating Windows GUI applications [closed]

I am looking for software that will allow me to automate some GUI tasks, including clicking on buttons and sending keystrokes to a GUI application running in the foreground. Are there any ...
2
votes
2answers
10k views

Automated extraction of email attachment on Exchange Server

An Exchange email account was created through which I will receive daily emails with three different Excel attachments. Each Excel attachment has to be saved in one of three different folders. Can ...
1
vote
0answers
71 views

pki linux auto enrollment

I have a Windows Offline Root CA. I'm looking for a tool which I can install on my secondary CA to import there a certificate from my ROOT CA and to enable certificates auto-enrollment for non Windows ...
1
vote
1answer
149 views

automatically authorize teamcity agents

We have some TeamCity build agents running and I'd like to destroy and rebuild all agents over night automatically to have a clean set of agents in the morning. Destroying and provisioning the agent ...
1
vote
2answers
350 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 ...
2
votes
0answers
189 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
1answer
31 views

Update production Server and Automation [closed]

I would like to clear that i am not a sysadmin pro in any way, and maybe my question is answered already, but as long as i searched on google/serverfault/SO i didn't find anything similar. Let's say ...
0
votes
1answer
99 views

VM template which automatically joins Rancher environment

I would like to create a VM template (vSphere specifically) that, when used to create a new instance, will automatically join an existing Rancher environment. I tried running the command from the ...
0
votes
1answer
100 views

Elevating user to root with Ansible

How to elevate Ansible to root for running playbooks? The thing is that the server I want to provision has root access disabled and the only user that has login access has absolutely no permissions to ...
0
votes
1answer
114 views

Shut down syspro 7 processes

We have nightly backups run on our Windows Server 2012 R2 sys pro 7 server. Having the syspro processes running during backups can cause file lock issues and other errors. Does anyone know a way we ...
1
vote
1answer
47 views

Running “find” and piping the output to “wc”/“sort”, inside an outer “find -exec”

I've a folder used by imapsync to store its own cache. Such a folder contains a subfolder for each of the mailbox I'm syncing, and nothing more: [dv@monitor] find * -maxdepth 0 -type d | wc -l 126 ...
0
votes
3answers
126 views

automate generation of SSL certificates

How I can automate the generation of self signed certificates when I know the domain name ? This works, but it asks me on the command line prompt certain questions. How I should change it to ignore ...
2
votes
1answer
139 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 ...
0
votes
1answer
112 views

Automated mail processing in Zimbra

The task: upon arrival an email from (specific address) to (specific address), the message must be parsed and some actions must be done. To be more specific. One of our personnel accounting software ...
0
votes
1answer
20 views

Adding items from the monitored node?

We're running a system that is distributed over several servers monitored by Zabbix. Different parts of the service can be dynamically configured to different nodes, and each part has a distinct ID. ...
14
votes
8answers
21k 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
1answer
54 views

Powershell: Does ADDSForest promote a new domain controller, and if so, does that mean that ADDSDomainController does not need to be used?

I have noticed that installing ADDSForest in powershell will prompt for the domain name and a password, and promotes the domain controller, creating a forest and a domain controller in AD. Can I use ...