David Since WebServer installation contains more than one instances. Please suggest a better naming convention for FMRI.
Srinivas David Powell wrote: > Srinivas Krishnan wrote: > > I am working on integrating WebServer 7 with SMF. I need help in > forming > > the FMRI for Web Server installation. Web Server when installed can > > contain more than one instances. (admin-server, http-config1, > > http-config2....). On discussion and referring to the SMF > documentation, > > the following FMRI has been arrived > > > > svc://network/http/webserver7:<instance-name> (Eg. > > svc://network/http/webserver7:admin-server, > > svc://network/http/webserver7:http-test) > > > > Is the above FMRI naming convention is OK. If anybody has any comments > > on this, please send me your comments. > > I have a few comments: > > 1) When you say your webserver has multiple instances, are you > referring to the fact that you're creating multiple SMF instances > for it, or to a particular aspect of the webserver's design or > deployment? > > In other words, it is hard to evaluate the naming you have chosen > without understanding what you intend them to mean. > > 2) Independent of their semantics, the names you have chosen are > confusing. We already have a network/http service; though having > a second service called network/http/something is legal, I think > people will find it confusing. > > 3) We created the network/http service the way that we did so that > other services could depend on network/http and not need to > specify a particular instance (i.e. not need to specify a > particular implementation). As you are not taking part in this > relationship, I'm not sure using that part of the namespace makes > sense. > > Others might think differently, though. > > Dave >