SMF/Manifest in Zones


 
Thread Tools Search this Thread
Operating Systems Solaris SMF/Manifest in Zones
# 1  
Old 11-04-2008
SMF/Manifest in Zones

Hi..

I have an application installed in Zones and I would like to have the application started on every system reboot and stop at every shutdown.

I created start/stop/restart script in /etc/init.d and placed S and K links in rc?d directories. This works fine.

but I want to use SMF for this application instead of using legacy method.

I get this error when I try to create the file in /lib/svc/method/...

cannot create ... Read-only file system

I understand above error is there because this is a zone and /lib mounted read only. I am wondering if it is possible to have an independent service controlled in a zone using SMF? May be like using a different place to store script ? I have an independent /usr/local for each zone..

Any ideas ?Smilie

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Web Development

Webpacker::Manifest::MissingEntryError in Pioneers#index Error on Rails

Good evening I need your help please, Im a newbie at web applications and i am taking a course and i was struggling the web server to get to work this is when the webeserver is up: ubuntu@ubuntu-N53SV:~/hello_WWW$ rails server => Booting Puma => Rails 6.0.0 application starting in development ... (3 Replies)
Discussion started by: alexcol
3 Replies

2. Solaris

SMF in Solaris 10

In SOlaris 9 for eg, inside the /etc/init.d/inetsvc file, you can set the tcp tracing by going to the last line and adding the following as :- inetd -s -t & In Solaris 10, I know we can use the svccfg to do it or with the inetadm command. When I use inetadm -m command to set the tcp tracing... (3 Replies)
Discussion started by: incredible
3 Replies

3. Solaris

Chkconfig & SMF

Hi I have been told to migrate linux init scripts to solaris 10. i am reading about the chkconfig & SMF ( I came to know that SMF is used in Sol 10 for service management ). The only thing i could not find out ( Because i dont have root access ) is how the links are created in rcX.d directory? ... (6 Replies)
Discussion started by: zedex
6 Replies

4. Solaris

SMF service HELP

I would like to run command whenever system boot up, i.e "/opt/admin/script/closegen -c /opt/share/script/colsehg" How do I integrate above command in to SMF services. -sam (1 Reply)
Discussion started by: sam786
1 Replies

5. Solaris

smf repository not running

Hi All, I have a Solaris server which runs version 10 After installing the patch , i thought of doing a recongiuration reboot But it failed saying "smf repository not running" what could be the issue. Thanks J (4 Replies)
Discussion started by: jegaraman
4 Replies

6. Shell Programming and Scripting

Exporting CLASSPATH in manifest service file

Hi, I need the a help can please any one give me a suggestion for Exporting the CLASS PATH in service manifest file for Solaris 10 Here i have pasted the code <?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <!-- Copyright 2007 Sun... (4 Replies)
Discussion started by: Shreedhar Naik
4 Replies

7. Solaris

SMF - Adding instances to existing manifest

I have a default, sun supplied, apache2 install on solaris10. It's running fine, everything's great. I'm looking to add another instance, fairly happy with how to do that apart from one thing - the SMF manifest. Can i just edit the XML file sun supplied for the default apache2 and add in details... (2 Replies)
Discussion started by: craigp84
2 Replies

8. UNIX for Dummies Questions & Answers

Standalone FTPD within SMF

Hello We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities: i) Remove the FTP... (0 Replies)
Discussion started by: CowsUdders
0 Replies
Login or Register to Ask a Question