Posts

Showing posts from 2014

PowerShell commands

PS get-command -Module FailoverClusters - To get all commands with clusters. Create user account in AD: New-ADUser –Name adfsService Set-ADAccountPassword adfsService Enable-ADAccount adfsService Regional settings: Set-Culture -CultureInfo < de-DE> - To set regional setting to German get-adgroupmember $MyGroup | select name - This will list down just names of members of the group Get-ADPrincipalGroupMembership | select name - This will list groups the user is member of. Get installed server roles: Get-WindowsFeature | where {$_.installed -eq $true} | select displayname, name, installed Change network profile to Private: Set-NetConnectionProfile -InterfaceAlias "nic1-storage" -NetworkCategory Private Set-NetConnectionProfile -InterfaceAlias "nic2-admin" -NetworkCategory Private

Recommended private "Heartbeat" configuration on a cluster server

The information that is traveling across the heartbeat network is small, but latency is critical for communication. If you have the same the speed and duplex settings, this helps to make sure that you have reliable communication.  If you are not sure of the supported speed of your card and connecting devices, or your manufacturer's recommended settings, Microsoft recommends that you set all the devices on that path of  10 MB/Sec  and  Half Duplex . This configuration will provide sufficient bandwidth and reliable communication. For more information, click the following article number to view the article in the Microsoft Knowledge Base: 174812  The effects of using Autodetect setting on cluster network interface card Note : Microsoft does not recommend the use of any type of fault-tolerant adapter or "Teaming" for the heartbeat. If you require redundancy for your heartbeat connection, use multiple network adapters set to Internal Communication Only and define their ne

Procon web application issue after certificate renewal

After certificate renewal, Procon web application fails to run properly and below were the steps to resolve: "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys" - The files with lock symbol - Grant everyone (local) - full permission In certificated snap-in copy the latest certificate from Personal to Trusted Root Certification authorities folder In IIS - verify the site binding is correct with the latest certificate Recycle application pool - "ProconAppPool"

Finding Application Pool name from w3wp.exe PID

Image
Recently I handled a case that process "IIS Worker Process"    (c:\windows\system32\inetsrv\w3wp.exe) continueously writing to a log file in c:\temp\tracing/log, this was found using process monitor. I wanted to narrow down what application pool exactly writes this log file and below information was provided by MSFT. http://blogs.msdn.com/b/jb/archive/2006/02/22/536693.aspx C:\WINDOWS\system32>cscript iisapp.vbs Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. W3WP.exe PID: 15924   AppPoolId: DefaultAppPool I found the application pool id as "DefaultAppPool" Another process Content Index service (C:\WINDOWS\system32\cisvc.exe) was writing to C:\inetpub\catalog.wci\0010002.ci and the solution was Indexing Service supposed to be disabled as standard in the environment :)

Command to search for text within plain text files

Using the findstr command will enable you to search for text within any plain text file: Example : findstr /m "ZLUOOP.TXT" *.log

Command to delete multiple folders with wildcards

for /D %f in (*-a) do rmdir %f /s /q Above command deletes all folders ending with -a

HP NC375i adapter in Proliant DL580 G7 stops responding

Image
HP NC375i adapter in Proliant DL 580 G7 server, the adapter may stop responding, requiring a  server reboot  to recover the operation of the adapter. Below is the HP advisory: HP advisory c02964542 Link: http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_ba847bafb2a2d782fcbb0710b053ce01=wsrp-navigationalState%3DdocId%253Demr_na-c02964542-13%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.tpst=ba847bafb2a2d782fcbb0710b053ce01&ac.admitted=1395243335327.876444892.199480143 SUPPORT COMMUNICATION - CUSTOMER ADVISORY Document ID:  c02964542 Version:  10 Advisory: (Revision) HP ProLiant and HP StorageWorks Systems: HP NC375i, NC375T, NC522m, NC522SFP, NC523SFP, CN1000Q  Network Adapters  - FIRMWARE UPGRADE REQUIRED to Avoid the Loss and Automatic Recovery of Ethernet Connectivity or Adapter Unresponsiv