NCINSTALLATIONNC5.0InstallationNC5.0SysConfigtoolNC5.0DeploymentofWAS6.1NC5.0DeploymentofApache(forUFmiddleware)NC5.0DeploymentofIHS(forWAS6.1)AgendaNC5.0InstallationNC5.0SysConfigtoolNC5.0DeploymentofWAS6.1NC5.0DeploymentofApache(forUFmiddleware)NC5.0DeploymentofIHS(forWAS6.1)InstallTypeGUIinstallMulti-platforminstaller(Windows,Linux,Unix)NeedJREorJDK(Verisonis1.5)Run“ncsetup.bat”/“ncsetup.sh”GUIinstallInitializationGUIinstallWelcomeGUIinstallLicenseGUIinstallPathSetInstallationpath(input,select)如果升级设置NC3.5路径.安装路径不要带有空格等特殊符号。安装路径更短些为好GUIinstallCreatepathGUIinstallSelectmodulesGUIinstallListModulesListinstalledmodulesincurrentdirectory.GUIinstallInstallingGUIinstallInstallingGUIinstallSuccessSetWebsphereprofilepath.SetWebsphereclusterorsecurity.NC5.0InstallationNC5.0SysConfigtoolNC5.0DeploymentofWAS6.1NC5.0DeploymentofApache(forUFmiddleware)NC5.0DeploymentofIHS(forWAS6.1)NC5.0SysConfigtoolClientInstallationOtherCommandAgendaRun“NC_HOME\bin\ncSysConfig.bat”“NC_HOME\bin\wasSysConfig.bat”NC5.0SysConfigtoolDataSource在保证WAS服务器运行的情况下,保存操作会将数据源配置信息保存到WAS中。保存操作可能慢些。NC5.0SysConfigtoolServer设置服务器名称,地址,端口,管理端口。设置设置启动进程参数。设置NC集群的节点等。NC5.0SysConfigtoolServerWAS环境下,读取WAS配置信息。维护好后保存成NC的配置信息。WAS集群环境,需要在此选择集群中的一个节点做主服务器,保存配置信息后。再将”prop.xml”同步到各个节点上。NC5.0SysConfigtoolLog设置日志级别以及输出策略。打开使用完毕后,切记立即关闭(占用资源)NC5.0SysConfigtoolLicense生成的”hardware.key”在“NC_HOME/bin”下license=同一时刻并发使用该模块的功能节点数(一人打开同一模块算一个,但打开两个IE算两个,模块的使用数为1,表示该模块能用,具体授权数由上层决定)NC5.0SysConfigtoolService设置服务集群情况下必须设置具体的服务在那个应用服务器上运行,如果不设置该服务在集群下不运行NC5.0SysConfigtoolMessage设置发送消息邮件服务器配置信息。NC5.0SysConfigtoolSystemConfig配置系统登录安全控制。NC5.0SysConfigtoolDeployment更改WASprofile设置路径。设置部署应用时,调整的相关参数。注意几个重要地方“cluster”“JVM”“security”修改WAS的JVM参数时一定在此修改,否则会出现所谓的修改无效NC5.0SysConfigtoolDeployment选择需要部署的模块。生成NC环境的EJB,proxy.(自动更新到NC的对应目录)生成WAS环境的ear包,proxy.(在was启动情况下,通过部署EJB功能自动部署到WAS环境中。)对应日志是nc_sysconfig.log/was_sysconfig.logNC5.0SysConfigtoolDeployment生成客户端安装包NC5.0SysConfigtoolPortal基本设置:包括数据源,方案,安全,代理服务器等SSO:已经预置了NC,IUFO和BO的相关配置NC5.0SysConfigtoolScheduleEngine设置后台定时任务NC5.0SysConfigtoolCertificateAuthorityCA认证配置部分NC5.0SysConfigtoolGeneratorClient.jar生成客户端安装包注意主机名和端口生成的安装盘保存在输出路径下。“setup.exe”,“setup.jar”,“jre.jar”ClientInstallationSynchronization将安装盘同步到客户端。ClientInstallationInstallation注意安装路径不要带空格,中文。如果客户端有JRE,版本1.5.0Update7或1.5.0Update8,可以不安装JREClientInstallationConfiguration可以调整服务器IP和端口如果想使用此客户端,有想使用IE,需要设置JVM参数ClientInstallation部分命令介绍ncDeploy.bat/wasDeploy.bat(命令行生成EJB,proxy和ear包的命令)clientInstall.bat(命令行生成客户端代码的命令)OtherCommand部分命令介绍wasImportCert.bat/wasDeleteCert.bat(导入和删除认证的工具,当WAS设置安全用户和密码时,需要先导入WAS的证书,才能保证wasSysCInfig能连接到WAS中)wasEjbPathCreator.bat(生成classpath路径文件,会生成wasSetEjbPath.bat文件保存classpath)OtherCommandNC5.0InstallationNC5.0SysConfigtoolNC5.0DeploymentofWAS6.1NC5.0DeploymentofApache(forUFmiddleware)NC5.0DeploymentofIHS(forWAS6.1)SupportprofileTypeConfigurationprofilepathGeneratorEJBDeploymentEJBAboutClusterAgendaSupportprofileTypeSupportprofileTypeStandaloneNode(calleddefault)独立ServerDMgrDMgr中的集群ConfigurationprofilepathConfigWASprofile在安装的最后设置was的profile路径注意集群标志和安全设置ConfigurationprofilepathConfigWASprofile设置WASprofile路径,集群标准注意集群标志和安全设置设置JVM参数,注意hpux和solaris设置-XX:PermSize=512m-XX:MaxPermSize=512mConfigurationprofilepathConfigWASprofilewasImportcert如果是有安全管理的WAS服务器需要在先导入WAS的证书到JVM中。GeneratorEJBGeneratorEJBwasSysConfig.batGeneratorEJBGeneratorEJBwasDeploy.batDeploymentEJB选择需要部署的模块。生成WAS环境的ear包。日志nc_sysconfig.log/was_sysconfig.logDeploymentEJBDeploymentEJB“NC_HOME\bin\wasinstall\jmx\wasJmx.batall”DeploymentEJBDeploymentEJBDeploymentEJB新增加部分部署功能注意部署效率DeploymentEJB“Pleasemanuallyrestarttheserverandthenstarttheapplication.”无论怎样部署,最后都要重新启动服务。DeploymentEJBAboutCluster安装或修改profilepath时注意选择集群标志AboutClusterAboutCluster在wasSysConfig中确定集群名称。AboutClusterAboutCluster在WASAdminconsole中建立集群。注意设置主服务器权重为”0”。应用服务器*server*,节点*node*AboutClusterAboutCluster在wasSysConfig中选Server,将集群信息更新到NC配置中注意设置选择其中一台服务器做主服务器。AboutClusterAboutCluster在wasSysConfig中设置好DataSource等信息。将Prop.xml文件同步到各个节点上。重新启动集群和nodeagentAboutCluster•集群的启动顺序–启动主机(master)–启动NodeAgent–启动其它从机(命令行启动或console启动)–启动IHS•集群的停止顺序–停止IHS–停止其它从机–停止主机NC5.0InstallationNC5.0SysConfigtoolNC5.0DeploymentofWAS6.1NC5.0DeploymentofApache(forUFmiddleware)NC5.0DeploymentofIHS(forWAS6.1)DownloadURLInstallationConfigurationStartupAgendaDownloadURLApache2.2.3http://httpd.apache.org/download.cgiDownloadURLDownloadURLMODJK-1.2.19http://tomcat.apache.org/connectors-doc/http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/“mod_jk-apache-2.2.3.so”DownloadURLInstallation注意安装路径,如果需要可以更改InstallationConfigurationCopyfile“mod_jk-apache-2.2.3.so”to“APACHE_HOME\modules\mod_jk-apache-2.2.3.so”NC5.0DeploymentofApacheConfigurationFindfile“APACHE_HOME\conf\httpd.conf”NC5.0DeploymentofApacheConfigurationEditfile“APACHE_HOME\conf\httpd.conf”•#Loadmod_jk•#JkLogLevelemerginfodebug•LoadModulejk_modulemodules/mod_jk.so•JkWorkersFileconf/workers.properties•JkLogFilelogs/mod_jk.log•JkLogLevelerrorConfigurationConfigurationEditfile“APACHE_HOME\conf\httpd.conf”•#•DocumentRoot"C:/Apache/htdocs"•JkMount/*loadbalancer•JkMount/servlet/*loadbalancer•JkMount/service/*loadbalancerConfigurationConfigurationEditfile“APACHE_HOME\conf\workers.properties”ConfigurationConfigurationConfigncSysconfig’sserverAJP1.3andportmustbeset.ConfigurationStartupRun“APACHE_HOME\bin\httpd”Runitfrom“APACHE_HOME\bin\ApacheMonitor”StartupNC5.0InstallationNC5.0SysConfigtoolNC5.0DeploymentofWAS6.1NC5.0DeploymentofApache(forUFmiddleware)NC5.0DeploymentofIHS(forWAS6.1)IHSinstallationPlugininstallationGeneratorpluginAgendaIHSinstallationIHSinstallationInstallationpathConfigurationportSecurityuserPlugininstallationPlugininstallationInstallationpathSelectprofileSelect“http.conf”DefinewebservernameGeneratorpluginGeneratorpluginmapinggeneratorpluginGeneratorpluginGeneratorplugin“GenPluginCfg.bat”参考“GenPluginCfg.bat–help”生成的插件文件要调整,日志路径等将生成的插件文件拷贝到IHS中Q&A