Tagged Questions

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
6 views

Acronis post-command query backup status

I would like to perform an action when the backup completes successfully (but not when it fails). Is there a way to pass the backup status into a post-backup command? Or an environment variable I ...
0
votes
0answers
35 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
0answers
21 views

Automatically configure networking on new VM in XenServer

We have a base RHEL 6.5 64-bit template that we use to create new VMs in XenServer. Every time we make one, we have to configure: /etc/hosts /etc/sysconfig/network ...
1
vote
1answer
44 views

What is the best way to distribute a rsa ssh key over a large amount of servers?

I know one way, running on a list of server like so: for server in $(cat server.list); do ssh-copy-id user@host done But I was wondering if there's a better way to do it? something automatic which ...
-4
votes
2answers
70 views

Windows 8: no way to automation? [closed]

Let's say I have all-by-default Windows 8 installation with a VMware Tools pre-installed as a template in my vSphere. This template is used by a lot of people for many different purposes, so that's ...
0
votes
0answers
12 views

How can I use chef to configure a basic system starting from a template?

I am working on the setup of a new virtual infrastructure that will eventually become the production one. I am at the very beginning and I want to use Chef as automation tool. I've already worked with ...
2
votes
1answer
67 views

dsadd run from batch file fails with “The specified account already exists” when there is no existing account with the same dn

I am programmatically creating thousands of test users from a txt file containing First Name, Last Name, Username, and Password using the following command (saved as a batch file, run in cmd, modified ...
0
votes
1answer
37 views

Automate Byobu window creation [closed]

I use Byobu on a Vagrant dev machine to run multiple things in one screen and to be able to suspend/restore the machine and continue where I left off the other day. There are times when I have to ...
0
votes
0answers
35 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 ...
0
votes
1answer
61 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
26 views

How to test if a particular version of php executable is available on a server?

An automatic upgrade Bash script requires PHP executable 5.3+, how do I ensure that is the case in the upgrade script? I'd like the script to quit and generate some message into the log when php 5.3+ ...
0
votes
1answer
41 views

Version Lock Ubuntu Repository

I found some duplicates of this question, but none of them answered exactly the thing I want to try. I have one QA and one production server managed by chef solo. I want to version lock the apt ...
1
vote
2answers
99 views

How to automate GPG file decryption over SSH?

I would like to use GnuPG to decrypt short messages that are stored on a remote host (running Linux), i.e.: ssh [<user>@]<host> gpg -d <file-to-decrypt> interact with gpg-agent ...
0
votes
0answers
52 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. ...
-1
votes
1answer
52 views

Best practice for organisation wide user management [closed]

We have a green fields environment (kinda) in which our Active Directory is currently the most canonical source of people information. As our organisation grows to 400+ employees we need a way to ...
8
votes
1answer
758 views

How do I run my PowerShell scripts in parallel without using Jobs?

If I have a script that I need to run against multiple computers, or with multiple different arguments, how can I execute it in parallel, without having to incur the overhead of spawning a new PSJob ...
-1
votes
1answer
39 views

Powershell Security Groups

Active Directory via powershell want to add users to a specific group. But that is a member of a particular group of users that other members do not want to be included in the relevant group. For ...
0
votes
1answer
43 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. ...
1
vote
1answer
239 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
39 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, ...
3
votes
2answers
178 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
36 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 ...
0
votes
0answers
23 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
112 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 ...
4
votes
3answers
1k 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
297 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
210 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 ...
0
votes
1answer
55 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 ...
2
votes
0answers
105 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
5answers
89 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. ...
1
vote
1answer
265 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
268 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
1answer
82 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
308 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
80 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
270 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 ...
2
votes
1answer
1k 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
104 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
357 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
75 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
131 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
114 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
1answer
91 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
73 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
1k 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
123 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
56 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
335 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
1answer
433 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 ...