Delete disconnected mailbox in Exchange 2007

Posted by admin on March 24, 2010 under Tutorials | Be the First to Comment

Delete disconnected mailbox in Exchange 2007

When you have deleted an mail-enabled Active Directory account, the mailbox will be moved to Disconnected Mailbox in your Exchange Management Console.
To delete (purge) the disconnect mailboxes from a database, you run the following command from your Exchange Management Shell:

Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null} | foreach {Remove-mailbox -database $_.database -storemailboxidentity $_.mailboxguid}

This command first retrieves all disconnected mailboxes from your server\database, and then runs the Remove-mailbox command for every mailbox. To verify that only the disconnected mailboxes will be removed, you run the following command first:

Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null}

This will list all current disconnected mailboxes.

Definition for: Xen

Posted by admin on March 11, 2010 under Tutorials | Be the First to Comment

Open source virtualization software that is used to partition workstations and servers into separate virtual machines, each containing its own copy of an OS. Pronounced “zen,” and developed at the University of Cambridge in the U.K., Xen is noted for its fast response and low overhead. Xen is a small, low-level “hypervisor,” which is the first control software loaded when the computer starts up. Read more of this article »

Design Considerations for VM Security

Posted by admin on March 8, 2010 under Help, Tutorials | Be the First to Comment

Port-Profile capability in Nexus 1000V is the primary mechanism by which network policy is defined and applied to virtual machines. A port-profile can be used to define configuration options as well as security and service level characteristics. Virtual-Service-Domain (VSD), on the other hand, is a feature within the Nexus 1000V that allows for grouping of one or more port-profiles into one logical domain. The VSD capability allows for services that work in conjunction with Nexus 1000V, such as a virtual firewall entity like vShield, to be integrated into the virtual environment and accessed by the individual domains. This seamless service integration in conjunction with the Nexus 1000V can be used to provide more granular security policies within a virtual environment. Read more of this article »

Enterprise applications Toolkit

Posted by admin on March 6, 2010 under Help, Tutorials | Be the First to Comment

Multi-tenant is not virtualisation

I would take issue with the suggestion that multi-tenant applications means “multiple instances of the same package that can be executed on the same machine”; that’s virtualisation, and doesn’t require any particular magic at all. However it is grossly inefficient from an operational viewpoint – it means if I have 1000 customers for my cloud-based Exchange service (e.g.) I have to separately manage 1000 instances of Exchange. Read more of this article »

Cloud-hosted collaboration Multi-Tenant or Dedicated?

Posted by admin on under Help, News, Tutorials | Be the First to Comment

We just had another of our regular cloud research meetings at Forrester. In these meetings, we cut across our research organization to examine cloud computing from every angle.
Compared with even just a year ago, it’s amazing how important and pervasive cloud computing analysis (as opposed to cloud computing guesswork) has become in our research calendar.
You can see the existing cloud/SaaS research here and our planned research here. As the meeting host, I mostly listen, probe, and take notes, but ocassionally I get to jump in with a thought. Read more of this article »

Terminal Server & XenApp Tuning Tips

Posted by admin on March 4, 2010 under Tutorials | Be the First to Comment

All credits go to Pierre Marmignon for his excellent post this weekend listing up all the Terminal Server & XenApp Tuning Tips. I have created a Group Policy based on these tips with OS W2K3/W2K8 and XenApp 4.x/5.x. The following is included in the policy :

  • Operations System Tuning & XenApp / Terminal Services
  • Additional Windows Explorer Tuning
  • XenApp Tuning

I am using the GPMC for Windows 2008 so you will need to download Group Policy Preference Client Side Extensions for W2K3 and you install it with this command : start /wait Windows-en-US-KB943729.exe /quiet /norestart

Follow the picture guide for instructions on how to import these settings.

Virtualization an umbrella term

Posted by admin on March 3, 2010 under Tutorials | Be the First to Comment

An umbrella term for enhancing a computer’s ability to do work. Following are the ways virtualization is used.

Hardware Virtualization
Partitioning the computer’s memory into separate and isolated “virtual machines” simulates multiple machines within one physical computer. It enables multiple copies of the same or different operating systems to run in the computer and also prevents applications from interfering with each other. Read more of this article »

Install Trixbox CE on XenServer

Posted by admin on December 13, 2009 under Tutorials | Be the First to Comment

First, make sure you have the trixbox-2.8.0.1.iso available in an ISO SR.

From XenCenter, create a VM using the “Other install media” template, put the trixbox ISO in, give it a 5GB HDD, name it trixbox-2.8.0.1 and give it appropriate interfaces
Boot and run through the normal trixbox install process
While the install is progressing, modify the boot order in the VM properties so the HDD is above DVD

Modify /boot/grub/menu.lst, make the xen kernel the default
Change the line:
default=1
to:
default=0

