Starting tomcat as a resource of Red Hat Cluster Suite you get
==> /var/log/tomcat5/catalina.out <==
sudo: sorry, you must have a tty to run sudo
Starting tomcat as a resource of Red Hat Cluster Suite you get
==> /var/log/tomcat5/catalina.out <==
sudo: sorry, you must have a tty to run sudo
→ Leave a CommentCategories: linux
Requirements for upgrading Exchange 2010 Beta to RC1 on Windows Server 2008:
Software pre-req.:
Configuration:
sc config NetTcpPortSharing start= auto
Upgrade Order:
1. Mailbox servers
2. CAS & Hub Servers
If you get this error opening Exchange Management Console: ”Initialization Failed – The following error occured when getting role assignment information for <domain>\administrator: The role assignment method, User, isn’t recognized. It was running the command…” , then try removing Administrator account from Exchange Organiztion Administrators Group. Ref.: http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/375cf88d-4879-4dc9-a522-bcbf6bedc1b0
→ Leave a CommentCategories: Uncategorized
Follow these instructions to fix vSphere client on Windows 7: http://communities.vmware.com/thread/211440
xcopy “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe.config” ”C:\Program Files (x86)\VMware\Infrastructure\VIUpdate 4.0\VIUApp.exe.config”
Create bat file for VIUApp.exe:
SET DEVPATH=c:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
“c:\Program Files (x86)\VMware\Infrastructure\VIUpdate 4.0\VIUApp.exe”
Without these changes, VIUApp.exe fails adding hosts with error “The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”
→ 7 CommentsCategories: VMWare · vSphere
Tagged: Update Utility, vSphere
When running Move-Mailbox in a cross-org scenario you get ”Failed to set basic mailbox information, will retry in 60 seconds”
The cause seems to be that the Mailbox Server and Move-Mailbox cmdlets are using different DCs. So making sure that both use the same DC will fix this error
Using a specific DC (on destination forest), with -DomainConrtoller & -GlobalCatalog switches
get-mailbox -DomainController ‘dcA.src.local’ -Credential $s -database ‘Server1\DatabaseA’ | move-mailbox -TargetDatabase ‘Server2\Database1′ -Identity ‘testMailbox1′ -SourceForestGlobalCatalog ‘dcA.src.local’ -GlobalCatalog ‘dc1.dest.local’ -DomainController ‘dc1.dest.local’ -NTAccountOU ‘OU=UsersOU, DC=dest, DC=local’ -MaxThreads 8 -SourceMailboxCleanupOptions DeleteSourceNTAccount -SourceForestCredential $s -TargetForestCredential $t -ReportFile “C:\Logs\migrationReport.xml”
Excluding specific DCs for Mailbox server role to use with -StaticExcludedDomainController
Set-ExchangeServer -identity Server2.dest.local -StaticExcludedDomainControllers:dc2.dest.local,dc3.dest.local.
Assuming that on destination forest exist 3 dcs: dc1, dc2, and dc3.
Another workarround is leave only one DC up and running, so replication will not be involved.
References:
→ 1 CommentCategories: Exchange 2007
Tagged: move-mailbox
One of the most important features in an Exchange cross-org miration is to preserve OST files. That is done by using “clone mode” on Exchange Migration Wizard (mailmig.exe /m).
On Exchange 2007, move-mailbox is the tool used to do Cross-org mgrations. Using -NTAccountOU parameter the “clone” operation is implicit. The -NTAccountOU option is mutually excusive with -AllowMerge option.
More info at:
http://msexchangeteam.com/archive/2006/11/02/430289.aspx
→ 2 CommentsCategories: Exchange 2007
Tagged: cross-forest, cross-org, move-mailbox
This is my recipe for an inexpensive lab with VMWare ESXi:
Enbale SSH access: use this procedure http://www.vm-help.com/esx/esx3i/ESXi_enable_SSH.php . Remember it’s not supported by VMWare, but who cares!
Install all your “base” VMs. Also known as templates
Clone VMs by copying vmdk files and using thin disk to preserve space; use this link http://www.virtually-challenged.com/?p=46
Extend your storage with openfiler. http://www.openfiler.com
→ Leave a CommentCategories: VMWare
Tagged: ESXi, openfiler, ssh, thin disk, VMWare
zypper in gcc gcc-c++ make kernel-source
From the VI Client, opent the console VM, go to VM menu -> Install/Upgrade VMWare Tools
mount /dev/cdrom /media
rpm -Uvh /media/*.rpm
config-vmware-tools.pl
→ Leave a CommentCategories: OpenSUSE · VMWare · linux
Tagged: "VMWare Tools"
ADMT doesn’t support migration of contacts, so an alternative is to use ldifde to export and import contacts.
These are the main attributes needed to make the imported contact a mail-enabled one (At least for Exchange 2003)
cn,objectclass,samAccountName,legacyExchangeDN,
mail,mailNickname,proxyAddresses,displayName,targetAddress
And these are some general atributes that you may need to copy:
givenName,sn,name,physicalDeliveryOfficeName,description
Command line to export contacts:
ldifde -f file.ldf -s dc01 -d "ou=Contacts,dc=example,dc=com"
-p subtree -r "(&(objectCategory=person)(objectClass=Contact)(givenname=*))"
-l "cn,givenName,objectclass,samAccountName,mail,legacyExchangeDN,mailNickname,proxyAddresses,
physicalDeliveryOfficeName,displayName,name,description,sn,targetAddress"
Probably you are importing those contacts to a different domain/forest, so you need to replace the domain name (“dc=example,dc=com”) with the new one on the ldf file.
Command line to import contacts:
ldifde -i -f file.ldf
→ Leave a CommentCategories: Exchange 2003 · Microsoft
Tagged: ldifde, mail-enabled contacts
For some reason every time I try to download iso of openSuSE I get the wrong file size (363431936 bytes). The solution is to add –ignore-length
wget -c http://download.opensuse.org/distribution/11.1/iso/openSUSE-11.1-DVD-x86_64.iso –ignore-length
→ Leave a CommentCategories: OpenSUSE · linux
Tagged: wget
First time you implement Hyper-V a question pop-ups, what are the hotfixes needed for Hyper-V? Besides KB950050 that is required to bring your Hyper-V to the RTM version, there are serveral updates that might apply to your environment. This url has the “live” list of updates:
→ Leave a CommentCategories: Hyper-V · Microsoft
Tagged: Hyper-V