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
2answers
912 views

Root crontab not executing script

I have a script listed in my roots crontab 07 9 * * * /opt/HLRSDATA_2010_OCT/HLRS_Scheduler_sp.sh > /opt/HLRSDATA_2010_OCT/logs/HLRTKJob.log This script contains the following #!/bin/bash echo ...
4
votes
2answers
4k views

Why can't “knife data bag from file” find existing json file on chef server?

Summary: I'm running into a problem with "knife data bag from file", where knife doesn't recognize the .json data bag file pulled down from a remote git repo. Background: I'm currently trying to ...
16
votes
8answers
7k views

Method to integrate Powershell scripts with non-Windows workflow?

I love the smell of new machines in the morning. I'm automating a machine creation workflow that involves several separate systems across my infrastructure, some of which involve 15 year old perl ...
1
vote
1answer
617 views

Can I use adsutil.vbs to remove the 'X—Powered-By' response header from IIS6

Can I use adsutil.vbs to remove the X—Powered-By response header from IIS6 configuration? We have a site that is running on some IIS6 servers. Migration to IIS7 is a few months away at least. In the ...
1
vote
1answer
89 views

SFTP (or similar) server automated setup for group spaces

I need to build a dedicated machine which will be used to allow our clients to upload and download files in a secure manner. Each client has multiple users, and I would rather not hand out generic ...
2
votes
5answers
3k views

How do I automate OS installation on 500+ machines?

My company has to image a large amount of machines by the end of the year. Each of the machines will have hardware RAID 1 and running CentOS 6. What options do I have for automating the OS ...
8
votes
5answers
3k views

How to automate slipstream?

Since years I use slipstreamed Windows installations. This works very well, but preparing them is tedious : 1 - install a Windows with the last slipstreamed version we have (automated install) 2 - ...
2
votes
2answers
2k views

My PowerShell script won't save to file when running using Task Scheduler; do I need to specify a specific argument?

I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network. The problem is that the new file is never created/saved. ...
2
votes
1answer
195 views

HPSA (HP Server Automation) [closed]

Using HP SA (HP Server Automation) version 9 for automation and its Oracle database consumes inordinately large amounts of CPU resources. Anyone have a similar experience?
2
votes
1answer
296 views

Disabling reverse dns lookup for ssh connections; Why not..?

Upon seeing some failure with initial ssh connections timing out; I narrowed it down to the reverse dns lookup on ssh. I've found many articles articulating how to disable the lookup; but none saying ...
-3
votes
1answer
89 views

How can i set new domains to respond to my server [closed]

I would like to create a page for new clients in my hosting. When someone register a domain, sometimes that person don't have a dns, or the hosting didn't created the account. So the page will not ...
2
votes
2answers
823 views

How to detect APC UPS battery usage and run a script when on battery

I have a couple APC UPS - Smart-UPS RT 6000 RM XL Smart-UPS RT 5000 RM XL Unfortunately the power in my office likes to go out (out of my control) and hence the equipment powered by these UPS ...
3
votes
1answer
832 views

How can I systematically shut down Windows services in order?

We have this open source application that has three (3) services. For the purpose of this question, let's call them A, B, and C. Now, they have to be shut down in a specific order. That order would ...
2
votes
3answers
149 views

Control scheduled tasks execution

