如何在Unix下构建FThistorian实时数据库精华  

[ 2013/3/25 22:23:51 | Author: 剑思庭 ]

今天一个管线客户要求AB的实时数据库能够部署在Unix下,我们的很多同事都声称这是没有办法做到的,我却对客户说是可以的,那到底是如何可以的?大家来看看FTHistorian是如何在unix下通过虚拟化来部署的?

首先是安装必要的软件
[root@jiansiting ~]# yum -y install gcc gcc-c++ kernel-devel
然后更新kernel
[root@jiansiting ~]# yum -y update kernel
检查一下
[root@jiansiting `]# rpm -qa | grep kernel
Kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2080_FC5
kernel-devel-2.6.16-1.2080_FC5
下载VMware-any-any-update*(99-101)都可以。VMware-workstation-5.5.1-19175.tar.gz
全部放入/tmp中备用
[root@jiansiting tmp] tar zxvf VMware-workstation-5.5.1-19175.tar.gz
[root@jiansiting tmp]#cd vmware-distrib
[root@jiansiting vmware-distrib]# ls
bin doc etc FILES installer lib man vmware-install.pl
[root@jiansiting vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
(中间的一段省略.......)
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
what is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
省略....
[root@jiansiting ~]#cd /tmp
[root@jiansiting ~]#tar zxvf vmware-any-any-update101.tar.gz
[root@jiansiting ~]#cd vmware-any-any-update101
[root@jiansiting vmware-any-any-update101]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
(中间一段省略........)
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16-1.2080_FC5/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
启动VMware
创建一个虚拟磁盘,选择windows2008系统
然后在CD盘符里选择windows2008 ISO文件
然后安装windows2008
最后安装FThistorian
然后设置net网络为NAT形式
至此FTHistorian实时数据库通过虚机技术部署在unix系统中,此设置可以实现FTHistorian产品在操作系统跨平台,同时支持windows和unix系统。
  

回复:如何在Unix下构建FThistorian实时数据库

[ 2013/7/5 15:59:23 | Author: redsky ]

崇拜你了,呵呵。牛人。向你学习。

 

中华工控网 | 联系我们 | 工控论坛首页 | 工控博客首页 | 博客注册 | 博客登陆

工控博客管理联系邮箱:工控博客服务邮箱

中华工控网 © Copyright 2013. All rights reserved.