Novell Cool Solutions

Consultants Corner: Quick Tip: Tuning Tips for SLES11 on VMWare running GroupWise

Gregg Hinchman

By:

June 17, 2014 5:01 pm

Reads:3,063

Comments:4

Score:4.33

Print/PDF

Many times I am asked for tuning tips/tricks for running GroupWise on SLES11 in a VMWare environment. But as I think about the wording, really there is little tuning I do for GroupWise on any Operating System. More likely, I will tune the operating system for VMWare. Mind you it seems every linux jock has got their own tips/tricks so while I am presenting some I have found to work well with no hit to GroupWise performance, its by no means the end all for SLES. Ok let’s get to it.

First up installation of SLES11. Because I am installing SLES11 in a VMWare VM, I do it only one time. Then I make that tuned/updated SLES11 VM a VMWare Template. Once its a template, I can deploy from template as many SLES11 boxes as I need. This technically cannot be done for OES11 because of the eDirectory tie in. I say technically because OES11 has new feature set that allows for a similar option and SLES11 is the base for OES11. For OES11, what I do is install the SLES11 in a VM template, deploy from template, then install OES11 as needed.

Personal Note: While I know OES11 has many options, that can make administering GroupWise easier such as NSS, NCP and LDAP, I am of the camp that prefers to skip the overhead of OES11 for a GroupWise operating system. I prefer, recommend actually, SLES11. Windows, well it has overhead as well plus I am not sold on NTFS as the best file system for GroupWise. And if you are linux shy, no need to be. After a couple hours of training, and a small list of commands, you can manage Linux for GroupWise for 95% of your needs.

SLES11 Installation in VMWare VM:

  1. 2 CPUs
    1. Why 2? I want to lay down the multi-proc code should there be a future need. Once the VM is built, you can back down the cpu to 1.
  2. 4GB of RAM
    1. Often this is overkill as well. But its a good starting point. Monitor the individual VM’s for usage.
  3. 25GB Disk
    1. This is for the Operating System only. Not for GroupWise data. And not for logs. Some customers have desired more here, up to 40GB. Again, 25GB seems about right.
    2. Paravirtualized SCSI Controller
      1. Many pass this by. Its support for SLES11. It provides optimal performance as well as VMWare control.
  4. GroupWise Disk
    1. GroupWise Data Disk is always a 2nd disk in a VM, unless its a test system. I want GroupWise Post Offices to be distributed onto separate VMDK’s, that are on their own VMWare Datastore (NOT shared with anything else), on its own LUN.
    2. Why? Best Performance. The more you place on a LUN, in general, the lower the performance potential. GroupWise Post Offices are heave disk I/O. And no there is no IOPS recommendation out there for GroupWise. Just make sure this data disk can provide 1000MB per second or faster. Using hdparm or TSATEST will give you that disk IO numbers.
    3. Raw: Often I have heard of people wanting to use Raw disk for GroupWise rather than a VMDK on a Datastore. I say, NO! If you do that, you lose some of the benefits of VMWare. Storage vMotion is limited.
    4. VMFS: The other rumor I have heard is VMFS does not perform well for GroupWise. To this I say: Bull! I have been doing GroupWise running on VMWare for several years. I have never seen a performance problem with VMFS.
  5. 1GB NIC
    1. VMXNET3
      1. You want this option for optimal speed for the VM. And for VMWare control of the VM.
    2. Of course, unless you can get faster.

Partitions for the SLES11 Operating System

  1. Create new SWAP at approximately 2GB in size.
  2. Create new /boot, EXT2 file system, 1GB in size.
    1. Why? No need for journaling on /boot and 1GB while big, is enough to not worry about future updates.
  3. Create new / , EXT3 file system, use the remaining space.
    1. Optional: FSTAB NOATIME select
  4. Optional: /VAR, EXT3 file system, 200+ GB in size
    1. This does not usually apply to GroupWise, but does for GroupWise Mobility. So I added it here.

A Base set of Software for SLES should be installed, this includes:

  1. Server Base Systematic
  2. 32-Bit Runtime Environment (assumes 64Bit SLES 11 installation)
  3. Help and Support Documentation
  4. Minimal System (Appliances)
  5. GNOME Desktop Environment
  6. X Window Systematic
  7. De-Select Print Server
    1. De-Select cups and Samba under the Details
  8. C/C++ Complier Tools
    1. Check the entire box, you could do less like just Kernal Source and GCC only.
  9. Optional: RDP
    1. Search for the “RDP” packages to install. This allows you to use an RDP client to remote to the server.
  10. Optional: SAMBA which is Open Source.
    1. This would be used to manage GroupWise via ConsoleOne from a Windows workstation to the Linux EXT3 ‘volume’ where a GroupWise domain exists. But for GroupWise 2014 not needed.
  11. Optional: Java, Apache2 and Tomcat6
    1. If this will be a GroupWise Webserver for WebAccess
  12. Ipv6 Off
  13. Firewall Off
    1. I do not set firewalls on my GroupWise servers, at least on the start. You can come back latter and set the firewall and open ports as needed. No need to do it on the initial install.