We are a small shop. I am mainly a programmer, but due to being the only one that risks to manage our servers, the task has fallen on me (yet I it is still a secondary function so I cannot give it too ...
0
votes
2answers
67 views

Performing task on remote window server 2003 machine

I have to perform various task such as restarting process, monitor process state check disk space, log monitoring on Window server 2003 machine. For this i am using remote desktop access which is very ...
3
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. An ...
0
votes
1answer
295 views

How do you make a host workstation boot into a Virtual Machine and shutdown Upon VM Shutdown

I'm dealing with a company that has 21 windows workstations. I'd like to install linux on them to host Windows via a virtual machine. I'd like each workstation to hide linux from the user, in that, ...
4
votes
1answer
615 views

Modifying the number of VCPUs in a VMware VM

In ESXi, what is the automation/script (I expect it would be using PowerCLI somehow) approach to modify the number of VCPUs in a VM? In context, when using our kickstarts, RHEL won't install the SMP ...
1
vote
3answers
284 views

SSH autologin works sporadically

I am installing 20 servers. On each, with a specific user I created a dsa key. I did cat key.pub from each server onto ~/.ssh/authorized_keys of the first server I verified all servers can log in ...
2
votes
2answers
215 views

Tool for automating Windows tasks that require input on a server?

Can you recommend software that records what you are doing and then plays back the commands as well as allowing you to save that recording and set it up as an automatic task? The reason I ask is ...
-4
votes
1answer
123 views

etckeeper user and system diffs [closed]

I'm looking for a way to keep user and system-made changes to /etc using etckeeper seperate automatically. Basically different commits for user and system. I'm sure many other sysadmins could benefit ...
1
vote
1answer
299 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 ...
-2
votes
1answer
158 views

Telnet scripting server [closed]

I know this is old question, but I cant find anything on google. Is there any good software for centrally scripting telnet and ssh? Basically the following components: Telnet/SSH client, GUI, Server ...
0
votes
2answers
368 views

How to temporarely modify /etc/hosts [duplicate]

Possible Duplicate: How to permanently and irrevocably block websites on Firefox? I'd like to write a script that modifies /etc/hosts for a certain period of time. Motivation is ...
3
votes
2answers
5k 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
2answers
139 views

Extract, combine, and automate several installers

Right now we have about 12 different pieces of software that we have to manually install on many machines. I want to extract the files from the MSI/EXEs and monitor registry changes. Then I would ...
1
vote
3answers
269 views

How Do I Migrate 100 DBs From One MS-SQL 2008 Server To Another? (looking for automation)

Let me start by saying that I am not a DBA, but I am in a position where I am responsible for moving just under 100 MS-SQL 2008 DBs from our current development server, to a new/better/faster ...
0
votes
1answer
56 views

How to find out what's automatically processing a file when placed in a folder

When I place a file in a particular folder, it gets deleted within a few seconds. I think there is some process that is doing something with the data in the file and then removing the file. What's ...
1
vote
0answers
309 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 ...
-3
votes
2answers
206 views

Open source app to manage and run commands on cloud servers? [closed]

I'm creating a SaaS platform, and I need a component / library that can create, delete and store the connection details for cloud servers. It also needs to support executing shell commands on these ...
1
vote
3answers
1k views

How to deploy new and changed files only via FTP

I'm working for a company who in some circumstances HAVE to deploy php web applications via FTP. I'm in the process of automating the deployment process and need to write a script to FTP the files to ...
1
vote
1answer
345 views

Need to trigger a program when Active Directory replicates

I am a .NET developer working on a project I inherited. I need to execute a small program when AD replicates to keep our DB with user information up to date. Is there a way when AD replicates to ...
1
vote
1answer
2k views

Is it possible to change a Windows hostname (NetBIOS name) using a script?

How can I change the hostname of a Windows server using a script? Doing this on a Linux server is very straightforward (change a couple file entries, and run the hostname command), but I don't know ...
1
vote
0answers
75 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 ...
4
votes
3answers
9k views

How to automate DNS server reconfiguration for TCP/IPv4 and TCP/IPv6 in Windows 7?

I need to switch Internet Protocol Version 4 (TCP/IPv4) and Internet Protocol Version 6 (TCP/IPv6) settings for DNS server configuration from "Obtain DNS server address automatically" to hard coded ...
13
votes
7answers
17k 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 ...
4
votes
1answer
71 views

Is allowing automated subversion checkins a bad idea?

I'm a Systems Admin supporting a team of developers, and our subversion repository is protected by HTTP basic authentication tied to a single-signon solution. We also share our infrastructure with ...
-1
votes
3answers
2k views

How do I remotely deploy a software package on Linux system?

I have a software package I wrote in Mono and I want to be able to deploy it to Ubuntu server as part of my move to continuous integration and deployment work flow. I was wondering if there is a ...
0
votes
1answer
551 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 ...
1
vote
1answer
952 views

Can OpenVPN run and connect on startup?

I just set up an OpenVPN Server on an Amazon EC2 Instance. Now I want the client (me in this case) to connect to the server when my computer boots. I have read that it can be done by modifying a ...
2
votes
2answers
1k 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...
3
votes
2answers
702 views

Automatically set static routes between two networks without dhcp or default gateway

I have a windows domain network with two different subnets. Both are connected trough VPN gateways. DHCP and default gateway is an exiting router blackbox. Unfortunately I have very limited control ...
1
vote
2answers
783 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: ...
6
votes
2answers
1k 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 ...
1
vote
1answer
748 views

How do I automate the installation and configuration of a local printer?

I'm running Windows XP SP3. I have a fleet of laptop computers that I'm creating a master clone for. Each of these computers will have a different function when deployed so I've created a series of ...
29
votes
6answers
5k views

Automatically Configure New Computers

My company is in the process of upgrading all of our users from old Windows XP computers to newer quad-core Win7 computers. This is a good thing - it's long overdue that we upgrade our workstations - ...
1
vote
1answer
926 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
3answers
217 views

Automatically find permission problems of a directory

I often have the problem that a program - e.g. apache - may not access a certain file or directory. Solving the problem means to manually check the file and every single directory in the path up to ...
0
votes
2answers
575 views

ubuntu 10.04 automated LAMP configuration script with virtual hosts

I am looking for a set of bash scripts which can help me to automate the procedure of getting LAMP server up and running. Typically what I am looking for is boot a VPS (say linode) with Ubuntu ...
1
vote
3answers
6k views

How can I pass in a FTP username and password to WinSCP?

I'm scripting WinSCP, and need to dynamically pass in a FTP username and password, depending on which environment I'm using. However, the docs say, "WinSCP does not support providing the passphase ...