jump to navigation

CA ARCserve Backup: Change the priority of servers to be backed up April 24, 2010

Posted by itnsomnia in Backup and Recovery.
add a comment

If a backup job uses multiple streams, it might be advisable to put a server with a lot of data (eg. fileserver) on the top of the list.

Step 1: Modify the backup job from within the Job Status window. Right click Modify Job…

image

Step 2: Click on Start to save the job.

Step 3: Click OK in the Security and Agent Information window.

image

Step 4: Click on the Source Priority button in the Submit Job window.

image

Step 5: Change the priority.Of the servers. You can also change the order of the data to be backed up per server. For example first the registry, then the D disk …

image

Step 6: Click on OK and OK again.

CA ARCserve Backup: Filter out unwanted files and folders from backups April 24, 2010

Posted by itnsomnia in Backup and Recovery.
1 comment so far

If there are a lot of files on servers that don’t need to be backed up, you can use filters to exclude them.

Filters are set per backup job. I don’t know if there’s a global way to do this. If you do, please let me know through the comments.

Step 1: Modify the backup job from within the Job Status window. Right click Modify Job…

image

Step 2: Click on the Filter button at the top.

image

Step 3: Define the required filters.

image

Step 4: Start/Save the backup job.

VMWare ESX VM has 10mbps link speed after P2V April 24, 2010

Posted by itnsomnia in Virtualization, Windows Server 2003.
add a comment

If after a P2V migration you notice the virtual machine only has a 10mbps link speed, chances are that it’s using an old in the box Microsoft NIC driver.

sceenshot_2010-04-22_12-47-38

This can easily be fixed by updating the NIC driver via Device Manager.

If you have the VMWare Tools installed, you can find the correct driver in the following folder:

C:\Program Files\VMware\VMware Tools\Drivers\vmxnet

No reboot required. Et voila, fixed.

Some IE8 Search Providers August 27, 2009

Posted by itnsomnia in Internet Explorer.
1 comment so far

image

To add your own custom IE Search Providers go to the following website:

http://www.ieaddons.com/en/createsearch.aspx

and add the search URL and a name followed by a click on Install Search Provider. Below you can find examples of some Search Providers.

image 

Google:

http://www.google.com/search?hl=en&source=hp&q=TEST&meta=&aq=f&oq=

Heise.de:

http://www.heise.de/preisvergleich/?fs=TEST&in=

Tweakers.net Pricewatch:

http://tweakers.net/pricewatch/zoeken/?keyword=TEST&fuzzyterms=0&fuzzyterms=1&catID=&priceMin=0&priceMax=&land=&scoreMin=0&scoreMax=5&x=0&y=0

IMDB:

http://www.imdb.com/find?s=all&q=TEST

Bing:

http://www.bing.com/search?q=TEST&form=QBLH&filt=all

Youtube:

http://www.youtube.com/results?search_query=TEST&search_type=&aq=f

Wikipedia:

http://en.wikipedia.org/wiki/TEST

TechNet:

http://social.technet.microsoft.com/Search/en-US/?query=TEST&ac=8

You can add as many as you want. Essentially you just use the search engine on the site you wish to add and use TEST as search term and copy paste the resulting URL in the site above.

Free Amazon.com Gift Card Claim Code August 23, 2009

Posted by itnsomnia in free, giveaway.
comments closed

A while ago I filled out a survey for HP. You could either win a $5 Amazon gift certificate or a laptop.

I was hoping for the laptop but I won the $5 … yaaaay.

Apparently this code can only be used on Amazon.com and not Amazon.co.uk etc, which makes it useless to me as I live in Europe.

That’s the last time I filled in a survey for you HP, thanks for wasting my time!

Anyway here’s the code:

ZZXR-DVQ52F-QW2B

The only thing I ask of the person that finds this code and uses it, is to leave a small note in the comments on what you did with it :-) Thanks.

 

giftcardclaimcode

Vista SP2 DFS update June 4, 2009

Posted by itnsomnia in networking, Updates, Vista, Windows Server 2003, Windows Server 2008.
add a comment

I noticed a nice update to DFS after I installed Vista Service Pack 2.

In the past when you tried to copy a file bigger than the free space on the drive that hosted the DFS root, you would get a message that there is not enough free space. Now Vista checks the free space on the DFS link itself … very nice. This has been bothering me for a long time.

You also get a shortcut symbol on your DFS links.

image

List of users with expired passwords by e-mail March 29, 2009

Posted by itnsomnia in Active Directory, scripting, Utilities.
2 comments

Don’t you just hate it when all kinds of funky problems happen to users with expired passwords ? (… and they start calling)

I’ve made a little script that checks your AD for users with expired passwords and then mails a list of those users to you. You can schedule this batch file and have it in your mailbox each morning.

The recipe for this batch script:

  • FindExpAcc.exe: finds expired user passwords or computer accounts in AD, available at Joeware.net
  • blat.exe: command line tool to send e-mail, available at Blat.net.

You can run FindExpAcc on your entire AD or on a specific OU.

I changed the output delimiter for FindExpAcc to “;’” so we can redirect the output of the command to a csv file and then read it using the FOR /F command. The standard delimiter “,” causes problems because it’s also used in the user’s DN.

@echo off

echo Checking for expired accounts …

FindExpAcc.exe -h YOUR_DOMAIN_CONTROLLER -b "OU=Users,DC=your,DC=domain" -pwd -outdelim ; | find /I "cn=" > c:\temp\expired.csv

