Database Content index state crawling in Exchange 2010 DAG

We have received error that one of the database copies had been stuck in a status of “Crawling” for over a day.

Untitled

To rectify this problem, we did the following:

1. Log onto the affected server and open up services.

2. Restart the “Microsoft Exchange Search Indexer” service:

image

3. Run the following PowerShell command in EMC:

Update-MailboxDatabaseCopy –Identity DATABASE\SERVER –CatalogOnly

This will update the search index of the database and then you can run the following command to ensure that the database index is now healthy:

Get-MailboxDatabaseCopyStatus -Identity DATABASE\SERVER

image

Advertisements
Posted in Exchange 2010, Exchange 2013 | Tagged | Leave a comment

How to connect lync online through powershell

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers.

So you can be controlled via PowerShell and not from the Office 365 admin center

Download Windows PowerShell Module for Lync Online

How to install Lync Module

Before we would need to install Install .NET Framework 4.0 or later and Windows Management Framework 3.0

Download Source:

.NET Framework 4.0 or 4.5

Windows Management Framework 3.0

Once you have installed .Net Framework and Windows Management Framework 3.0, you can install Lync online powershell Module.

How to configure Powershell

Run Powershell as an administrator, and run the following command:

Set-ExecutionPolicy RemoteSigned

Configure WinRM

Open up a command prompt as an administrator, and then run the following commands

net start winrm

How to connect Lync online powershell

You can open the windows powershell , The way of connecting to Lync Online is similar to connecting to Exchange Online.

$cred = Get-Credential

Image

Image

Image

Image

$CSSession = New-CsOnlineSession -Credential $cred

Image

Import-PSSession $CSSession –AllowClobber

Image

Image

Test the lync online command.

Image

Image

Posted in Lync, Office 365 | Tagged , | Leave a comment

How to Remove First or Default Exchange 2010 Database

I explain the steps of how to delete the first database. Let us check what we need to do before dismounting and removing the first database.

First step is to move or remove following type of mailboxes from first database:

1) Any user mailbox
2) Any Archive mailbox
3) Discovery Search mailbox
4) Arbitration mailbox

If you forget to move or remove mailboxes you will get the below error:

The mailbox database “Default DB” cannot be deleted.

Note: I am using Default DB as DB name in this article for First Database. It could be different in your case.

Untitled

So let’s start moving all of the above mailbox types to another db.

1) Move User Mailboxes:
For these types of mailboxes we can use Exchange Management GUI Console or PS. I prefer EMC as it is easy to use. First login to your Exchange server, launch EMC. Browse to EMC>Recipient Configuration>Mailbox

Create a filter Database>Equal>DBName and Apply filter. This will show you all user mailboxes stored on your first database. Select all mailboxes, right click and click on New Local Move Request and move all mailboxes to another database by following the New Local Move Request wizard.

2) Move Discovery Search Mailbox:
Steps are same as above. It will be named like DiscoverySearchMailbox???

3) Move Archive Mailboxes:
In case you have created any Archive Mailbox on first database. Make sure to move them as well to another database. You can do this with user mailbox move step also.

4) Move Arbitration mailbox:
This one step, where I have seen maximum people struggle to complete and post question on EE site regularly. First these mailboxes are not visible using EMC and can be found using EMS or Exchange management Shell only.

Before, I explain you the steps. First understand these mailboxes are stored at Forest level. So make sure to run this command first.

Set-AdServerSettings -ViewEntireForest $True

Next run below command to view Arbitration mailbox stored on your first database.

Get-Mailbox -Arbitration -Database “Default DB”

Next run below command to move Arbitration mailboxes to another Database.

Get-mailbox –arbitration –database “default db” | new-MoveRequest –targetdatabase “Target DB”

To view the move status run below command

Get-MoveRequest -Sourcedatabase “Default DB”
Or
Get-MoveRequest -Targetdatabase “Target DB”
Or
Open EMC>Recipient Configuration>Move Request

Once all mailboxes are moved and move request shows as completed 100%, you can clearthe all move requests and then you can dismount/remove the database.

For dismounting and removing DB. Goto EMC>Organization Configuration>Mailbox>Database Management

Select the first database>Right Click Dismount then Right click again and Select Remove.

Finally, browse to db path in your machine and delete the edb and logs files.

Thanks to Amit

Aside | Posted on by | Tagged | Leave a comment

Exchange 2010 ROI (Return Of Investment) Tool

I just came across a handy tool to calculate Return Of Investment (ROI) on Exchange deployment. Tool is developed by U-B Tech and available at free of cost to use.

Use U-BTech’s Exchange 2010 ROI tool to compare the costs of implementing Exchange 2003, 2007 and 2010 and try different cost variations including storage costs, hardware costs, licensing costs and more by just providing basic inputs.

U-BTech’s Exchange 2010 ROI Tool

Here are screenshots:

ss

You will get nice calculated comparative report in html file.

ss1

You can even customized the licensing and hardware cost.

Untitled

Thanks to Mouzzam Hussain

Posted in Exchange 2003, Exchange 2007, Exchange 2010 | Tagged , , | Leave a comment

“Something went wrong”Internet Explorer when you access Office 365

Image

When we try to access a webpage by using Internet Explorer 8 on a Windows XP\7-based computer, you get the above error message:

To resolve this issue, follow these steps:

  1. In Internet Exporer 8, on the Tools menu, click Internet Options, and then click the Advanced tab.
  2. Under Settings, in the Security area, select the Enable native XMLHTTP support check box, and then click OK.
  3. Close all active instances of Internet Explorer, and then open Internet Explorer.
Posted in Exchange 2013, Office 365 | Tagged , | Leave a comment

High memory usage in the W3wp.exe process

You may experience high memory usage in the W3wp.exe process when you run an ASP.NET 2.0 Web-based application that receives many requests from mobile devices

Symptoms:

If we create an ASP.NET 2.0 web-based application. The web-based application receives many requests from mobile devices. After you run the application for some time, the memory consumption of the W3wp.exe process grows very large. Additionally, you experience “out of memory” errors on the web server.

Cause:

This issue occurs because the MobileCapabilities object does not expire from the cache as expected.

Resolution:

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=support

Posted in Exchange 2010, Exchange 2013 | Tagged , | 1 Comment

Relocate current witness server to another machine

Naturally one of those CAS/HT servers also happened to be the File Share Witness for my two-member DAG. Whoops!

Now Our DAG displays a warning when I check the health of it.Image

Fortunately we can resolve the problem by specifying a new FSW for the DAGm which I will demonstrate here

I’m going to use another member server within the site as my FSW, which allows me to demonstrate a related problem.

Set-DatabaseAvailabilityGroup dag-<DAG Name> -WitnessServer <Witness Server name> -WitnessDirectory C:\FSW

Please Note: If you are configuring to Non Exchange System, you should add the “Exchange Trusted Subsystem” security group

Posted in Exchange 2010, Exchange 2013 | Tagged , | Leave a comment