Exchange 2010 + DAG replication failed
One day I have noticed that a database replication had status “Failed”. It happened after rebooting servers. So, I tried to suspend and resume the replication – unsuccessfully – the same status “Failed”. I looked for a recipe on the Internet and found this: http://www.youdidwhatwithtsql.com/cluster-network-san1-is-partitioned/1288 but I couldn’t do it because it said “some network […]
IPSEC + FreeBSD tweaks
Some tweaks for IPSEC in kernel: sysctl -w net.key.preferred_oldsa=0 sysctl -w net.key.blockacq_count=0
Windows event log + subscription to “Account locked out” event
There is just my script for a subscription on event 4740: @echo off wevtutil qe Security “/q:*[System [(EventID=4740)]]” /f:text /rd:true /c:1 > c:\Event\event4740.txt c:\Event\postie.exe -host:192.168.111.222 -port:25 -to:admin@local.com -from:event@local.com -s:”Account Locked Out on Server” -msg:Server -file:”c:\Event\event4740.txt”
Zoneminder
I have a card Kodicom 4400R and IP-camera Hikvision DS-2CD2012-I. I looked for a free video surveillance system and found it: Zoneminder. Firstly, I tried to install it on CentOS 6.4 (i686) from the source. But after fighting with different errors I decided to install it on Ububntu 13.04 Desktop. So: Install LAMP: sudo apt-get […]
Raspberry Pi + IPTV + No video
I have got Raspberry Pi and IPTV from my provider. I installed OpenElec 3.2.3 and tried to watch IPTV – I heard the sound but there was no video. I bought a codec Mpeg2 from the Raspberry Pi Store and wrote a license code into config.txt on the first partition. And everything works now.
Apache + wildcard certificate
Got it from here. In this short article I will show you how to setup something really interseting and useful: configuring a virtualhost with the Apache webserver that accepts wildcard(*) domain names. This is a really nice features which can be useful in many cases. Say you have a website and want to access sites […]
Windows 2008 R2 NPS + Ubiquiti AP Pro + Radius = issues
Some time ago I wrote about configuring WiFi network with Radius authentication. Recently I got some issues with that: some devices couldn’t connect to WiFi for a long time, then suddenly could and so on. So, I started the investigation … 1. I look at the NPS log – You can find it in the […]
Install Datastax OpsCenter to monitor Cassandra claster
There is a copy from the official site but with my own edits. Installing OpsCenter on Debian or Ubuntu Install the DataStax OpsCenter using APT repositories on Debian or Ubuntu distributions. For a complete list of supported platforms, see DataStax OpsCenter – Supported Platforms. Prerequisites Note: Use the exact version listed in Prerequisites. For example, […]
Exchange 2010 + move e-mails to another transport server
1: On exchange EDGE server 1 get-queue 2: Pause the transport services, 3: Suspend the queue get-queue | ? {$_.deliverytype -eq ‘dnsconnectordelivery’} | get-message | suspend-message 4: Then export those suspended messages: get-queue | ? {$_.DeliveryType -eq ‘dnsconnectordelivery’} | get-message | ForEach-Object {$temp=”c:\temp\”+$_.InternetMessageID+”.eml”;$Temp.Replace(“<“,”_”);$Temp=$Temp.Replace(“>”,”_”);Export-Message $_.Identity | AssembleMessage -Path $Temp} 5: Remove exchange Edge server 1 […]
Exchange 2010 + Count RPC connections
Script: function Get-CASActiveUsers { [CmdletBinding()] param( [Parameter(Position=0, ParameterSetName=”Value”, Mandatory=$true)] [String[]]$ComputerName, [Parameter(Position=0, ParameterSetName=”Pipeline”, ValueFromPipelineByPropertyName=$true, Mandatory=$true)] [String]$Name ) process { switch($PsCmdlet.ParameterSetName) { “Value” {$servers = $ComputerName} “Pipeline” {$servers = $Name} } $servers | %{ $RPC = Get-Counter “\MSExchange RpcClientAccess\User Count” -ComputerName $_ $OWA = Get-Counter “\MSExchange OWA\Current Unique Users” -ComputerName $_ New-Object PSObject -Property @{ Server = […]