Sunday, June 29, 2008
Windows 2000 in VMWare Server 1.06
I rebuilt my machine with Windows 2000 and installed VMWare Server 1.06. After that, I would like to create a VM with Windows 2000 for browsing and software testing. After completing installation and reboot, bluescreen comes up with inaccessbile boot device error. I figure out I have setup the HDD with LSI controller. To fix the issue, go to lsilogic website and download the Windows 2000 driver for LSI 20320-R driver. Press F6 when booting from bootable CD / Windows 2000 bootdisk 1. Insert the driver FDD when you are asked. The same applies to XP and Windows 2003.
Saturday, June 21, 2008
Microsoft cluster with VMWare Server 1.06
Recently, I have changed job, and a lot of the works are related to Microsoft cluster. Setup is not difficult at all. The most important is to edit the vmx files (VM offline) for the two nodes. Add these lines
scsi1.sharedBus = virtual
disk.locking = "false"
diskLib.dataCacheMaxSize = “0”
On the second node, make sure you select using existing virtual disk and choose the right vmdk file (quorum disk created with node 1). Put the quorom disk on bus 1. If you put the quorum disk in other bus, change the scsi[x].sharedBus = virtual.
It makes our life a lot easy with testing and trying software in cluster environment.
scsi1.sharedBus = virtual
disk.locking = "false"
diskLib.dataCacheMaxSize = “0”
On the second node, make sure you select using existing virtual disk and choose the right vmdk file (quorum disk created with node 1). Put the quorom disk on bus 1. If you put the quorum disk in other bus, change the scsi[x].sharedBus = virtual.
It makes our life a lot easy with testing and trying software in cluster environment.
Sunday, May 18, 2008
How to test BES email
We have trouble running SP4 update for our BES server. It stuck at updating the mdss database which is useless to us. However, it requires you updating it. Eventually, I talk to Blackberry support. Uninstall and reinstall SP4 without mdss. Now, it works flawlessly. However, I am not a BES user. How can I test it? Send an email to a BES user with subject confirm and the < > around the subject . If it is sent to the user Blackberry, you will receive a reply with subject "Blackberry Delivery Confirmation". Then you can tell if the email is delivered to Blackberry.
Wednesday, April 2, 2008
MDSCS? MDSS?
Some of the users would like to access files from file server behind the firewall from Blackberry. We have BES running behind firewall. Of course, port 3101 is opened on the firewall.
We download the Mobile File Manager from www.rovemobile.com. As long as IPPP service book appears in your Blackberry, you should have access to your network. If MDSCS service installed correctly on your BES server, it should be pushed down to the blackberry.
MDSS is for software designed by your developers. So, don't get confused. Only MDS Connection service is required for this software, not MDSS - Apache Tomcat Service. You don't need MDSS unless you develope your own software for Blackberry running on BES.
Rovemobile had a few nice tools available. However, the transfer rate is still expensive.
We download the Mobile File Manager from www.rovemobile.com. As long as IPPP service book appears in your Blackberry, you should have access to your network. If MDSCS service installed correctly on your BES server, it should be pushed down to the blackberry.
MDSS is for software designed by your developers. So, don't get confused. Only MDS Connection service is required for this software, not MDSS - Apache Tomcat Service. You don't need MDSS unless you develope your own software for Blackberry running on BES.
Rovemobile had a few nice tools available. However, the transfer rate is still expensive.
Friday, March 21, 2008
Create VM in ESX 3.0
I have trouble deploying VM from from templates with customization option. I have talked to VM support, and they suggest to run all the updates first. However, it is not a consideration at this time because of the VLAN project. The workaround
1. First step is the same "Deploy VM from this template"
2. Complete all the necessary steps and choose "Do not Customize" for guest customization
3. Once VM created, start VM
4. Login to the Windows 2003 Server, download the sysprep tools "http://www.petri.co.il/download_windows_2003_sp1_sysprep.htm"
5. Unzip the sysprep tool. You will find several files including setupmgr (edit existing sysprep.inf such as computer name...to suit the settings of the VM). In case you have not created sysprep.inf, run setupmgr.
6. Copy the sysprep.inf and all the unzip files in the sysprep tool to the VM "C:\sysprep\"
7. Edit sysprep.inf. Make sure “ExtendOemPartition=1” (it will extend the partition to all the available space)
8. Then run sysprep.
9. Power down VM.
10. Now, modify the size of VM (sorry, you can only increase after version 3.0). Login to ESX server through console.
11. Run “vmkfstools –X 12G /vmfs/volumes/VMName/vmname.vmdk”
(In this case, the VM VMName will be extended to 12G. Now powerup the VM. You should see the size of C drive increasing to 12G. For existing VM, if you want to increase the size of C, do not use sysprep because this will re-generate the SIDs.)
1. First step is the same "Deploy VM from this template"
2. Complete all the necessary steps and choose "Do not Customize" for guest customization
3. Once VM created, start VM
4. Login to the Windows 2003 Server, download the sysprep tools "http://www.petri.co.il/download_windows_2003_sp1_sysprep.htm"
5. Unzip the sysprep tool. You will find several files including setupmgr (edit existing sysprep.inf such as computer name...to suit the settings of the VM). In case you have not created sysprep.inf, run setupmgr.
6. Copy the sysprep.inf and all the unzip files in the sysprep tool to the VM "C:\sysprep\"
7. Edit sysprep.inf. Make sure “ExtendOemPartition=1” (it will extend the partition to all the available space)
8. Then run sysprep.
9. Power down VM.
10. Now, modify the size of VM (sorry, you can only increase after version 3.0). Login to ESX server through console.
11. Run “vmkfstools –X 12G /vmfs/volumes/VMName/vmname.vmdk”
(In this case, the VM VMName will be extended to 12G. Now powerup the VM. You should see the size of C drive increasing to 12G. For existing VM, if you want to increase the size of C, do not use sysprep because this will re-generate the SIDs.)
Add domain user to local admin group through Group Policy
Using Security group
1. In Active Directory, created a Global Group with Security group type called LocalAdmin.
2. Included the users as members of the LocalAdmin.
3. Created a GPO.
4. Edited the GPO by clicking Computer Configuration -> Windows Settings -> Security Settings -> Restricted Groups. Add GroupName "Administrators".
5. Then Add domain admins and DOMAIN\LocalAdmin as member of this group
6. It will take some time for the group policy to take effect. One draw back of this method: If a Restricted Groups policy is defined and Group Policy is refreshed, any current member not on the Restricted Groups policy members list is removed. This can include default members, such as administrators. For example, if you had added DOMAIN\user1 to local admin in the past, DOMAIN\user1 will be removed from the local admin group of the machine.
If you do not prefer central management, then create a group policy. (from http://www.tutorials-win.com can't find the posting any more)
1. Create a startup script in the policy with this command. NET localgroup Administrators /add "Domain\Domain Group" (if you just want to add specific user, change "Domain\Domain Group" to Domain\user)
2. make sure the workstations placed in the correct OU
3. Domain Group has to be less than 30 chars. You cannot add more than one domain group to the same local group. This is a limitation.
1. In Active Directory, created a Global Group with Security group type called LocalAdmin.
2. Included the users as members of the LocalAdmin.
3. Created a GPO.
4. Edited the GPO by clicking Computer Configuration -> Windows Settings -> Security Settings -> Restricted Groups. Add GroupName "Administrators".
5. Then Add domain admins and DOMAIN\LocalAdmin as member of this group
6. It will take some time for the group policy to take effect. One draw back of this method: If a Restricted Groups policy is defined and Group Policy is refreshed, any current member not on the Restricted Groups policy members list is removed. This can include default members, such as administrators. For example, if you had added DOMAIN\user1 to local admin in the past, DOMAIN\user1 will be removed from the local admin group of the machine.
If you do not prefer central management, then create a group policy. (from http://www.tutorials-win.com can't find the posting any more)
1. Create a startup script in the policy with this command. NET localgroup Administrators /add "Domain\Domain Group" (if you just want to add specific user, change "Domain\Domain Group" to Domain\user)
2. make sure the workstations placed in the correct OU
3. Domain Group has to be less than 30 chars. You cannot add more than one domain group to the same local group. This is a limitation.
Sunday, January 27, 2008
HP C-Class Blades single point of failure
We powered down the SAN for maintenance about a week ago. Prior to that, we have to power down all the servers connected directly to the SAN first. We have a C-class blade enclosure with five servers currently. After the SAN upgrade was completed, we tried to power the enclosure back up. Guess what. The onboard administrator of enclosure failed to start up. We attempted to power up the server and it failed. We contacted HP support. The answer was a hardware failure. The part arrived at UPS store close to Pearson airport. We figured out we went to there to pick it up instead of waiting for them to deliver. Replace the onboard admin and all servers power up. Now, update with latest firmware and reload the config from backup. If you don't have config file backup, it won't take long to re-config it. So, make sure you save the config before power down the whole enclosure.
The HP support told me the servers would keep running if the onboard admin failed while the servers were powered on. However, if I powered down the servers, you could not power them back up until onboard admin was replaced. One thing forget to ask was "can I replace onboard admin while the servers are running".
The HP support told me the servers would keep running if the onboard admin failed while the servers were powered on. However, if I powered down the servers, you could not power them back up until onboard admin was replaced. One thing forget to ask was "can I replace onboard admin while the servers are running".
Saturday, January 5, 2008
Activesync Attempt with Exchange gives 0x80072EE2 error
This issue was resolved few months ago actually. What happens was one of the directors always had trouble sync with the Exchange Server. However, he didn't want to use Blackberry. He had 5 different WM phone at home. He tried all of them and still had the same issue. Everytime, he had to power cycle (turn off the phone and take the battery out) the phone, then it will sync again. After a while, it will not work again.
Eventually, we found out he plugged the phone to laptop to sync the notes through USB. Our internal Exchange Server ip is 10.x.x.x. The webmail address he used to sync wirelessly is a public address of course. Based on the research found in internet, it has to do with Windows Mobile DNS cache not being cleared properly when USB cable is unplugged. When plugged into the desktop to sync inside the office, it will use the internal address for Exchange server. After unplugged from USB, it will cause issue of course because the DNS will point to internal address of Exchange server instead of the webmail address. Workaround....powercycle after unplug from a machine in the internal network.
Eventually, we found out he plugged the phone to laptop to sync the notes through USB. Our internal Exchange Server ip is 10.x.x.x. The webmail address he used to sync wirelessly is a public address of course. Based on the research found in internet, it has to do with Windows Mobile DNS cache not being cleared properly when USB cable is unplugged. When plugged into the desktop to sync inside the office, it will use the internal address for Exchange server. After unplugged from USB, it will cause issue of course because the DNS will point to internal address of Exchange server instead of the webmail address. Workaround....powercycle after unplug from a machine in the internal network.
Persistent Binding with VMWare
Persistent Binding is highly recommended in SAN environment. However, this is not required for ESX Server 3. ESX Server 3 uses UUID's written to the LVM of the disk. For luns containing VMFS volumes and the ESX Server boot disks, persistent binding is no longer required.
You can check UUID in Linux with following command.
ls -l /dev/disk/by-uuid
You can check UUID in Linux with following command.
ls -l /dev/disk/by-uuid
Version of OS on Windows Mobile Phone
Have some time today to re-arrange all the notes and printout. One of them is about the version of Windows Mobile Phone on your pocket PC. I believe it is from Pocket PC Central.
Version Number and OS Version
3.0.9348 Pocket PC 2000
3.0.11171 Pocket PC 2002
4.20.xxxx Windows Mobile 2003
4.21.xxxx Windows Mobile 2003 SE
5.1.xxxx Windows Mobile 5
5.2.xxxx Windows Mobile 6
Version Number and OS Version
3.0.9348 Pocket PC 2000
3.0.11171 Pocket PC 2002
4.20.xxxx Windows Mobile 2003
4.21.xxxx Windows Mobile 2003 SE
5.1.xxxx Windows Mobile 5
5.2.xxxx Windows Mobile 6
Subscribe to:
Posts (Atom)