Sunday, September 14, 2014

RootZones : Step By Step Guide to Configure VMware vCenter 5.5...

RootZones : Step By Step Guide to Configure VMware vCenter 5.5...: VMware vCenter is the  core management platform, and its common for other technologies both from VMware and third-parties to use it...

VMware vCenter is the  core management platform, and its common for other technologies both from VMware and third-parties to use it as the central point for accessing ESX hosts and clusters, as well accessing VMs and other components upon which they can add value or further orchestration. At the time of writing VMware support two version of vCenter – an installable version which runs on the Microsoft Windows platform and virtual appliance edition which runs on the SUSE Linux platform. In terms of their core APIs, the two editions are functionally the same. However, there are some features that are for the moment only available on the Windows editions. Historically, third-party add-ons have run as Windows plug-ins. Finally, whilst the scale of vCenter Server Appliance (VCSA) has increased in recent releases, it has lower configurable maximums. In production environments it is the Windows edition that predominates – and this is combination of history (the first version of vCenter was Windows only) and compatibility. With this said, the VCSA is considerably easier to deploy and update/upgrade than the Windows edition – and for this reason it might be more suitable for a small-medium sized deployment where ‘core” virtualization is all that is required. Currently, the features that are only supported by the Windows edition or require a Windows instance to function include:
Linked Mode
Linked mode allows for multiple vCenter instances to be chained together. This might be required if different vCenters are needed for different regions (a combination of network bandwidth limitations or legal requirements perhaps) are deployed, and yet the administration team want to make lift easy by opening one UI to manage these multiple instances. Linked Mode requires the Microsoft ADAM technology to distribute other management data held within the vCenter Database. It’s for this reason you do not see “linked mode” with the VCSA.
Role Sharing
This feature is subset of “linked mode”, and it enables the creation of role for administration delegation to be replicated to other vCenter instances.
License Sharing
Perhaps the most valuable aspect of “linked mode” is the replication of license data from one vCenter instances to another. It means the organizations license entitlements are available across vCenter instances, and are not “orphan” in the case of stand-alone vCenter instances.
Additionally, there are some features and functions that VCSA is either not compatible with or not directly compatible with. For instance the VCSA does not yet support IPv6 or the vCenter Heartbeat Service. The vCSA doesn’t include an “Update Manager” (VUM) component, although it is possible to run on a Windows instance, and register it with the VCSA.
The Windows version of vCenter has a number of sub-services and components, these are explained below:
Single Sign-On
Is service design to easy the logon process for administrators of VMware solutions. This is not aimed at ordinary end-users, and at the time of writing has not associated with single sign-on or pass-through authentication for end-user computing. The idea is the administrator logs in once to the “web-client”, and a token is generate which can be used to pass on that authentication to other technologies such as vCloud Director. It should if implemented well, mean the administrator has to log on once, to then gain access to all other VMware technologies they manage.
Web-Client
This is the core interface of managing VMware ESX hosts and clusters, Virtual Machines and templates – as well as configuring storage and networking. It’s a replacement for the older legacy “C#” vSphere Client. At the moment the older C# vSphere Client is still supported for direct management of a VMware ESX host.
Inventory Service
The Inventory Service enumerates vCenter objects such as VMs, Templates, Hosts and Clusters. The intention of the Inventory Service is remove the workload on the core vCenter service, and improve the process of searching and browsing the vCenter environment.
Update Manager
VMware patch management solutions updates both ESX hosts, virtual appliances – and be also used to upgrade the “VMware Tools” software. This is small package which is installed the guest operating system and adds improved drivers, heartbeat services and an API model that allows for communication from the vCenter management layer into the guest operating system.
Dump Collector
By default if the VMware ESX host encounters a critical error that causes a kernel panic (commonly referred to as a Purple Screen of Death – PSOD), the system will dump system data (not memory contents) that can assist in diagnosing problems. For diskless systems that do not have local storage, the “dump collector” service can be configured. This forces the VMware ESX host to send this diagnostics data across the network. It is particular interest to customers who adopt the “Auto Deploy” method of rolling out VMware ESX in their datacenters.
Syslog Collector
VMware has its own simple “Syslog Collector” which collates all the log files on each VMware ESX into a central location. Whilst the service is useful – you may wish to look at VMware’s Log Insight technology, or alternative look at other syslog tools such as Splunk.
Auto Deploy
Auto Deploy is a method of rolling out VMware ESX host which allows for diskless and stateless operations. The physical server boots across the network using the PXE, and the configuration is delivered by associating the server with a “Host Profile” held within vCenter. It offers a very rapid deployment and easy way to “upgrade” from one distribution of VMware ESX to another. Currently, Auto Deploy requires Enterprize+ licensing.
Authentication Proxy
This an optional and complementary service to Auto Deploy. It allows a VMware ESX host to join a Microsoft Active Directory domain without using administrator credentials. It requires Microsoft .NET SP1 or higher, and Microsoft Internet Information Services (IIS) web-server.
Host Agent Pre-Upgrade Checker
This validates the vSphere environment prior to an upgrade.
Certificate Automation Tool
vCenter and its associated use system generated SSL certificates to encrypt management information. The Certificate Automation Tools allows the administrator replace the installer generate certificates with their own trusted certificates if required.
As the vSphere platform has grown, vCenter has evolved from a “nice to have” in the VMware ESX 2.x era, into an absolute “must have”. This is because important features such as VMware Clustering in the shape of High Availability, Distributed Resource Scheduling, Distributed vSwitches and Tolerance. Additionally, vCenter act the linchpin for other technologies from VMware such as Horizon View, Site Recovery Manager, vCloud Director, vCloud Connector, vCloud Automation Center and so on. vCenter now standards at the centre of many the orchestration tools from VMware, and such customers are increasingly concerned about its availability as a management service. VMware do support a virtual instance of vCenter, and indeed the clustering technologies in the platform do offer resiliency and availability. For customers with higher uptime requirements VMware supports a technology called “vCenter Heartbeat Service” (a OEM version of NeverFail’s technology) which improves vCenters over all uptime. It has system by which the administrator can configure a “Primary” and “Secondary” server that act as mirror of each other. If the “Primary” goes down the “Secondary” automatically takes over. The vCenter Heartbeat Service is licensed separately from the vCenter product itself, and some organizations regarded as optional extra that is beyond their needs. Other availability solution such as Microsoft Clustering Service (MSCS) can and do work, but VMware does not certify these solutions. VMware does with vSphere 5.5 support the clustering of the database that backs the vCenter service itself. KB Article 1024051 outlines VMware’s current position on the availability of the Windows edition of vCenter.
Hardware & Software Requirements
Hardware Requirements:
For the core services (SSO, Web-Client, Inventory, vCenter)
12GB – or more based on the allocation of memory allocated to the Inventory Service during installation
2xvCPU
100GB recommended – with 40-60GB free space. Log allocation size is now 450MB larger than previous 4.x release
Note: In a modest homelab environment you maybe able to reduce these values, but beware that your mileage my vary in terms of the quality of your experience.
Software Requirements:
SQL Native Drivers relative to the version of Microsoft SQL used
.NET 3.5 SP1 (vCenter will download this if not present, assuming Internet access is present)
Web-Browser: IE8/9/10, Mozilla FireFox 24.0, Chrome 30. Safari is not supported.
Flash: Adobe Flash Player 11.5.0 or higher
Database Requirements:
The Windows edition of VMware vCenter supports a number of different database venders including Microsoft SQL and Oracle specifically:
Microsoft SQL Server 2005 Standard & Enterprise
Microsoft SQL Server 2008 R2 Express (For small deployments with 5 hosts, and 50 VMs)
Microsoft SQL Server 2008 R2
Oracle 10g/11g
Update: vCenter 5.5 will work with Microsoft SQL Server 2012, and has done since vSphere 5.1.
Creating vCenter Service Accounts in Microsoft Active Directory
Like many Windows based systems, vCenter does require “service accounts” to run the core services securely. These service accounts can also be used to assign permissions to the databases the service accesses
It’s not considered best practise for the “Administrator” account to be used by background system services, as the “Administrator” account is often renamed or disabled to prevent miss use. These service accounts can be located in Microsoft’s Active Directory, and be given local rights to carry out the installation of vCenter. Since vSphere4.0, VMware has support “Windows Authentication for SQL Servers”. This is where the core service and database user accounts are stored in the directory services rather than using either local accounts or accounts stored in Microsoft SQL databases (often referred to as “SQL Authentication”. “Windows Authentication to Microsoft SQL Server” is regarded as being more secure than “SQL Authentication”, with the added benefit of the user accounts concerned being located in central directory service. This should make them easier to manage from a password reset perspective, if it the service account becomes regarded as compromised.
Both the core vCenter service and the vCenter Update Manager (VUM) service require database – and therefore its not uncommon for service account be created for each service.
1. Open up “Active Directory Users and Computers”
2. Create an OU for the “VMware Service Accounts” [OPTIONAL]
3. Create a user for the vCenter Database/Service Account and for the vCenter VUM
4. Enabled the option to set “User cannot change password” and “Password never expires”. This prevents the account becoming locked out due to password reset policies on the domain. [OPTIONAL, BUT RECOMMENDED]
Configuring Microsoft 2008 SQL R2 for vCenter
Creating the Database
In this tutorial we will be configuring Microsoft 2008 R2 for vCenter using Windows Authentication. For this to work “Windows Authentication” will be enabled during the installation of Microsoft SQL Server. The default is for “Windows Authentication” only, although the SQL Administrator has the option to set both “SQL Server and Windows Authentication Mode”. If you are ensure of what mode is currently in use, it can be checked by opening the “Microsoft SQL Server Management Studio”, right-clicking the server (local), Properties and the Security tab:

1. Open Microsoft SQL Server Management Studio

2. Login to the SQL Server
3. Right-click the +Database node, and choose New Database
4. Type a name for the new database, and change the location for the database files. Microsoft SQL Server can by default point to location on the C: drive within Program Files. It’s better practise to store the database files in separate partition/disk to avoid situations where database files grow rapidly and fill the operating systems root partition.
5. Click OK to create the database
Set Permissions to the Database
Next we need to grant our service account user rights to the database. This involves allocating the user, and then setting the rights to the database itself.
1. In the Microsoft SQL Server Management Studio expand the +Security node
2. Right-click the +Logins node, and select New Login
3. Use the “Search” button to locate the vCenter Service Account created earlier. In this case the account is called vcdbuser-nyc. Alternatively, you can type the location for the user account manually.
4. In the same dialog box, change the default database to be the database created earlier. In this case the database is called vcdb-nyc
5. Click OK to add the user.
6. Next we need to set the permissions on this database, Right-click the user account – and then under User Mappings. Grant the vCenter Service Account the privilege of DB Owner to both the MSDB and the vCenter database.
IMPORTANT: These privileges maybe regarded is too permissive for your organizations SQL security policies. The official VM guide to SQL permissions has extensive detail on setting these privileges. Please refer to the “Preparing vCenter Server Databases” in the official “vSphere Installation and Setup” guide for further information
Installing vCenter
Introduction
VMware vCenter is composed of many different services as well as the core “vCenter” (vxpd) service itself. In simple lab or SMB environment one Windows instance could be created, and all the roles could be installed to that single instance. The vCenter installer refers to this configuration as a “Simple Install”
In larger corporate or enterprize environment a more “distributed” model exists where each of these roles could be installed to separate Windows instances. In some cases (such as the Single Sign-On vCenter Service) you can have more than one server instance, and have them distributed geographically. If couple with a load-balancer some of these services can be made to have greater resiliency. If you are attempting a “Custom Install”, VMware does recommend installing the various components that make up vCenter in this order:
1. vCenter Single Sign-On
2. vSphere Web Client
3. vCenter Inventory Service
4. vCenter Server
Installing the SQL Native Drivers and Configuring a DSN Connection to Microsoft SQL Server
The vCenter server will need the “SQL Native Drivers” installed relative to your version of Microsoft SQL Server. These are contained in what Microsoft call “Feature Packs” located on Microsoft website here:
Once these have been installed by the administrator, you can allow your vCenter Service Account local administrator rights to configure a ODBC “Data Source Name” or DSN connection, and carry out the installation itself.

To configure the ODBC DSN Connection to the SQL Server:
1. Login as the vCenter Service Account, in this example this is the vcdbuser-nyc
2. Open the Data Source (ODBC) control panel
3. Select the System DSN tab, and the Add button – and select the SQL Native Driver that was installed earlier
4. In the “Create a New Data Source to SQL Server” wizard, assign a name for the DSN, and select the SQL server. In this case “vCenter” is the name of the DSN, and SQL2K8NYC is the name of the SQL Server:
5. In this example “Windows Authentication” is being used, and the vCenter Service Account is logged in locally. So clicking next should use these credentials and pass them through to the SQL server:
6. The next page should have the vCenter Database created in SQL select automatically, if not use the X Change default database option to select the correct database:
7. Clicking Next and Finish should trigger a test attempt to connect to the SQL Server. This a relatively crude test that merely tests basic connectivity, it does not test such options as having the right permissions on the database.
A Simple vCenter Install
Once you have attached the vCenter .ISO to the vCenter Server, you should find the “autorun.exe” opens, at the welcome screen:
Installing SSO Service
A simple install essentially chains four different installations together of the four core primary services that make vCenter work – SSO, Web-Client, Inventory and vCenter service itself.
1. Ensure that “Simple Install” is selected, and click Install
2. Click Next, to the welcome screen for the SSO service
3. Accept the EULA
4. The installer will check the pre-requistites for the SSO service – the vCenter should have both a forward and reverse lookup records in DNS (Aname and PTR records), and joined to an Active Directory domain.
5. SSO establishes a “Domain”. The default name is vSphere.Local. It contains its own “administrator” account, and is separate and discrete from the “administrator” account on the Microsoft Active Directory domain. The password here must be >8 long and contain four character classes – 1xUppercase, 1xLowercase, 1xDigit, and 1xCharacter. Therefore P@ssw0rd is a valid password.
IMPORTANT: This account is the first and only account that can logon to vCenter in the first instance. The logon name would be administrator@vSphere.Local and the password set here. This account is both the SSO administrator account AND the vCenter default administrator account. Once configured it is possible to browse the Microsoft Active Directory Domain, and delegate responsibility to others and groups. Be careful with different keyboard types and county codes, as its very easy to assign a password twice that has unexpected characters included in it. If in doubt type the password into a test editor to confirm the characters inputed. A classic example is accidentally using the US Keyboard type on a UK Keyboard, and finding the £ is actually the # character, and that ” is actually the @ character. This can also cause logon head-aches if you move from one computer to another.
6. Specify the site name:
7. Specify the HTTPs TCP Port number for the SSO Service, the default is port 7444
8. Accept or change the path for where the files that make up SSO will be copied
9. As this first installation of vCenter in the corp.com domain, this will be configured as the first SSO server in that domain:
Installing the vCenter Web-Client Service
The installation of the web-client is non-interactive. The administrator has no configuration options to address.
Installing the Inventory Service
The installation of the Inventory Service is non-interactive. The administrator has no configuration options to address. During the installation the Inventory Service registers itself with the SSO Service.
Installing the vCenter Service
1. The install of vCenter begins with a request to input the license key. The license is not required for an installation, and vCenter can be run in a evaluation mode for 60-days
2. For small installations you can use a Microsoft SQL Server 2008 Express instance (this does require more memory to be assigned to the vCenter). In this case we are using an external SQL Server using DSN configuration to access the database:

3. If you are using SQL Authentication, you will need to provide the username/password to access the SQL database, in this case we used “Windows Authentication”, and we were logged in with the vCenter Service Account – so no further configuration was required.
When you click next you will see a pop-up warning.
This is an informational message – and is not a problem with the installation. The warning concerns the fact that SQL Server is set to a “Full Recovery Model”. This is a good feature because it causes SQL Server to use full transactional log, and ensures that if there an outage no data is lost from the database. Transactional Logs can grow incrementally if you do not have an effect backup strategy in place for SQL Server. Regular backs causes the transaction logs to played against the database, and reduced in size. Without a regular backup strategy, these transaction logs grow incrementally until there is no free space left on the SQL Server. Backup your database – you know it makes sense!
4. Next set the password for the vCenter Server Service account password. Configuring this option also sets the right to “Logon on as a service” to this account.
5. The installation does allow you to change the default TCP ports used by vCenter. One port number to watch out for is the vCenter Server HTTP port. The optional “BLAH SERVICE” leverages IIS which default to HTTP/80. If you do intend to install the “blah service” at later stage – watch out for port conflicts with this service.
6. Finally, we need to assign an allocation of memory to the JVM. This is reservation of memory to the JVM process, and the larger your vCenter environment the greater the reservation of memory should be.
At the end of the install wizard you can click “Install”.
During the installation a number of additional components are installed including the vCenter Orchestrator and Storage Profile-Driven Storage. The Simple Installation ends with this confirmation.

Tuesday, April 9, 2013

Virtualization for Simple HomeLAB

In 2009, I have migrated all server box in my workplace into a virtual machine(VM), using Citrix XenServer. I planned using VMware ESXi as host but the hardware NICs are not compatible.

After few months, I found this blog  that interest me to run ESXi again and make it as a HomeLAB for test and skill practice set, they call it AutoLAB. Just recently I decided to utilize an old laptop stocked at the garage to install ESXi. I upgrade it and fix. From an online shop, I bought additional 2gigs of RAM and a 240gb solid state drive(SSD). The laptop has a Core2Duo 2.20Ghz and a built-in Gigabit LAN which would be enough to run VMware ESXi 5.1 and later will add another USB LAN for other connectivity purpose.

I setup the network using an E3200 hi-speed router flashed with DD-WRT firmware, I configured the wireless in repeater mode and the vLAN feature. - The router is linked to a ZTE MF60 MyFi (Globe 5Mbps) via wireless repeater. Gigabit LAN connects to my HomeLAB via wired connection. And to make a bit complicated, I separated my HomeLAB server and LAN using vLAN configuration.

Although I have limited RAM availability, I can run at least 2 to 3 VMs at the same time depending on RAM assignment for each VM.  I have NAS4Free in one of my VM guest. It doesn't require much of memory RAM, used as my main storage for home share of movie files, music and other stuff. Set the NAS in AutoStart mode upon powering the HomeLAB. I have also manage to run iSCSI-target (SAN) on my test setup via NAS4free-VM. Other guest VM's are WinServer2008 and a linux server (Ubuntu). The SSD drive puts an indeed performance to make a fast read access on my VMs. But I still need another gig of RAM to make it 4gigs and maybe that's enough inorder to run some test programs on my VMs for the meantime. .

In my network diagram you will see the full layout of my current home simple network. I forgot to include an attached print server from HomeLAB.


 

I didn't use the startup kit downloaded from AutoLAB. I manually install and configure everything just like a baremetal Virtual Host. Maybe soon I will upgrade it into a small server box with Intel board, Core i5 3.4Ghz, 16gb DDR3 RAM. Will retain my Intel SSD drive and buy a new 2 pieces by 2ports/Gigabit PCIe Network Interface Cards

If you want to try virtualisation and make your own HomeLAB, you can visit AutoLAB page. There are download builds for starters and system requirements for your AutoLAB builds.

Cheers!











Sunday, February 26, 2012

The Anatomy of Huawei E355 Mobile Wifi Smart HSPA+

The new breed of wireless internet comes from another series of 4G technology. Although frequency band is different from 4G WiMAX or LTE, the HSPA+ an extension to HSDPA/HSPA/UMTS can attain upto 21.6mbps of download speed (reality is far behind). WiMAX is under 2.4GHz to 2.7GHz or rather the most enhanced version of your laptops WirelessLAN(11g). The E355 lies on frequency band of WCDMA2100 2.1GHz. 

For me, 7mbps to 12mbps stable speeds can make me a happy hacker --harhar--. But telcos catering for this services provides Fair Usage Policy(FUP) and shared connectivity on burst speed mode. So, currently I can attain 2.5mbps to 4mbps on full-scale 3G areas and hitting around 8mbps to 9mbps on HSPA+ available areas in the metro.


HUAWEI Mobile WiFi E586 is a high-speed packet access mobile hotspot. It is a multi-mode wireless terminal for SOHO and business professionals, it can support 5 Wi-Fi devices connecting and can stay online anytime and anywhere.

Feature
•Able to connect with Tablet, Laptop, notebook and different types of Wi-Fi devices
•Support up to 5 Wi-Fi enable devices at the same time
•One-touch connection and OLED screen display
•Friendly user interface
•5 hours working and 280 hours stand-by by battery (while Wi-Fi is off) *
*Depending on the state of network and environment
Product Spec
•Wi-Fi 802.11b/g/n
•HSPA+/HSPA/UMTS (3G)  EDGE/GPRS/GSM(2G)
•HSPA+ data service up to 21.6 Mbps
•HSUPA data service up to 5.76 Mbps
•Equalizer and receive diversity
•microSD Card Slot(Up to 32GB)
•Data and SMS Service
System requirements
•Windows XP SP2/SP3, Windows Vista SP1/SP2, Windows 7, --(Linux also)--
•MAC OS X 10.5,MAC OS X 10.6,MAC OS X 10.7
•Hardware system should meet the recommended requirements for the installed OS version
•Display resolution: 1024*768 or above






PlatformBand
Transfer rate
Receive Diversity
3G: HSPA+/HSUPA/HSDPA/UMTS; 2G: GSM/GPRS/EDGE
UL 5.76Mbps; DL 21.6Mbps
Support
InterfaceMicro SD cardSupported
CapacityExternal memoryUp to 32GB
AppearanceDimension (L × W × H)
Weight
95.5mm×48.6mm×14.1mm
80g
Operation systemOperation systemWindows XP / Vista / Windows7 / Mac OS 10.5 / Mac OS 10.6 / Mac OS 10.7


















Photos taken for reference to anybody.



++++++++++++++
Important Note
++++++++++++++
* I made this as an experiment on my own. Trying to explore the conditions and options to provide an effective air-to-air connectivity via 3G/4G using a YAGI directional antenna for hi-gain reception. Just exploring just like the old days of my amateur radio hobby(HAMS) & homebrews. I'm just planning to make one (Yagi Antenna) soon.
** I do not hack for money. I do not make openline services to unlock your devices. 'I hack by my own!'
*** I do not repair devices for money or neither support repairs online.



Saturday, December 10, 2011

Mount NTFS Seagate GoFlex External Drive on FreeNAS 7


I just rebuilt my Home freeNAS 7 box and re-installed it on a
Pentium 4 1.80Ghz, 512mb RAM. It has 20gb internal drive to host freeNAS 7
and a 500gb Seagate GoFlex 3.0 USB external drive. In short, I am running this
in an old laptop junkie, it can draw back up to 35watts power consumption and
there is still available slot for another 500gb USB external drive incase I need to.

My Goflex external drive is partitioned into two (2). In order to share my external drive via freeNAS,
I need to do the following or add it to Systems >Advanced>Command Scripts

First, create the mount directory:
login via SSH
# ssh -l admin 192.168.1.250

# mkdir /mnt/goflex-data
# mkdir /mnt/goflex-160

Now add below commands to Systems>Advanced>Command Scripts using the GUI.

Command                                             Type
 kldload fuse                                             PreInit  
 ntfs-3g /dev/da0s2 /mnt/goflex-data             PreInit  
 ntfs-3g /dev/da0s1 /mnt/goflex-160             PreInit



Mount NTFS Seagate GoFlex External Drive manual commands using the terminal.

SSH to freeNAS server

# kldload fuse

# /mnt/goflex-160# ntfs-3g /dev/da0s2 /mnt/goflex-data

# /mnt/goflex-160# ntfs-3g /dev/da0s1 /mnt/goflex-160




Sunday, November 27, 2011

Middle Mouse Button Scrolling on Linux (Fedora 15)

We need to find the UDI (Unique Device Identifier) for the TrackPoint device. It's an input device and it's a mouse, so let's try to find that capability:
# hal-find-by-capability --capability "input.mouse"
/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through_logicaldev_input
Only one hit. With that we can get a lot of information about the device:
[root@linuxfed15 conrad]# lshal -u "/org/freedesktop/Hal/devices/usb_device_9da_54f_noserial_if1_logicaldev_input"
udi = '/org/freedesktop/Hal/devices/usb_device_9da_54f_noserial_if1_logicaldev_input'
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_9da_54f_noserial_if1'  (string)
  info.product = 'A4TECH USB Device'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_9da_54f_noserial_if1_logicaldev_input'  (string)
  input.device = '/dev/input/event7'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/usb_device_9da_54f_noserial_if1'  (string)
  input.product = 'A4TECH USB Device'  (string)
  input.x11_driver = 'evdev'  (string)
  linux.device_file = '/dev/input/event7'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.1/input/input7/event7'  (string)
# hal-get-property --udi "/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through_logicaldev_input" --key "info.product" A4TECH USB Device


# hal-get-property --udi "/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through_logicaldev_input" --key "linux.device_file" /dev/input/event7
Now we can put together a config file in /etc/X11/xorg.conf.d/ :

# nano /etc/X11/xorg.conf.d/42-middle-mouse-scrolling.conf
Section "InputClass"
   Identifier "Middle Mouse Button Scrolling"
   MatchProduct "TPPS/2 IBM TrackPoint"
   MatchDevicePath "/dev/input/event*"
   Option "EmulateWheel" "true"
   Option "EmulateWheelButton" "2"
   Option "XAxisMapping" "6 7"
   Option "YAxisMapping" "4 5"
EndSection
If you dont have yet the conf file just copy/paste from Section down to EndSection and then save.  
NOTE: We're using "/dev/input/event*" instead of "/dev/input/event6"  to make sure our configuration still works should the device path change for any reason
The only thing missing now is a restart of X and we're done. Reboot!


CREDITS TO DENNIS CONRAD

This was edited according to cyb3rc0n's personal fedora15 config settings using A4TECH wireless optical mouse.