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

learn more… | top users | synonyms

3
votes
2answers
231 views

Securing database credentials in automated deployment of nodes

In a situation where you're deploying nodes (e.g. amazon ec2), what are the recommended best practices for securing things like credentials to other resources? Without solving for scale, we might ...
3
votes
2answers
178 views

Automated Syslog Error Solution Finder

Any automated syslog solution finding frameworks? I want my central syslog server to email a list of problems, their severity and suggested solutions. There have been several questions about ...
1
vote
2answers
150 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 ...
3
votes
1answer
34 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 ...
3
votes
1answer
138 views

Procurve script/automation

This may be a stupid question, but I'm normally not a network admin, but circumstances have me there. I'm trying to disable down ports on a switch, but have a boatload of them, I'd like to configure ...
2
votes
1answer
260 views

How can I run a delegated task for an offline host using Ansible?

I have Ansible tasks for enabling and disabling Nagios checking for some hosts. They use "delegate_to" the Nagios server. However, I can't use them when the host in question is offline, because ...
2
votes
1answer
67 views

Is it possible to tell what machines I'm logged in to (but disconnected from)?

I infrequently work on about 20 Windows servers via remote desktop. There are times when it'd be really convenient to know if and where I have disconnected sessions open. Is there a powershell script ...
1
vote
1answer
70 views

Kerberos master server to slave server automation?

I've set up Kerberos in my workplace running on Centos 6 boxes, and successfully propagated the master server database to the slave and also set up a cron job to update it automatically every 5 ...
1
vote
1answer
109 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
1answer
280 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 ...
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 ...
1
vote
1answer
215 views

Help me better automate changes to our static routes

I have been assigned the task of maintaining and configuring my organization's firewall and gateway routers, and I'm looking for some advice on how to manage the static route table. (As context, ...
1
vote
1answer
48 views

Check a specific value in application?

I have a network with almost 2000 pc, on each of them i have an application installed for monitoring and mgmt, i need to check a specific value in each agent on the 2000 pc, which cant be checked ...
0
votes
1answer
28 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 ( ...
0
votes
1answer
127 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 ...
0
votes
1answer
179 views

Debian/Installer Preseed Remove Post Install Kernel Options + Multi NIC Preseed Tip

In light of recent automation trends, I would like to be able to fully automate an install of Ubuntu. My my first problem was auto selection of the bootif with multiple NICs break Ubuntu/Debians ...
0
votes
1answer
231 views

How to automate input for a repetitive script! Expect in Bash?

I am a junior sys admin. Reason I'm asking this question is because we don't have a senior sys-admin here who is proficient with scripting. Senior guys are at the head office and too busy for ...
0
votes
1answer
186 views

Is it possible to execute Azure automation runbook on Visual Studio?

I am considering about two cases. One is edit runbooks on Visual Studio, then execute them to perform Automation task directly. Another one is that edit runbooks on Visual Studio, then I use ...
0
votes
1answer
176 views

Powershell cmdlet requesting optional parameters as mandatory when running as script

I am trying to use powershell to create a script which I use to add vpn connections to windows 8.1 machines. For this microsoft has made the add-vpnconnection cmdlet. When running add-vpnconnection ...
0
votes
1answer
281 views

How can I perform mass provisioning of Debian Guest VMs on XenServer?

There are a number of tools for provisioning physical and virtual servers, but I can't see a well documented solution for provisioning XenServer Debian guests, apart from using XenCenter itself. With ...
0
votes
1answer
122 views

How do I keep process running in the background, even after a machine reboot?

What is the way to keep some process running (web server, database and so on) in background, and be sure that in case of system reboot it will start immediately again? I'd like to have this feature ...
0
votes
1answer
168 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 ...
0
votes
1answer
99 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 ...
0
votes
1answer
200 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
324 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
541 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 ...
0
votes
1answer
605 views

Automate wifi connection in bash using glob

Trying to apply these rationals on an ubuntu VM box to automate wifi connections but processing just into an infinite loop as I guess I'm not using glob as it should but can't find why/where the ...
0
votes
1answer
230 views

Pros/Cons of Deploying Ruby on Rails Project Subversion Working Copy

A couple of the Rails projects on which I'm working appreciate frequent, incremental updates, which I think is great. Our current deployment strategy is manual but we're considering switching to an ...
0
votes
1answer
603 views

automatically forward all network traffic to a proxy

I've used cntlm to automatically add NTLM headers to https requests when ssh'ing to a particular host. What I need to do now is to send all outbound internet traffic (80/443) from any program ...
0
votes
1answer
376 views

How can I restart a service designed to run under supervise

I have written a service designed to run under daemontools supervise. Because the run script refreshes a source code repository: git pull pod_server # serve up docs on source code via the ...
4
votes
0answers
292 views

Puppet Error: undefined method 'captures'

I posted this question on the networkengineering SE site, but it was determined to be off topic.... blah. I'm toying with the idea of using puppet for core network device configuration to increase ...
2
votes
0answers
144 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 ...
2
votes
0answers
174 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
0answers
43 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
0answers
27 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 ...
1
vote
0answers
41 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
0answers
57 views

Process-wide VPN connection via openconnect

I'm using openconnect to connect to a remote endpoint and SSH onto the machine inside the remote network. The problem is, when I do create the connection, the machine I do it on is unresponsive for ...
1
vote
0answers
229 views

Stop automatic reboot with gpedit shutdown script in Windows 2k8

I am search for a way to validate and maybe stop an automatic reboot under windows. E.g. automatic reboot is initialized by windows update. When adding a shutdown script with gpedit this script gets ...
1
vote
0answers
802 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 ...
1
vote
0answers
203 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 ...
1
vote
0answers
356 views

Automate an interactive command which use /dev/tty

well pretty much it's in the title. I've a interactive command. This one ask for a password through /dev/tty. I use this command within a shell script. So the command should read the information ...
1
vote
0answers
80 views

Adding a user to BES via Script?

I am looking for a way to add users to BES using a script to help automate new user creation process. Is this possible with using any of the resource kits from BlackBerry, or other methods than using ...
1
vote
0answers
69 views

How to automate LAMP+mail domains deployment?

We manage our more-or-less standard set of systems to do the usual hosting business: authoritative dns servers Mail eXchangers (with the first stage of spam filtering) mail scanning server (amavisd ...
0
votes
0answers
28 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
6 views

Maintain and version controll config- and SQL scripts

I'm looking for recomandations of handling variouse config scripts for a few databaseservers. The scrips fall into the following categories: OS Config scripts and files, such as crontab for multiple ...
0
votes
0answers
54 views

Cloud-Init with pre-populated runcmd

I'm using CentOS 6.5 with cloud-init installed from the main repo. I want to use cloud-init but only provide the instance name in my user data, and have other settings (like runcmd) alaready ...
0
votes
0answers
64 views

How do dynamically get the hostname of another machine in hiera?

I have a few machines, one of those has the class dbserver assigned via ENC. The other machines run software which need the DB. Now I want to configure this software to be able to connect to the DB. I ...
0
votes
0answers
29 views

CentOS 7 Automated SSL Generation from Active Directory

I have an Active Directory Server setup for Certificate Services. I am able to manually generate certs as needed. However, I need to find a way to automate the sending of the cert request to AD and ...
0
votes
0answers
126 views

Windows DHCP/DNS/AD - Retrieve/Store/Manage IP Addresses

We're using a windows 2012 R2 server as DHCP/DNS/AD. I would like to use a tool, that enables me to retrieve every IP addresses that are in use, and DNS register and/or hostnames associated with. ...