rem DN,cn,displayName,sAMAccountName,pwdLastSet,pwdAge,expireDays,mail

IF EXIST c:\temp\expaccnts.txt del /q c:\temp\expaccnts.txt

FOR /F "delims=; tokens=1,2,3,4,5,6,7,8" %%a in (c:\temp\expired.csv) do (

      rem echo DN: %%a >> c:\temp\expaccnts.txt

      rem echo cn: %%d >> c:\temp\expaccnts.txt

      echo displayName: %%b >> c:\temp\expaccnts.txt

      echo SAMAccountName: %%d >> c:\temp\expaccnts.txt

      echo pwdLastSet: %%e >> c:\temp\expaccnts.txt

      echo pwdAge: %%f >> c:\temp\expaccnts.txt

      echo expiredDays: %%g >> c:\temp\expaccnts.txt

      echo mail: %%h >> c:\temp\expaccnts.txt

      echo. >> c:\temp\expaccnts.txt

)

c:\executables\blat\full\blat.exe c:\temp\expaccnts.txt -subject "Expired Accounts" -server YOUR_SMTP_SERVER -f FROM_ADDRESS -to TO_ADDRESS

Using pass through authentication with VCB 1.5 (SSPI) March 28, 2009

Posted by itnsomnia in Backup and Recovery, Virtualization.
1 comment so far

To avoid saving your VCB user password in plain text, in a config file or in the registry, you can use pass through authentication. (SSPI – Security Support Provider Interface)

There are 4 requirements to accomplish this:

  1. you must point to a Virtual Center server (no a specific ESX host);
  2. the VCB user must be known on both the virtual center server as on the VCB proxy;
  3. the VCB user must be a local administrator on the VCB proxy;
  4. you need VCB version 1.5 or higher.

Now to actually use SSPI, you must run VCB under the VCB user context. (eg. run as)

example using vcbVmName:

vcbVmName.exe –h yourVirtualCenter –u __sspi__ –p "" –s Any

SMS/e-mail notification of MGE UPS utility or temperature events February 28, 2009

Posted by itnsomnia in General ICT, UPS, Utilities.
Tags: , , , , , , , ,
1 comment so far

At work we use a MGE Comet EX 11 RT UPS with a environment (tempeature/humidity) sensor attached.

Our airconditioning in the server room regularly stops working, making the temperature rise to over 41°C (105°F) … which is BAD. As a result several servers shut themselves down. Ideal server room temperature should be 20°C – 21°C.

I will show you how you can receive a notification by SMS when the temperature reaches its high treshold or when there is a utility failure.

For this we will use:

  • a SNMP trap receiver, in this case Trap Receiver
  • the MGE UPS Systems web based configuration page
  • a SMTP to SMS gateway, in this case Gfi Faxmaker with SMS functionality.

The first thing we’ll do is configure the MGE UPS to send SNMP traps to the Trap Receiver server. This can be done using the web based management page of the UPS. Navigate and logon to your UPS using your webbrowser of choice.

Click on the Notified Applications link under Settings and click on the Add NMS button. Fill in all the fields, most importantly fill in the IP of the server on which you will install Trap Receiver and give the NMS a name.

Now click Save changes and we’re finished with configuring the UPS.

image

You can configure the temperature high and low values using the Environment > Status > Environment settings page if desired.

 image

Let’s install Trap Receiver now, this is a great freeware SNMP Trap Receiving tool. Just download it, extract it and follow the steps in the setup. (Next, next, next …)

Once it is installed it will run as a service. A shortcut for the easy to use configuration tool is placed on the Desktop as well.

I will not go in to detail on how to configure it, there is a good manual with lots of screenshots available on the website.

In short what you need to configure is the necessary e-mail servers and recipients as well as the SNMP traps to watch for. Finally you need to link actions to the traps. In our case the action is to send a SMS message.

To do this, start the Trap Reciver configuration tool located on your desktop. Once its loaded click on the configure button at the bottom Then click on the Email tab followed by the Add button and fill in the correct values.

 image

In the SMTP server field type in the IP of your Faxmaker server. In the To field type in your cellphone number followed by your GFI Faxmaker SMS domain for example  +31478548736@smsmaker.com .

Finally type a message (faxmaker ignores the subject for SMS messages). You can use variables like %SPECIFICTYPE%. For the possible variables see the manual.

We will now configure the actions to be taken when a specific SNMP trap is caught. To do this click on the Actions tab and add 2 traps.

The first trap will be for when the temperature reaches its upper limit. For this we will watch Specific Type with a value of 56. Click e-mail and configure it send to your previously added SMS number of e-mail address.

For the utility failure you should add another watch with Specific type with as value 17.

image

If I’m not mistaken 57 means the temperature is back within acceptable limits and 18 means the utility is restored. All traps will be send and logged so you can monitor them in the Trap Receiver main window.

For testing purposes you can send a utility failure test trap using the MGE UPS configuration website. See the notified applications screenshot above to see the button.

MS Baseline Security Analyzer 2.0.1 acts strange – Th1n-forefront.s ? April 20, 2008

Posted by itnsomnia in scripting, Security, Updates, Windows Server 2003.
add a comment

I did a scan using mbsacli.exe with the following option /listfile c:\mbsalist.txt.

Look at the Date Modified field for the resulting files. Isn’t that strange …

If I look at the file properties it looks good. The explorer view stays the same when I copy the files.

Click on the screenshot for full details.

 

image

Follow

Get every new post delivered to your Inbox.