Installing AdminCenter
Maybe I missed something obvious, but I can't see any way to pull in and install the admin-center jar (for instance, from here: https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/wlp/beta/wlp-beta-admin-2015.4.0.0.jar)
This feels like a pretty core component of wlp alongside extended and extras.
On top of this, it would be pretty slick to have a special provider that will automatically make admin center aware of other selected servers defined through serverconfig. That's probably a future request.
You make a good point. The wlp-beta-admin-2015.4.0.0.jar is classed as an addon in http://wasdev.net/repo - meaning it conains a group of features, for the sake of convenience.
You can install what you need of the admin center by using install_feature.rb, which is able to download and install a feature .esa. It puts it into the Chef cache then runs featureManager install. But because it installs the feature directly from the local Chef cache, the featureManager doesn't figure out the dependencies and so doesn't install them first. So right now you have to figure out the dependencies yourself and drive install_feature.rb for each of them. Something like:
feature_map = {
"restHandler" => "http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/wlp/8.5.5.5/com.ibm.websphere.appserver.restHandler-1.0.esa",
"adminCenter" => "http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/wlp/8.5.5.5/com.ibm.websphere.appserver.adminCenter-1.0.esa",
"explore" => "http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/downloads/wlp/8.5.5.5/com.ibm.websphere.appserver.adminCenter.tool.explore-1.0.esa"
}
# download each file and place it in right directory
feature_map.each do | feature, feature_location |
wlp_install_feature feature do
location feature_location
accept_license true
end
end
The install_feature.rb caches the .esa files - which is good. What's not good, is it doesn't calculate the dependencies. I'd like to switch to the new installUtility that's in the beta. By default, installUtility download only downloads the artifacts it doesn't already have, and it calculates the dependencies required.