> Le 3 d?c. 07 ? 11:03, Renaud Manus a ?crit : > >>> Hi, >>> I'm working on manifest and start/stop method for websphere and >>> other applications. >>> I started with Albert Leigh Manifest >>> (http://blogs.sun.com/sunabl/entry/a_service_manifest_for_websphere >>> ), but I'd prefer to have a multi-instance manifest. >>> Does anybody know a running example of multi-instance manifest ? >> Eg. /var/svc/manifest/application/database/postgresql.xml > > Ok. Thanks Renaud. > > But something is unclear. I believed there was some svc cmd line to > duplicate an instance...I can't find.
Never heard of it... > > I wrote a WAS method which is able to start any WebSphere profile by > getting sufficient informations in svcprop and instance name. The > idea was to let the admin create a new instance for any new WAS profile. > > My hope to give him a script which need only to duplicate the instance > and change some application properties. > > Seems to be a stupid idea. We need to re-instanciate into manifest > xml file and re-import. Need we ? No you don't - You should be able to use some svccfg commands to create your new instance without changing the manifest. Here is an example on how you can do it: http://blogs.sun.com/samf/entry/smf_manifest_for_perforce_p4d -- Renaud
