1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| $AdminApp install "/tmp/xx/session_replication/weiwei.ear" {-contextroot weiwei -appname WeiWeiEAR -node psuat -cell psuat -server server4 -MapWebModToVH {{"weiwei" weiwei.war,WEB-INF/web.xml default_host}} -MapResRefToEJB {{weiwei "" weiwei.war,WEB-INF/web.xml jdbc/psuat javax.sql.DataSource jdbc/psuat}} -MapModulesToServers {{weiwei weiwei.war,WEB-INF/web.xml WebSphere:cell=psuat,node=psuat,server=server4}} -installdir /piers/apps/uat/installedApps -verbose -nodeployws} $AdminApp install "/tmp/xx/weiwei.ear" {-contextroot weiwei -appname WeiWeiEAR -MapWebModToVH {{"weiwei" weiwei.war,WEB-INF/web.xml default_host}} -MapResRefToEJB {{weiwei "" weiwei.war,WEB-INF/web.xml jdbc/dhprd javax.sql.DataSource jdbc/dhprd}} -MapModulesToServers {{weiwei weiwei.war,WEB-INF/web.xml WebSphere:cell=dhwap02Network,cluster=dhwas_cluster}} -installdir /xx/apps/prod/installedApps -cluster xx_was -verbose -nodeployws}
$AdminConfig save $AdminApp isAppReady sr $AdminApp getDeployStatus sr
$AdminApp list $AdminApp listModules sr
set appManager [$AdminControl queryNames type=ApplicationManager,*] $AdminControl invoke $appManager startApplication sr $AdminControl invoke $appManager stopApplication sr
$AdminApp uninstall sr
$AdminApp options /piers/apps/uat/installedApps/WeiWeiEAR.ear $AdminApp taskInfo /piers/apps/uat/installedApps/WeiWeiEAR.ear MapResRefToEJB $AdminApp taskInfo /piers/apps/uat/installedApps/WeiWeiEAR.ear MapModulesToServers $AdminApp taskInfo /piers/apps/uat/installedApps/WeiWeiEAR.ear MapWebModToVH $AdminApp taskInfo /piers/apps/uat/installedApps/eps.ear AppDeploymentOptions
$AdminControl queryNames "*:*"
|