Skip to main content

Posts

Low disk space on C: on windows 2008 x64 server

If you face a condition where in the C:\ on server 2008 x64 (in my case SCOM 2007 R2 CU5 RMS server) becomes full and you have no more space and don't know what to delete : This is what i deleted and think didn't affect my sever. Clean up Winsxs a little bit: C:\Windows\winsxs http://blogs.technet.com/b/askcore/archive/2008/09/17/what-is-the-winsxs-directory-in-windows-2008-and-windows-vista-and-why-is-it-so-large.aspx Deleted the files under C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp  (5GB)  -- the file modified dates were 3 years ago. So i took a chance Move the archive Security Logs to other location : C:\Windows\System32\winevt\Logs (5GB) You can run Disk Cleanup utility (however you need to Install Desktop Experience feature on the server as Disk cleanup is not part of Windows 2008 and need to be added as a feature) Uninstalled programs from the server that no longer were needed. (e.g management...

Exporting Group Membership from AD

Sometimes you may find yourself in a situation where you have to export the members of a security group from AD. In such a situation we can use following commands : (On a server were AD tools - remote Administration tools are installed) dsquery group -name “Group Name” | dsget group -members > users.csv However this will give results with the respective LDAP paths e.g CN=Server01,OU=V,OU=Servers,OU=Computers,OU=Loc,DC=domain,DC=com You might have only wanted to get the name not the netire path. Just open the csv file you exported and  (Press Ctrl + H )  i.e Find and  Replace these 1 by 1 Use Replace All option , the image is shown here: OU=* CN= , Additionally you may also use the following command: net group “Group Name” /domain > users.csv Again you have to do some formatting of the results. Hope this helps.

XenApp 6.5 Apply Full Load Evaluator for Server Maintenance

In XenApp 6.5 in case you want to drain the sessions so that eventually you could reboot the server for maintenance. there is an option in the XenApp console , where in you can do the following: This is same as the (drain mode) of Microsoft RDS 2008 R2. However i have had mixed results with this and sometimes when i prohibit logons it changes it back to Allow logons . Also this disables the functionality of RDP as well. I have found using load Evaluator is a better and good option to accomplish maintenance mode for Citrix Xenapp Servers. In XenApp 6.5 we cant assign load Evaluators to Servers directly , so have to use Worker Groups. Firstly I created a Load Evaluator (named it Full Load) and used Scheduling Rule. This Load evaluator if applied to a Worker Group , will apply Full Load (10000) to all servers in the Worker Groups. I then Created a Worker Group and Named It -- Full Load Worker Group I used Farm Server as Select Source instead...

Chrome Spell Check Notification Error

Google Chrome Spell Check Alert :) It dint spell Better (bettar)

SCOM Test Event Based Rule by creating a Fake event

Sometimes we need to create a rule for alerts using the Windows Event Ids I had a situation to alert on one such event: Event 6008  which is logged as a dirty shutdown. It gives the message "The previous system shutdown at time on date was unexpected" In order to create a Rule for unexpected Shutdown : i used the following method http://dynamicdatacenter.wordpress.com/2012/10/09/quick-win-scom-alert-rule-to-detect-server-reboot-shutdown/ Configuration for the Rule:  -System Log - Event ID: 6008 - Event Source: EventLog In order to test the monitor we can create a fake event using many methods: e.g using vbscript , eventcrete , logevent , powershell ,OpsMgr Script Each one has its Pro's and Con's http://ianblythmanagement.wordpress.com/2008/08/25/create-events/ I used the following powershell to create the fake event Write-EventLog -Logname System -Source EventLog -EventId 6008 -Message "This is a Fake Event"-EntryType ERROR Ho...

Updating Dell R720

Updating Dell R720 I had to update a new Dell R720 server , being the first time it took a lot of time to find the details on how to do things; I downloaded the Latest SUU DVD  from: http://www.dell.com/support/drivers/us/en/555/DriverDetails/Product/poweredge-r720?driverId=T1XHC&osCode=WS8R2&fileId=3105458864&languageCode=en# Connect to the iDRAC The default username and Password fro dell iDRAC : Username : root Password: calvin Click on launch  in the Virtual Console Preview Power on the machine As the Machine boots Up we have to Press F10 During POST The steps are shown in the images as follows: You have to choose Platform Update First we can view the current updates Now we can choose to  Launch platform Update We can choose to dell  ftp Site for latest updates , or use the Local CD/DVD/USB or Network  You have to configure Networking firs...

SCOM AD topology Monitor Views show Not Monitored

We implemented SCOM 2012 SP1 , We imported the latest Managemnet pack for monitoring Active Directory Somehow the topology views in AD management pack always remained not monitored. Here is what i checked : The agents on DC's was installed from within SCOM console after discovery We used a domain Administrator to install the agent and then the local system account as action account the DC's started alerting and we couldn't find any errors in the event logs , however the topology views all remained not Monitored. AD helper Object was installed on all the domain controllers as the agents were pushed from SCOM Console. I ran  hslockdown /L on the Domain controllers Local System Account (our default Action account) was not denied permission. Still i tried running Hslockdown "ManagemnetGroupName" /A "NT AUTHORITY\SYSTEM" But the topology views did not update. -Verified Agent proxy was enabled on all DC's and MS -All the agent...