Distributed Installation
Installing a component or shared library would require that the bits are first transferred to the target instance before the Facade MBean invokes the install operation on the Action MBean. The following steps will be taken to install a component / shared library to a "instance-name" target.
1. The installation archive is uploaded to the instance identified by "instance-name" by the Facade InstallerMBean.
2. install() operation on the Action InstallerMBean is invoked to install the component / shared-library.
3. The Installer MBean first adds the archive to it's local repository and registry, then installs the component. If installation fails the component is deleted from the repository and the registry. On a successful install
- The component / shared-library archive is added to the local repository.
- a component or shared-library entry is added to the registry
- a server/component-ref or server/shared-lirary-ref entry is added to the local copy of the registry
4. The Facade InstallerMBean deletes the temporary uploaded archive.
The JSR 208 Installer MBean on the DAS updates the golden jbi repository / registry on the DAS prior to performing the distributed installation.
- The component / shared-library archive is added to the DAS repository
- a component / shared-library entry is added to the DAS jbi registry
- a server/component-ref or server/shared-lirary-ref entry is added to the local copy of the registry
In this case if the distributed installation fails, the registry on the DAS has the needed information for the instance to synchronize its state with the DAS.
If the target is a cluster, then the same steps above would be repeated with each instance in the cluster. Additionally the DAS registry has a
/ or / entry.
If the target is a server, then the upload operation is not needed and the Action MBean does not update the registry / repository since the DAS and the server-instance share the same copy of the repository/registry (?)
This page (revision-6) was last changed on
17-Nov-06 14:11 PM, -0800
by sureshp.
This page was created on
17-Nov-06 14:09 PM, -0800 by sureshp.
More info...