Modify the first stanza from:
title trixbox (2.6.18-128.1.10.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-128.1.10.el5
module /vmlinuz-2.6.18-128.1.10.el5xen ro root=LABEL=/
module /initrd-2.6.18-128.1.10.el5xen.img
to:
title trixbox (2.6.18-128.1.10.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.10.el5xen ro root=LABEL=/ console=xvc0
initrd /initrd-2.6.18-128.1.10.el5xen.img

Rebuild the initrd for the xen kernel (the automatically generated one is missing some xen modules):
rm -f /boot/initrd-2.6.18-128.1.10.el5xen.img
mkinitrd –with=xenblk –with=xennet /boot/initrd-2.6.18-128.1.10.el5xen.img 2.6.18-128.1.10.el5xen

Disable kudzu (otherwise the network interface will go wrong later):
chkconfig –del kudzu

Install the xen version of dahdi:
yum install -y kmod-dahdi-linux-xen

Modify /etc/inittab so you get a local console. Change this section:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
to:
# Run gettys in standard runlevels
co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
#1:2345:respawn:/sbin/mingetty tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#4:2345:respawn:/sbin/mingetty tty4
#5:2345:respawn:/sbin/mingetty tty5
#6:2345:respawn:/sbin/mingetty tty6

Allow root logins at xvc0:
echo xvc0 >> /etc/securetty

Shutdown the VM:
poweroff

Make the VM paravirtualized – at the host console run:
vm=$(xe vm-list name-label=trixbox-2.8.0.1 –minimal)
xe vm-param-set uuid=$vm PV-bootloader=pygrub HVM-boot-policy=
xe vm-param-set uuid=$vm PV-args=utf8
Make the hard disk PV bootable:
vbd=$(xe vm-disk-list uuid=$vm vdi-params=none –minimal)
xe vbd-param-set uuid=$vbd bootable=true

Close and reopen xencenter (this is needed for the KB/mouse to work properly)

Start the VM

Once booted, put the xs-tools.iso in the drive in order to install the Xen Tools (note we don’t install the XenServer provided kernel, as this will break the dahdi modules).
mount /dev/xvdd /mnt
/mnt/Linux/install.sh -k

Reboot, and you should now have a fully working Trixbox 2.8.0.1!

Taken from: http://www.trixbox.org/forums/trixbox-forums/open-discussion/trixbox-xen-guide

Setup SSL for ISPCP on Debian

Posted by admin on October 7, 2009 under Help, Tutorials | Be the First to Comment

I followed the tutorial on the ispCP site but it didn’t get me going, so in researching it myself I came up with an easier set of instructions using info from a few articles listed at the end of this article. This works for Debian Etch with ispCP Omega so most of the prerequisites referred to in the articles are already installed.

Install OpenSSL and make self-signed certificate:

apt-get install openssl ssl-cert
make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/certs/apache.pem
chmod 600 /etc/ssl/certs/apache.pem

Create new SSL ispCP admin site by copying existing one:

cp /etc/apache2/sites-available/00_master.conf /etc/apache2/sites-available/00_master_ssl.conf

Edit new configuration file to use port 443:

vi /etc/apache2/sites-available/00_master_ssl.conf
Change this line:
VirtualHost 38.110.198.150:80
To this:
VirtualHost 38.110.198.150:443

Add following lines to enable SSL for new admin site:

SSLEngine On
SSLCertificateFile /etc/ssl/certs/apache.pem

Enable new site in apache:

a2ensite 00_master_ssl.conf

Enable SSL and make apache listen on port 443:

vi /etc/apache2/ports.conf

Add this line:

Listen 443

Enable apache SSL module:

a2enmod ssl

Update the apache default site template:

vi /etc/apache2/sites-available/default
Change this line:
NameVirtualHost *
To this:
NameVirtualHost *:80
NameVirtualHost *:443

Reload apache:

/etc/init.d/apache2 reload

Taken from:
http://www.isp-control.net/documentation/doku.php?id=howto:security:ssl_made_easy
http://www.debianadmin.com/install-and-configure-apache2-with-php5-and-ssl-support-in-debian-etch.html
http://yekmer.blogspot.com/2008/07/how-to-install-ssl-support-to-apache.html

VHCS Install on Debian 4

Posted by admin on October 1, 2009 under Help, Tutorials | Be the First to Comment

VHCS is one of the nicest free web hosting control panels for Linux that I have come across. The UI is clean and intuitive and is superior to many of the commercial hosting control panels. With the script below VHCS is very easy to install, even with little Linux experience. The script is quite comprehensive, it installs all prerequisite dependencies and removes all unneeded packages.

Installation (root access required):

wget http://mirrors.penguinfriends.org/VHCS2/vhcs.sh
chmod 755 vhcs.sh
./vhcs.sh

More info about this script can me found here: http://mirrors.penguinfriends.org/VHCS2/
More info about VHCS can be found here: http://www.vhcs.net/vhcs/en/about/index.php

Pages: 1 2 Next