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
19 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 ...
-1
votes
1answer
37 views

Create user account on many servers

I have a users.txt with the following content: ip1 user1 password1 ip2 user2 password2 .... ipN userN passwordN I want to create one user on each of these servers. I want to use this script on each ...
2
votes
1answer
40 views

Auto-upgrading similar VM guest OSes

Is it possible to handle automatic upgrades of VM guests which differ only in terms of config management? I'm asking about either general or specific technologies which facilitate this. In brief, I ...
1
vote
1answer
24 views

Knife Vsphere Password Plain text

I'm using the knife-vsphere plugin for chef to interact with our vsphere hosts. As part of the config for the knife-vsphere plugin it seems that you have to enter a plain text password which I think ...
0
votes
1answer
23 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 ...
2
votes
1answer
35 views

windows update configuration from command line

I'm building a script to rebuild a server from scratch. I want to configure Windows Update as below. I can set the first option using reg add ...
0
votes
1answer
14 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 ...
0
votes
0answers
12 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
51 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
34 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
51 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
74 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
20 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
141 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
47 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 ...
1
vote
0answers
60 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
67 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
27 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
42 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
113 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
58 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
59 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 ...
9
votes
1answer
1k 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
40 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
50 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
326 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
42 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
310 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
41 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
24 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 ...
3
votes
2answers
127 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
2k 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
343 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
238 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
58 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
112 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
280 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
278 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
89 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 ...
7
votes
2answers
360 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
83 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
315 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
2k 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
109 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
426 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
84 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
147 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
116 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 ...