Wednesday, March 7, 2012

XenServer upgrade via NFS/HTTP/FTP

I couldn't get this to work with NFS, so I tried ftp.

I did get it to work, but only by using this format:

user@/Xen

and leaving the user and pass fields blank.  If I entered the username on the dedicated line, it did not work.

Referenced this post:

http://forums.citrix.com/thread.jspa?threadID=290031

Monday, March 5, 2012

How to get account creation date/time in AD

in Server 2003 you can install ACCTINFO.dll

In server 2008 and later, there is a built in way:

http://blogs.technet.com/b/askds/archive/2011/04/12/you-probably-don-t-need-acctinfo2-dll.aspx

XenServer 6.x removes auto-start vm option!?

Yes, they removed this feature.  So basically, if you physical machine reboots, none of the VMs will come up.  Anyway, there are various solutions, but the simplest one is to add to the bottom of


/etc/rc.d/rc.local

the following 2 lines:


sleep 30
xe vm-start tags=autostart --multiple

Then, add a tag to each VM, autostart.
This info comes from the post here:


Thursday, October 6, 2011

New BES user can receive, but not send email

Had a user that had this problem.

First I did this:


How to set the Send As permission:

1) Launch ADUC. (Start > Administrative Tools > Active Directory Users and Computers)

2) Enable the advanced features view so that you will be able to see the security tab. (Select menu - View > Advanced Features)

3) Highlight your domain, right click on it and click on "properties".

4) Click the "Security" tab and then click "Add".

5) Enter the name of your BES Admin Service Account and click OK.

6) Now highlight your BES Admin Service Account and press the "Advanced" button.

7) In the Advanced Security Settings window click "Add"

8) Enter the name of your BES Admin Service Account and click OK.

9) Now a new "permissions entry" window will pop up. You need to select "User Objects" in the "Apply onto" drop down box. (It’s down toward the bottom of the list).

10) Click the allow check box for the "Send As" right and select OK. Note: make sure that deny is not checked for this right.

11) Click OK to close the Advanced Security Settings window. The new entry for the BES Admin Service Account will show up in the permission entry list.

12) Click OK to close the properties window. The BES Admin Service Account should show Special Permissions set to allow.

The "Send As" permission has now been set. Please note that it may take up to 90 minutes for the Exchange Information Store to update its permissions cache

Then I Read this:

Stopping the BES Router
Removing the Send As permission from the Information Store and the affected Users account 
Reapplied the Send As
Stopped and restarted the Exchange Services. (Instead of waiting 120 min)  This did take quite some minutes though, so be patient...
Started the BES Router

So, since I had just reapplied the Send As, I just stopped the BES Router, restarted the exchange services, BES Router, etc, and it worked.

  • To start Microsoft Exchange services, at the command prompt, type net start registry name. For example:
    net start MSExchangeIS
  • To stop Microsoft Exchange services, at the command prompt, type net stop registry name. For example:
    net stop MSExchangeIS

Wednesday, August 31, 2011

Optimizing XenServers and Hosts

I found this useful post about doing some optimizations for your Xen hosts and guests:

Link

Unfortunately, I had some trouble finding where to make the mods on the host.  The location you will need is /boot/extlinux.conf.  I think this may be the RedHat location...

Also, these lines are very long, and if you edit them with nano, for instance, you may screw up the file.  I did this once, and the machine would no longer boot.  You have been warned.  So use vi.  (Weren't you always looking for a good excuse to learn vi?)

I just added the kernel param to the 'xe' section.

Can't update XenServer

I tried using a DVD to upgrade some of my XenServers from 5.6 to 5.6SP2.  I got an error that there were no installations found that could be upgraded.  The solution to this was to apply the update from XenCenter.  It appears some updates have to be applied from XenCenter; some updates have to be applied from an DVD or ISO.  If one doesn't work, then try the other.

Wednesday, August 17, 2011

XenCenter blank concole screens, and stats not updating

For me this problem was related to some cache files.

I just saw the suggestion in this thread about clearing the cache....and it worked!

http://forums.citrix.com/thread.jspa?threadID=154046&tstart=0


in short:

Stop XenCenter

run %AppData%\Citrix

delete everything there.

Start XenCenter
---

I also couldn't install updates until I cleared the cache...