由于某种原因,需要删除重建WAS7的profiles,并重新按照模板建立新profiles
1、删除原来的/usr/IBM/WebSphere/AppServer/profiles下的概要信息
A. 使用manageprofiles.sh命令删除概要
查看当前的profiles
/usr/IBM/WebSphere/AppServer/bin/manageprofiles.sh -listProfiles
默认是Dmgr01和AppSrv01,删除profiles
/usr/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName AppSrv01
/usr/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName Dmgr01
到../profiles目录下,删除所有概要的文件夹
cd /usr/IBM/WebSphere/AppServer/profiles/
rm -r Dmgr01
rm -r AppSrv01
B. 删除profileRegistry.xml信息
找到profileRegistry.xml文件,并删除
cd /usr/IBM/WebSphere/AppServer/properties/
mv profileRegistry.xml profileRegistry.xml.backup
删除{profileName}.sh/bat文件
cd fsdb
mv AppSrv01.sh AppSrv01.sh.backup
mv Dmgr01.sh Dmgr01.sh.backup
到../profiles目录下,删除所有概要的文件夹
cd /usr/IBM/WebSphere/AppServer/profiles/
rm -r Dmgr01
rm -r AppSrv01
2、重新安装模板生产profiles
export WASROOT=/usr/IBM/WebSphere/AppServer
WAS_HOST=$(hostname);
cd /usr/IBM/WebSphere/AppServer/bin
echo $WASROOT
echo ${WAS_HOST}
Dmgr01
./manageprofiles.sh -create \
-templatePath $WASROOT/profileTemplates/cell/dmgr \
-nodeProfilePath $WASROOT/profiles/AppSrv01 -profileName Dmgr01 -cellName ${WAS_HOST}Cell01 \
-nodeName ${WAS_HOST}CellManager01 -appServerNodeName ${WAS_HOST}Node01 -hostName ${WAS_HOST} \
-enableAdminSecurity true -adminUserName USERNAME -adminPassword PASSWORD
AppSrv01
./manageprofiles.sh -create \
-templatePath $WASROOT/profileTemplates/cell/default \
-dmgrProfilePath $WASROOT/profiles/Dmgr01 -portsFile $WASROOT/profiles/Dmgr01/properties/portdef.props \
-nodePortsFile $WASROOT/profiles/Dmgr01/properties/nodeportdef.props -profileName AppSrv01 \
-cellName ${WAS_HOST}Cell01 -nodeName ${WAS_HOST}CellManager01 -appServerNodeName ${WAS_HOST}Node01 -hostName ${WAS_HOST} \
-enableAdminSecurity true -adminUserName USERNAME -adminPassword PASSWORD
分享到:
相关推荐
在WAS8.0安装成功后,我们就可以使用启动服务器命令startServer命令来启动server,这个命令在WAS_home \profiles\AppSrv01\bin目录中,其中AppSrv01是我们建立的独立服务器概要表的名称。由于我的WAS安装在C:\IBM\...
day28-Github Profiles(获取Github用户概要)
idea下test自动测试profiles配置
文章阐述了如何为 UML Profiles 生成工具和 UML 形状,从而允许利用 IBM ® Rational® Systems Developer、IBM ® Rational® Software Architect,以及 IBM® Rational ®Software Modeler 来定制领域建模。...
DLNA_Device_Profiles
Bluetooth Profiles:介绍各种profile,蓝牙开发必备。
profiles_settings.xml
Maven的profiles的使用例子
Enocean设备的Profiles,可以看到相关的详细描述。
Unity画面滤镜优化着色器Post Processing Profiles 3.1 所支持的Unity版本:2017.1.0 及以上版本 Post processing 3 profiles for PC/Mac and Mobile 21 different settings for Post Processing V3. With the ...
比较常见的是设置application.properties中的spring.profiles.active环境变量 但是yml的精简特性很值得称道,用过之后就不能忍受property 文件的臃肿了. 试着google基于yml的多环境打包,并没有一个很直观的例子. 虽然...
Post Processing Profiles V2.3 镜头效果,着色器 2018最新更新的V2.3版本
Information was extracted from police files concerning 345 burglars and 310 violent offenders in Nottinghamshire, England. The most important observable features of offenders were sex, ethnicity, age...
Relocating Windows7 User Folder and Profiles 重新部署Win7的用户文件夹和用户设置
启动DM服务 < was-install >/profiles/ profiles\Dmgr01\bin\ startManager.bat. D:\IBM\AppServer\profiles\Dmgr01\bin>stopManager.bat D:\IBM\AppServer\profiles\Dmgr01\bin>startManager.bat (3).打开...
Supporting profiles: Networking, Dial-up, Fax, LAN access, Headset and WiFi
Post Processing Profiles V3.1 镜头效果,着色器 2019最新更新的V3.1版本
Understanding Color Management Profiles
Minecraft 1.12的launcher_profiles.json文件。Minecraft我的世界安装forge提示缺少launcher_profiles.json文件,安装失败。把这个复制到.minecraft文件里,就ok了。