Hi, I work for Web Server 7 Admin team, currently in the process of integrating SMF with Web Server 7. I want to take some inputs from you regarding the manifest file creation.
Before that i would like to explain to you about Web Server 7 product and instance creation which impacts the creation of manifest file. Web Server 7 installation can contain more than one instances and these instances can be created and deleted after the installation. Also there can be more than one installation of Web Server 7, which case the service name is identified with the installation. (svc:/application/webserver7/<install_location>:<instance_name>) If there is a installation of web server under /sun/webserver7 and there is 1 instance (https-caitanya) under it, the service FMRI is svc:/application/webserver7/sun_webserver7:https-caitanya. The manifest file (location: /var/svc/manifest/application/webserver7.xml) for this is <service_bundle type='manifest' name='webserver7'> <service name='application/webserver7/sun_webserver7' type='service' version='1'> <dependency name='filesystem' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/system/filesystem/local' /> </dependency> <dependency name='net' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/network/loopback' /> </dependency> <instance name='https-caitanya' enabled='true'> <exec_method type='method' name='start' exec='/sun/webserver7/https-caitanya/bin/startserv.script' timeout_seconds='-1' /> <exec_method type='method' name='stop' exec='/sun/webserver7/https-caitanya/bin/stopserv.script' timeout_seconds='-1' /> <exec_method type='method' name='restart' exec='/sun/webserver7/https-caitanya/bin/restart.script' timeout_seconds='-1' /> </instance> <stability value='Evolving' /> <template> <common_name> <loctext xml:lang='C'>Sun Java System Web Server 7</loctext> </common_name> </template> </service> Now the above manifest file is loaded into the repository using svccfg import <manifest_file>. If one more instance is created later, do we use the same manifest file above and add one more entity and do the svccfg import command or is it recommended to use a seperate manifest file and add it to the repository. If this is the case how it can be done. Also after the import of manifest file into the repository does these manifest file which are under /var/svc/manifest used later. If not, can we remove these manifest file in the location after importing into database. Thanks in Advance Srinivas