如何自动化运行mr configurator2中文 2

&&&&&&正文
PNOZmultiConfigurator5.2.2(PilzPLC编程软件)11
供稿:阅读人次:发布时间:
资料大小:9766KB下载次数:发布时间: 9:48:21供稿:关键字:资料简介:PNOZmulti Configurator 5.2.2( 编程软件)11
【文章来自】
相关技术文章
米尔自动化网 () 版权所有&&&&&Copyright By MIR&&&&米尔自动化网Q群:&&&&米尔自动化网微博:FDT技术&——&开放的现场设备集成管理平台【转】
作者:邓梧鹏
FDT技术所带来的好处是多方面,一方面是因为FDT标准的开放性,另一方面是因为其技术理念的创新。自动化领域的现场设备制造商,系统集成商,服务提供商和最终用户都可从中获得巨大的利益。
FDT,开放的平台
为什么欧姆龙,赫优讯以及其他自动化领域的知名厂商如此关注FDT技术,并积极开发相关产品呢?对于这些厂商和他们的用户来说,使用该技术能够带来的最大好处又是什么呢?
规划设计一个工厂,从规划、装配、流线到维护,每个环节都需要从全局的角度考虑如何才能带来最大的经济效益。其关键一点就是,最终用户希望能使用同一个工程环境来管理、操作和配置任何一个现场设备,无论该设备是来自哪个制造商,无论该设备使用的是哪种现场总线或实时以太网通讯协议。
迄今为止,FDT技术是针对现场设备生命周期管理的最开放的平台,能够解决设备规划、安装、操作、配置、维护和资产管理等各种问题。FDT技术覆盖了几乎所有的工业通讯协议,甚至包括了正在开发过程中的协议。只要现场设备支持这些协议,就能采用基于FDT技术的解决方案。
FDT技术能够做到真正意义上的开放,并且提供了一个工具集成环境的最新标准:可集成不同制造商的现场设备,无论该设备是现场总线设备,还是实时以太网设备。
FDT技术作为开放的标准,可以很好地保护投资,简化设备和工具的集成,允许重复使用软件组件,保证软件组件的连续性,支持新的信息技术标准。
一般来说,一种开放的标准可以允许差异性很大的技术提供商都参与到一个公平的竞争环境中。采用FDT技术的现场设备制造商,其技术优势非常显著,可以在不同领域销售其不同类型的产品,并且销售量可观。FDT技术最主要的影响在于,用户所掌握的技术将越来越综合,对设备的操作越来越熟练,对制造商的依赖越来越少。这也是供求关系的一种平衡,最终用户需要摆脱不同制造商所提供的配置工具的困扰,并且可提升产品质量本身的可用性,FDT技术正好满足了用户的这些需求,可实现高级应用的集成。FDT技术将是自动化工业领域的风向标,具有划时代的意义。
FDT,最新的理念
&& FDT是现场设备工具(Field Device
Tool)的缩写,是一种开放、独立、公开的软件接口规范。任何一种通讯协议都可以使用该技术。FDT规范描述了工程框架(FDT容器,FDT
框架应用)和设备软件组件(DTM,设备类型管理器)之间的软件接口和相互关系。其中FDT
框架应用与设备和现场总线系统无关,而DTM则和特定的设备和现场总线相关。这样通过任何一个支持FDT技术的主机系统,就能轻松实现对设备的访问和设备参数的配置。
DTM对于现场设备来说,就是软件代理。它包含,
&设备参数的图形化用户界面(在线和离线)
&参数验证功能
&现场总线系统启动时所需的设备特殊数据
&特殊现场设备的独有诊断功能
&基于现场总线系统的通讯服务 ►(通讯DTM)
&不同现场总线系统间的网关服务 ►(网关DTM)
与协议无关的FDT容器包含,
&通用项目管理工具(用户管理,报告,资产管理)
&总线拓扑工程的图形化用户界面
&总线拓扑数据的通用数据模型
&可持续性服务(项目数据库)
FDT规范的附件中定义了与通讯协议相关的规范。特定协议的XML
Schema都在附件做了标准化,从而提供了在不同的DTM与FDT兼容的框架应用之间进行XML文档通讯的基础。
由于FDT可支持各种现场总线和实时以太网协议,因此每个现场设备制造商都需要提供一种软件组件——DTM(设备类型管理器)和相应的硬件设备,并且能保证这些设备能被很容易的集成到每个FDT/DTM系统环境当中。
DTM用户界面风格指南使得来自不同制造商的DTM都具有统一、友好、易理解的界面。
应用案例,赫优讯Generic DTM在欧姆龙FDT产品中的应用
欧姆龙和赫优讯都是FDT组织的成员,都支持和使用FDT技术,并且都能够向用户提供FDT框架应用程序和DTM。欧姆龙公司是自动化领域的全球领导者之一,能够向用户提供不同的产品和服务,包括工业自动化行业、电子元件行业和医疗行业。赫优讯公司是工业通讯技术的领先供应商,并且也向现场设备制造商和集成商提供FDT/DTM开发服务。
CX-ConfiguratorFDT是欧姆龙公司基于FDT技术的高级多协议网络配置工具,可支持欧姆龙和第三方厂家的现场设备。基于FDT标准,来自不同制造商的DTM都能实现无缝集成。这也使得欧姆龙能够很容易扩展其支持的协议和现场设备,并且能够自由地选择最优的解决方案。
依靠赫优讯公司提供的通用解决方案,欧姆龙公司实现了对不同制造商PROFINET
IO设备的集成。赫优讯提供各种现场总线和实时以太网协议的通用设备DTM,能够根据设备描述文件生成相应的DTM。要实现现场设备在FDT环境中的集成,这是最快的一种方式,并且价格合理。一般来说,赫优讯的通用设备DTM有如下功能
支持PROFINET
IO、PROFIBUS、CANopen、DeviceNet、EtherCAT、SERCOS,并且正在开发更多的协议;
&基于设备描述文件(GSDML,GSD,EDS,ESI,SDDML);
&可根据客户的需求进行定制;
&可运行于任何一种FDT容器中;
&可与第三方的通讯DTM和设备DTM进行相互操作;
&能够管理来自不同制造商的所有现场设备,并可连接相应的协议。
通过赫优讯为欧姆龙公司定制的PROFINET IO通用设备DTM,欧姆龙的PROFINET IO Controller
DTM能够在CX-ConfiguratorFDT中访问和管理来自不同制造商的几乎所有的PROFINET
IO从站。由于该通用设备DTM遵循了FDT组织定义的DTM用户界面风格指南,因此能够很好的集成在欧姆龙公司的FDT环境中,如下图所示。
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。颓废了 的BLOG
用户名:颓废了
文章数:11
访问量:4325
注册日期:
阅读量:5863
阅读量:12276
阅读量:334805
阅读量:1039548
51CTO推荐博文
cobbler自动化部署工具cobbler简介RHEL7默认提供的cobbler是2.6.9版本的,cobbler译文”补鞋匠“网络安装套件cobbler可以同时管理DHCP;DNS;YUM等,现在随便一家互联网公司机器数量成千上万,这个时候我们就不能那个U盘,或者光盘一台台的装,然后诞生了PXE+TFTP+DHCP+Kickstart(俗称PXE)然而PXE不能同时部署多种版本的系统,然而cobbler可以部署多种系统如centos5,6,7;redhat 5,6,7;cobbler还可以部署windows系统。该工具由python语言开发,支持web界面管理十分灵活。PXE自动化部署参考:http://mictiger./7008配置yum源cobbler centos源没有cobbler包组,它是由epel提供,但是其依赖的软件包又是centos所提供,所以我们配置centos,epel 两个yum源[root@cobbler&yum.repos.d]#&cat&aliyun.repo&
name=ailiyun
baseurl=/epel/7/x86_64/
gpgcheck=0
name=cobbler
baseurl=/centos/7/os/x86_64/
gpgcheck=0开始安装[root@cobbler&yum.repos.d]#&yum&install&cobbler&cobbler-web&pykickstart&debmirror&
[root@cobbler&~]#&rpm&-qi&cobbler
Name&&&&&&&&:&cobbler
Version&&&&&:&2.6.9
Release&&&&&:&1.el7
Architecture:&noarch
Install&Date:&Thu&20&Aug&:46&PM&CST
Group&&&&&&&:&Applications/System
Size&&&&&&&&:&2177634
License&&&&&:&GPLv2+
Signature&&&:&RSA/SHA256,&Wed&24&Jun&:07&AM&CST,&Key&ID&6a2faea
Source&RPM&&:&cobbler-2.6.9-1.el7.src.rpm
Build&Date&&:&Tue&23&Jun&:19&AM&CST
Build&Host&&:&buildppc-02.phx2.fedoraproject.org
Relocations&:&(not&relocatable)
Packager&&&&:&Fedora&Project
Vendor&&&&&&:&Fedora&Project
URL&&&&&&&&&:&http://www.cobblerd.org/
Summary&&&&&:&Boot&server&configurator
Description&:
Cobbler&is&a&network&install&server.&&Cobbler&supports&PXE,&ISO
virtualized&installs,&and&re-installing&existing&Linux&machines.
The&last&two&modes&use&a&helper&tool,&'koan',&that&integrates&with
cobbler.&&There&is&also&a&web&interface&'cobbler-web'.&&Cobbler's
advanced&features&include&importing&distributions&from&DVDs&and&rsync
mirrors,&kickstart&templating,&integrated&yum&mirroring,&and&built-in
DHCP/DNS&Management.&&Cobbler&has&a&XMLRPC&API&for&integration&with
other&applications.启动cobbler,httpd服务[root@cobbler&~]#&systemctl&start&httpd.service
[root@cobbler&~]#&systemctl&start&cobblerd.service关闭selinux[root@cobbler&~]#&cat&/etc/selinux/config&
#&This&file&controls&the&state&of&SELinux&on&the&system.
#&SELINUX=&can&take&one&of&these&three&values:
#&&&&&enforcing&-&SELinux&security&policy&is&enforced.
#&&&&&permissive&-&SELinux&prints&warnings&instead&of&enforcing.
#&&&&&disabled&-&No&SELinux&policy&is&loaded.
SELINUX=disabled
#&SELINUXTYPE=&can&take&one&of&these&two&values:
#&&&&&targeted&-&Targeted&processes&are&protected,
#&&&&&minimum&-&Modification&of&targeted&policy.&Only&selected&processes&are&protected.&
#&&&&&mls&-&Multi&Level&Security&protection.
SELINUXTYPE=targeted&
[root@cobbler&~]#&getenforce&
Permissive&&或者&&Disabled
[root@cobbler&~]#&cobbler&check
The&following&are&potential&configuration&items&that&you&may&want&to&fix:
1&:&The&'server'&field&in&/etc/cobbler/settings&must&be&set&to&something&other&than&localhost,&or&kickstarting&features&will&not&work.&&This&should&be&a&resolvable&hostname&or&IP&for&the&boot&server&as&reachable&by&all&machines&that&will&use&it.
2&:&For&PXE&to&be&functional,&the&'next_server'&field&in&/etc/cobbler/settings&must&be&set&to&something&other&than&127.0.0.1,&and&should&match&the&IP&of&the&boot&server&on&the&PXE&network.
3&:&SELinux&is&enabled.&Please&review&the&following&wiki&page&for&details&on&ensuring&cobbler&works&correctly&in&your&SELinux&environment:
&&&&/cobbler/cobbler/wiki/Selinux
4&:&change&'disable'&to&'no'&in&/etc/xinetd.d/tftp
5&:&some&network&boot-loaders&are&missing&from&/var/lib/cobbler/loaders,&you&may&run&'cobbler&get-loaders'&to&download&them,&or,&if&you&only&want&to&handle&x86/x86_64&netbooting,&you&may&ensure&that&you&have&installed&a&*recent*&version&of&the&syslinux&package&installed&and&can&ignore&this&message&entirely.&&Files&in&this&directory,&should&you&want&to&support&all&architectures,&should&include&pxelinux.0,&menu.c32,&elilo.efi,&and&yaboot.&The&'cobbler&get-loaders'&command&is&the&easiest&way&to&resolve&these&requirements.
6&:&file&/etc/xinetd.d/rsync&does&not&exist
7&:&debmirror&package&is&not&installed,&it&will&be&required&to&manage&debian&deployments&and&repositories
8&:&The&default&password&used&by&the&sample&templates&for&newly&installed&machines&(default_password_crypted&in&/etc/cobbler/settings)&is&still&set&to&'cobbler'&and&should&be&changed,&try:&"openssl&passwd&-1&-salt&'random-phrase-here'&'your-password-here'"&to&generate&new&one
9&:&fencing&tools&were&not&found,&and&are&required&to&use&the&(optional)&power&management&features.&install&cman&or&fence-agents&to&use&them
Restart&cobblerd&and&then&run&'cobbler&sync'&to&apply&changes.解决以上报告信息修改参数修改&/etc/cobbler/settings
next_server:&192.168.3.100
server:&192.168.3.100
[root@cobbler&~]#&cobbler&get-loaders
如果网络不行可以直接去&/loaders/下载COPYING.elilo&&COPYING.syslinux&&COPYING.yaboot&&elilo-ia64.efi&&grub-x86_64.efi&&grub-x86.efi&&menu.c32&&pxelinux.0&&README&&yaboot这些软件包
[root@cobbler&~]#&cobbler&get-loaders&
task&started:&_215034_get_loaders
task&started&(id=Download&Bootloader&Content,&time=Thu&Aug&20&21:50:34&2015)
downloading&/loaders/README&to&/var/lib/cobbler/loaders/README
[root@cobbler&~]#&yum&install&fence-agents&cman
注释/etc/debmirror.conf&中以下两项
#@dists="sid";
#@arches="i386";
[root@cobbler&~]#&openssl&passwd&-1&-salt&`openssl&rand&-hex&4`
Password:&
$1$a6a60411$ltytuO4WzxCYFOJhNFIlh1
[root@cobbler&~]#&vim&/etc/cobbler/settings&
default_password_crypted:&"$1$a6a60411$ltytuO4WzxCYFOJhNFIlh1"检查是否配置完成[root@cobbler&~]#&cobbler&check
No&configuration&problems&found.&&All&systems&go.
安装配置DHCP
[root@cobbler&~]#&yum&install&dhcp
[root@cobbler&loaders]#&vim&/etc/dhcp/dhcpd.conf&
default-lease-time&&86400;
max-lease-time 7200;
log-facility&local7;
subnet 192.168.3.0&netmask&255.255.255.0&{
&range 192.168.3.105 192.168.3.120;
&option routers&192.168.3.100;
next-server 192.168.3.100;
filename="pxelinux.0";准备安装yum[root@cobbler&media]#&mkdir&centos6
[root@cobbler&media]#&mkdir&centos7
[root@cobbler&~]#&mount&-o&loop&CentOS-6.6-x86_64-bin-DVD1.iso&/media/centos6
[root@cobbler&~]#&mount&-o&loop&CentOS-7.0--DVD.iso&/media/centos7安装system-config-kickstart 用于编写ks.cfg文件基于系统的anaconda-ks.cfg这个文件是本系统安装中的配置[root@cobbler&~]#&yum&install&&system-config-kickstart&
[root@cobbler&~]#&system-config-kickstart650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />导入系统镜像[root@cobbler&~]#&cobbler&import&--name="centos6"&--path=/media/centos6
[root@cobbler&~]#&cobbler&distro&list
&&&centos6-x86_64
[root@cobbler&cobbler]#&cobbler&profile&add&--name=centos6.6&--distro=centos6-x86_64&--kickstart=/var/lib/cobbler/kickstarts/centos6.cfg
[root@cobbler&cobbler]#&cobbler&profile&list
&&&centos6-x86_64
&&&centos6.6配置完成后一定要sync[root@cobbler&~]#&cobbler&sync
task&started:&_011824_sync
task&started&(id=Sync,&time=Sat&Aug&22&01:18:24&2015)
running&pre-sync&triggers
cleaning&trees
removing:&/var/www/cobbler/images/centos6-x86_64
removing:&/var/lib/tftpboot/pxelinux.cfg/default
removing:&/var/lib/tftpboot/grub/images
removing:&/var/lib/tftpboot/grub/grub-x86_64.efi
removing:&/var/lib/tftpboot/grub/grub-x86.efi
removing:&/var/lib/tftpboot/grub/efidefault
removing:&/var/lib/tftpboot/images/centos6-x86_64
removing:&/var/lib/tftpboot/s390x/profile_list
copying&bootloaders
trying&hardlink&/var/lib/cobbler/loaders/pxelinux.0&-&&/var/lib/tftpboot/pxelinux.0
copying:&/var/lib/cobbler/loaders/pxelinux.0&-&&/var/lib/tftpboot/pxelinux.0
trying&hardlink&/var/lib/cobbler/loaders/menu.c32&-&&/var/lib/tftpboot/menu.c32
copying:&/var/lib/cobbler/loaders/menu.c32&-&&/var/lib/tftpboot/menu.c32
trying&hardlink&/var/lib/cobbler/loaders/yaboot&-&&/var/lib/tftpboot/yaboot
copying:&/var/lib/cobbler/loaders/yaboot&-&&/var/lib/tftpboot/yaboot
trying&hardlink&/var/lib/cobbler/loaders/grub-x86_64.efi&-&&/var/lib/tftpboot/grub/grub-x86_64.efi
trying&hardlink&/var/lib/cobbler/loaders/grub-x86.efi&-&&/var/lib/tftpboot/grub/grub-x86.efi
copying&distros&to&tftpboot
copying&files&for&distro:&centos6-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/vmlinuz&-&&/var/lib/tftpboot/images/centos6-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/initrd.img&-&&/var/lib/tftpboot/images/centos6-x86_64/initrd.img
copying&images
generating&PXE&configuration&files
generating&PXE&menu&structure
copying&files&for&distro:&centos6-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/vmlinuz&-&&/var/www/cobbler/images/centos6-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/initrd.img&-&&/var/www/cobbler/images/centos6-x86_64/initrd.img
Writing&template&files&for&centos6-x86_64
rendering&TFTPD&files
generating&/etc/xinetd.d/tftp
processing&boot_files&for&distro:&centos6-x86_64
cleaning&link&caches
running&post-sync&triggers
running&python&triggers&from&/var/lib/cobbler/triggers/sync/post/*
running&python&trigger&cobbler.modules.sync_post_restart_services
running&shell&triggers&from&/var/lib/cobbler/triggers/sync/post/*
running&python&triggers&from&/var/lib/cobbler/triggers/change/*
running&python&trigger&cobbler.modules.scm_track
running&shell&triggers&from&/var/lib/cobbler/triggers/change/*
***&TASK&COMPLETE&***查看是否配置成功[root@cobbler&cobbler]#&cat&/var/lib/tftpboot/pxelinux.cfg/default&
DEFAULT&menu
MENU&TITLE&Cobbler&|&
TIMEOUT&200
TOTALTIMEOUT&6000
ONTIMEOUT&local
LABEL&local
&&&&&&&&MENU&LABEL&(local)
&&&&&&&&MENU&DEFAULT
&&&&&&&&LOCALBOOT&-1
LABEL&centos6-x86_64
&&&&&&&&kernel&/images/centos6-x86_64/vmlinuz
&&&&&&&&MENU&LABEL&centos6-x86_64
&&&&&&&&append&initrd=/images/centos6-x86_64/initrd.img&ksdevice=bootif&lang=&&kssendmac&text&&ks=http://192.168.3.100/cblr/svc/op/ks/profile/centos6-x86_64
&&&&&&&&ipappend&2
LABEL&centos6.6
&&&&&&&&kernel&/images/centos6-x86_64/vmlinuz
&&&&&&&&MENU&LABEL&centos6.6
&&&&&&&&append&initrd=/images/centos6-x86_64/initrd.img&ksdevice=bootif&lang=&&kssendmac&text&&ks=http://192.168.3.100/cblr/svc/op/ks/profile/centos6.6
&&&&&&&&ipappend&2开始安装650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />配置cobbler安装Centos7[root@cobbler&~]#&cobbler&import&--name="centos7"&--path=/media/centos7
task&started:&_014024_import
task&started&(id=Media&import,&time=Sat&Aug&22&01:40:24&2015)
Found&a&candidate&signature:&breed=redhat,&version=rhel6
Found&a&candidate&signature:&breed=redhat,&version=rhel7
Found&a&matching&signature:&breed=redhat,&version=rhel7
Adding&distros&from&path&/var/www/cobbler/ks_mirror/centos7:
creating&new&distro:&centos7-x86_64
trying&symlink:&/var/www/cobbler/ks_mirror/centos7&-&&/var/www/cobbler/links/centos7-x86_64
creating&new&profile:&centos7-x86_64
associating&repos
checking&for&rsync&repo(s)
checking&for&rhn&repo(s)
checking&for&yum&repo(s)
starting&descent&into&/var/www/cobbler/ks_mirror/centos7&for&centos7-x86_64
processing&repo&at&:&/var/www/cobbler/ks_mirror/centos7
need&to&process&repo/comps:&/var/www/cobbler/ks_mirror/centos7
looking&for&/var/www/cobbler/ks_mirror/centos7/repodata/*comps*.xml
Keeping&repodata&as-is&:/var/www/cobbler/ks_mirror/centos7/repodata
***&TASK&COMPLETE&***
[root@cobbler&~]#&cobbler&distro&list
&&&centos6-x86_64
&&&centos7-x86_64出现以下问题是要将做好的ks移动到&/var/lib/cobbler/kickstarts/ &这个路径是专门存放ks文件模板的[root@cobbler&ks]#&cobbler&profile&add&--distro="centos7-x86_64"&--name=centos7&--kickstart=/root/ks/centos7.cfg
exception&on&server:&'Invalid&kickstart&template&file&location&/root/ks/centos7.cfg,&it&is&not&inside&/var/lib/cobbler/kickstarts/'[root@cobbler&ks]#&cobbler&profile&add&--distro="centos7-x86_64"&--name=centos7&--kickstart=/var/lib/cobbler/kickstarts/centos7.cfg
[root@cobbler&ks]#&cobbler&sync
task&started:&_015615_sync
task&started&(id=Sync,&time=Sat&Aug&22&01:56:15&2015)
running&pre-sync&triggers
cleaning&trees
removing:&/var/www/cobbler/images/centos6-x86_64
removing:&/var/www/cobbler/images/centos7-x86_64
removing:&/var/lib/tftpboot/pxelinux.cfg/default
removing:&/var/lib/tftpboot/grub/images
removing:&/var/lib/tftpboot/grub/grub-x86_64.efi
removing:&/var/lib/tftpboot/grub/grub-x86.efi
removing:&/var/lib/tftpboot/grub/efidefault
removing:&/var/lib/tftpboot/images/centos6-x86_64
removing:&/var/lib/tftpboot/images/centos7-x86_64
removing:&/var/lib/tftpboot/s390x/profile_list
copying&bootloaders
trying&hardlink&/var/lib/cobbler/loaders/pxelinux.0&-&&/var/lib/tftpboot/pxelinux.0
copying:&/var/lib/cobbler/loaders/pxelinux.0&-&&/var/lib/tftpboot/pxelinux.0
trying&hardlink&/var/lib/cobbler/loaders/menu.c32&-&&/var/lib/tftpboot/menu.c32
copying:&/var/lib/cobbler/loaders/menu.c32&-&&/var/lib/tftpboot/menu.c32
trying&hardlink&/var/lib/cobbler/loaders/yaboot&-&&/var/lib/tftpboot/yaboot
copying:&/var/lib/cobbler/loaders/yaboot&-&&/var/lib/tftpboot/yaboot
trying&hardlink&/var/lib/cobbler/loaders/grub-x86_64.efi&-&&/var/lib/tftpboot/grub/grub-x86_64.efi
trying&hardlink&/var/lib/cobbler/loaders/grub-x86.efi&-&&/var/lib/tftpboot/grub/grub-x86.efi
copying&distros&to&tftpboot
copying&files&for&distro:&centos7-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/centos7/images/pxeboot/vmlinuz&-&&/var/lib/tftpboot/images/centos7-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/centos7/images/pxeboot/initrd.img&-&&/var/lib/tftpboot/images/centos7-x86_64/initrd.img
copying&files&for&distro:&centos6-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/vmlinuz&-&&/var/lib/tftpboot/images/centos6-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/initrd.img&-&&/var/lib/tftpboot/images/centos6-x86_64/initrd.img
copying&images
generating&PXE&configuration&files
generating&PXE&menu&structure
copying&files&for&distro:&centos7-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/centos7/images/pxeboot/vmlinuz&-&&/var/www/cobbler/images/centos7-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/centos7/images/pxeboot/initrd.img&-&&/var/www/cobbler/images/centos7-x86_64/initrd.img
Writing&template&files&for&centos7-x86_64
copying&files&for&distro:&centos6-x86_64
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/vmlinuz&-&&/var/www/cobbler/images/centos6-x86_64/vmlinuz
trying&hardlink&/var/www/cobbler/ks_mirror/centos6/images/pxeboot/initrd.img&-&&/var/www/cobbler/images/centos6-x86_64/initrd.img
Writing&template&files&for&centos6-x86_64
rendering&TFTPD&files
generating&/etc/xinetd.d/tftp
processing&boot_files&for&distro:&centos7-x86_64
processing&boot_files&for&distro:&centos6-x86_64
cleaning&link&caches
running&post-sync&triggers
running&python&triggers&from&/var/lib/cobbler/triggers/sync/post/*
running&python&trigger&cobbler.modules.sync_post_restart_services
running&shell&triggers&from&/var/lib/cobbler/triggers/sync/post/*
running&python&triggers&from&/var/lib/cobbler/triggers/change/*
running&python&trigger&cobbler.modules.scm_track
running&shell&triggers&from&/var/lib/cobbler/triggers/change/*
***&TASK&COMPLETE&***
[root@cobbler&ks]#&cobbler&profile&list
&&&centos6-x86_64
&&&centos6.6
&&&centos7
&&&centos7-x86_64开始安装650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />附上我自己的ks文件参考[root@cobbler&ks]#&cat&centos6.cfg&
#platform=x86,&AMD64,&or&Intel&EM64T
#version=DEVEL
#&Install&OS&instead&of&upgrade
#&Keyboard&layouts
keyboard&'us'#&Reboot&after&installation
#&Root&password
rootpw&--iscrypted&$1$JrbIN3YW$buJKv8Y7FfZhCEhOg/eD01
#&System&timezone
timezone&Asia/Chongqing&--isUtc
#&Use&network&installation
url&--url="http://192.168.3.100/cobbler/ks_mirror/centos6/"
#&System&language
lang&en_US
#&Firewall&configuration
firewall&--disabled
#&Network&information
network&&--bootproto=dhcp&--device=eth0
#&System&authorization&information
auth&&--useshadow&&--passalgo=sha512
#&Use&graphical&install
firstboot&--disable
#&SELinux&configuration
selinux&--disabled
#&Installation&logging&level
logging&--level=info
#&System&bootloader&configuration
bootloader&--append="crashkernel=auto&rhgb&quiet"&--location=mbr&--driveorder="sda"
#&Clear&the&Master&Boot&Record
#&Partition&clearing&information
clearpart&--all&--initlabel&
#&Disk&partitioning&information
part&/boot&--fstype="ext4"&--size=500
part&pv.008002&--grow&--size=1
@basic-desktop
@debugging
@desktop&Platform&Development
@desktop-debugging
@desktop-platform
@development&tools
@directory-client
@input-methods
@internet-browser
@java-platform
@network-file-system-client
@print-client
@remote-desktop-clients
@server&Platform&Development
@server-platform
@server-policy
%endcentos7 ks文件[root@cobbler&ks]#&cat&centos7.cfg&
#platform=x86,&AMD64,&or&Intel&EM64T
#version=DEVEL
#&Install&OS&instead&of&upgrade
#&X&Window&System&configuration&information
xconfig&&--startxonboot
#&Keyboard&layouts
#&old&format:&keyboard&us
#&new&format:
keyboard&--vckeymap=us&--xlayouts='us'
#&Halt&after&installation
#&Root&password
rootpw&--iscrypted&$1$L7lKtlWj$DvBzrvndeOQd7EHfRGOnj/
#&System&timezone
timezone&Asia/Chongqing&--isUtc&--nontp
#&Use&network&installation
url&--url="http://192.168.3.100/cobbler/ks_mirror/centos7/"
#&System&language
lang&en_US&--addsupport=zh_CN.UTF-8
#&Firewall&configuration
firewall&--disabled
#&Network&information
network&&--bootproto=dhcp&--device=eno
network&&--bootproto=dhcp&--device=None
#&System&authorization&information
auth&&--useshadow&&--passalgo=sha512
#&Use&graphical&install
#&Run&the&Setup&Agent&on&first&boot
firstboot&--enable
#&SELinux&configuration
selinux&--disabled
ignoredisk&--only-use=sda
#&System&bootloader&configuration
bootloader&--location=mbr&--boot-drive=sda
#&Clear&the&Master&Boot&Record
#&Partition&clearing&information
clearpart&--all&--initlabel&
#&Disk&partitioning&information
part&pv.10&--fstype="lvmpv"&--ondisk=sda&--size=35339
part&/boot&--fstype="xfs"&--ondisk=sda&--size=500
volgroup&centos&--pesize=4096&pv.10
logvol&/&&--fstype="xfs"&--grow&--maxsize=51200&--size=1024&--name=root&--vgname=centos
logvol&swap&&--fstype="swap"&--size=2064&--name=swap&--vgname=centos
@desktop-debugging
@directory-client
@guest-agents
@guest-desktop-agents
@input-methods
@internet-browser
@java-platform
@kde-desktop
@multimedia
@network-file-system-client
@print-client
%endcobbler web界面配置使用系统用户(pam)或者configfile定义用户登录管理cobbler web[authentication]
#module&=&authn_configfile&(默认值)
module&=&authn_pam[root@cobbler&~]#&vim&/etc/cobbler/modules.conf&
[root@cobbler&~]#&useradd&cobbler
[root@cobbler&~]#&echo&"cobbler"&|&passwd&--stdin&cobbler&
Changing&password&for&user&cobbler.
passwd:&all&authentication&tokens&updated&successfully.
[root@cobbler&~]#&vim&/etc/cobbler/users.conf&
admin&=&"cobbler"650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url(&/e/u261/lang/zh-cn/images/localimage.png&) no-border:1px solid #" alt="spacer.gif" />[root@cobbler&~]#&vim&/etc/cobbler/modules.conf&
[authentication]
module&=&authn_configfile
[root@cobbler&~]#&htdigest&/etc/cobbler/users.digest&"Cobbler"&admin
Adding&user&admin&in&realm&Cobbler
New&password:&
Re-type&new&password:未完待续本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:未分类┆阅读(0)┆评论(0)

我要回帖

更多关于 mr configurator2手册 的文章

 

随机推荐