The rest of the installation involves your organization custom settings. IP Address, DNS servers, etc. I can tell you not doing DHCP is recommended. The rest depends. Here are some other tuning items for after the installation.

Tuning SLES11 Server:

  1. Set Boot Loader
    1. elevator=noop
      1. Verify the scheduler:
      2. cat /sys/block/sda/queue/scheduler
      3. If [cfq] -then no noop
      4. If not NOOP, then:
    2. YaST, System, Boot Loader,
      1. In Section Management, Select Edit (on SUSE Linux Enterprise Server ) the default option, and on the Optional Kernel Command Line Parameter line
      2. Enter 1 space then add:
      3. elevator=noop
      4. and then reboot server
    3. **You do not need to repeat this for other disks on the server.
    4. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2011861
    5. http://www.gnutoolbox.com/linux-io-elevator/
    6. http://www.zdnet.com/blog/perlow/geek-sheet-a-tweakers-guide-to-solid-state-drives-ssds-and-linux/9190
    7. https://www.novell.com/connectionmagazine/2010/12/two_paths_to_server_performance_one.html
    8. https://www.suse.com/documentation/slerte_11/pdfdoc/slerte_quickstart/slerte_quickstart.pdf
  2. MAIN.CF
    1. /etc/postfix/main.cf
    2. inet_interfaces=127.0.0.1
    3. We do not want postfix using production IP addresses
  3. Configure NTP
    1. If you have internal NTP great. Otherwise the GroupWise VM’s will have to access external NTP servers
  4. Edit HOSTS
    1. Even though I said NO to IPv6, I like to remark out IPv6 lines in the HOST file.
  5. Tune GroupWise Disk
    1. Edit FSTAB
      1. Add: noatime
      2. Add: nodiratime
      3. To the GroupWise disk, after the existing options for each partition.
  6. Optional: Installing Apache2, Tomcat6 and Java
    1. On the SLES 11 box, Select Computer, YaST.
    2. Then Select Software, Software Management
    3. Select the Search tab, enter JAVA and Select Search button
    4. Then Select “java-1_6_0-ibm”
    5. Then in Search tab, enter Apache2, and Select Search button
    6. Then Select “apache2″
    7. Then in Search tab, enter Tomcat, and Select Search button
    8. Then Select “tomcat6″
    9. Next Select Accept
    10. Close out of YaST
  7. Optional: Configuring for GWHA
    1. In terminal, run ‘useradd gwha’ to create a local user for GWHA to run as
    2. In terminal, run ‘passwd gwha’ to set the user’s password to the one used above.
    3. This adds the GWHA user to any GroupWise system deployed from this VM/Template.

That is my quick tip on SLES11 tuning for a VMWare environment. As you will note, I did not install a lot of extra ‘stuff’ and I tried to keep it tight. Is there more I could have done, yes likely some of you will have tips as well. What I can tell you is I have used this same set of information for nearly 4 years of SLES in VMWare for GroupWise. Stability and performance have been exceptional.

Marketing Moment: If you are new to Linux and need to move from NetWare, please drop me a line, I can make it painless and you will get the training you need to be successful.

Got comments or article ideas? Need GroupWise help? Drop me a line at: Gregg@HinchmanConsulting.com. “The Force is strong in this one.”

3 votes, average: 4.33 out of 53 votes, average: 4.33 out of 53 votes, average: 4.33 out of 53 votes, average: 4.33 out of 53 votes, average: 4.33 out of 5 (3 votes, average: 4.33 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags: , , , , ,
Categories: GroupWise, Open Enterprise Server, Technical

4

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

4 Comments

  1. By:pdeneu

    Hey Gregg,

    nice article. Please add to deselect appamor during software selection, this is always what i do. And, why not using lvm for partitioning the system disks? I prefer always to add a separate /var Partition. In all our sles setups most time we use the following setup:
    20 GB vmdk
    /boot 0.2G ext3 (or ext3, not realy infact because 0.2G and no changes during system runtime)
    volume group system with rest (19.8G)
    lv root 10G /ext3
    lv swap 2G Swap
    lv var 7,8G /ext3
    optional we extend the vmdk to 22G and add a seperate volume vor /tmp
    lv tmp 2G tmpfs

    Regards,
    Philipp

    • By:chrisgibsonit

      Good call on AppArmor, it’s part of my standard “removals” as well.

      As for the LVM, I can’t speak for Gregg but I’ve never had good luck with LVM on any system be it a VM of physical server. It generally tends to add an un-necesarry layer of complexity. In a VM the hardware is presented directly which makes them very easy to set up as individual drives, and in a physical host it’s really not that different. I’ve always found that when you use LVM you end up having to do a significant amount of work when something goes wrong (IE-drive death or adding additional space).

  2. The SLES 11 documentation says …

    WARNING:Using LVM might be associated with increased risk, such as data loss. Risks also include application crashes, power failures, and faulty commands. Save your data before implementing LVM or reconfiguring volumes. Never work without a backup.

    I also concur it adds a level of complexity. I avoid using LVM.

  3. By:sylvala

    Thank for the article. If I already install SLES 10.4 in just one vCPU. How could I upgrade to 2 vCPU ? I try but sles never see the second vCPU.

Comment

RSS