Thursday, January 12, 2006

AM 7 deployment process over AS8.1 cluster

I have hacked out the manual process for AM7 on AS 8.1 cluster env
I have DAS central controls a cluster of 2 instances of AM7 on another 2 servers
The process to deploy AM instance on any of AS cluster instance is listed
below. Please streamline the processs as development process required.


Please note: All work is done on the AS8.1 instance server instead of DAS hosts

(1) Modify AM web module DD

For amserver web module

in sun-web.xml, replace

DTD Sun Java System Application Server 7.0

as

DTD Sun One Application Server 7.0


Do the same thing for ampassword and amconsole web module



(2) create silent file.

Please note to fill in Server_HOST as AS instance host name instead of
DAS_HOST here


(3) run amconfig -s silenfile

to build DIT and create war files


(4) add permission to AS instance server.policy file

grant{
permission java.security.AllPermission;
};

Please note the permissions which comes
from as81amconfig does not work

(5) manual deploy created web module


asadmin deploy --user admin --passwordfile XXXXXXXX
--host --port
--contextroot amserver --name amserver
--target /opt/SUNWam/amserver.war

The same applied to ampassword etc.


(6) restart the server instance



Thanks

Lei

No comments: