Thursday, July 08, 2010

Thursday, June 25, 2009

How To: Restore a removed Mailbox Database

After a Mailbox Database is deleted, the actual database file (.edb) is still there. To recreate the original database from this file, do the following:

  1. Create a new empty mailbox database, using the New-MailboxDatabase command
  2. Enable "Over-written by Restore", using Set-MailBoxDatabase
  3. Move the old database files to the same location as the new database
  4. Mount the database
  5. If restoring on a new exchange server, run Move-Mailbox - ConfigurationOnly

see http://technet.microsoft.com/en-us/library/aa998340.aspx

Wednesday, June 17, 2009

How To: send alert to distribution group in WSS 3.0

  1. Go to Exchange server
  2. Create a Distribution Group
  3. Set Delivery Restriction to no authentication
  4. Note the email address
  5. Go to People and Groups
  6. Add a domain group such as Domain Users
  7. Edit E-Mail field with noted email address
now add alerts with this email address.

Friday, March 13, 2009

What causes VDI client to prompt logon twice?

check for other remote desktop / access software installs such as citrix, novel neo clients...
How to recover mail store (database) from exchange crash:

background: in 2007, can't mount mail store after crash.
  1. reboot
  2. run ESEUTIL /mh (mailstorepath\mailstore.edb) on all mail stores to determine if any store is in "Dirty Shutdown" state
  3. run ESEUTIL /p (mailstorepath\mailstore.edb) on each "Dirty Shutdown" store
  4. mount mail stores, if successful, go to end
  5. if mount fails, move e00.chk, tmp.edb and catalogdata-xxx folders to other location
  6. retry mount
How to set up load balancing for Virtual Machines:

1) make sure the servers to be load balanced are on the same vSwitch
2) install and configure Microsoft NLB (see related articles)

Tuesday, February 24, 2009

How to change Exchange Proxy settings:

use Exchange Management Shell (PowerShell) command, Get-OutlookProvider and Set-OutlookProvider to set it:

  • [PS] C:\>Set-OutlookProvider EXPR -CertPrincipalName "msstd:*.abcdef.com"

Friday, December 19, 2008

How to configure ESX 3.5 (3.x) Service Console networking:

1) This command "esxcfg-vswif -i <10.10.10.1> -n <255.255.255.0> vswif0" modifies the network configuration file /etc/sysconfig/network-scripts/ifcfg-vswif0

# Broadcom CorporationNetXtreme BCM5754 Gigabit Ethernet
DEVICE=vswif0
BOOTPROTO=static
ONBOOT=yes
PORTGROUP="Service Console"
MACADDR=00:50:56:4f:12:ae
BROADCAST=172.17.10.255
IPADDR=172.17.10.201
NETMASK=255.255.255.0

2) Edit the route file /etc/sysconfig/network

NETWORKING=yes
GATEWAYDEV=vswif0
GATEWAY=172.17.10.1
HOSTNAME=vinycesxtest.valiantinsurance.com

3) Edit the DNS resolver file /etc/resolv.conf

nameserver 172.16.2.4
nameserver 172.16.2.5
search valiantinsurance.com