01-31-2013
With Solaris 10, you'll need to create an SMF manifest, import it via svccfg import, and administer the service via svcadm. Whilst legacy "init" scripts are still supported, you should definitely be using SMF where possible.
Understanding SMF is beyond the scope of a forum post, so I'd suggest reading the appropriate documentation on the Oracle site for further information.
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have written a service script(service.sh) for my application which will add my application(BTINM) as service and start the service. Internally inside the script i will call the sh script which will start my application server. When my application server starts a UI opens saying that the... (5 Replies)
Discussion started by: krevathi1912
5 Replies
2. Solaris
Hi...all
database - 10g Rs 2 with ASM
platform - Sun Solaris V890 64bit
This is the step i use to auto start the database n ASM: (auto start can start but need to kill lsvcrun first)
1 dbora---script
2 start_shutdown_asm.ksh---script
3. Dbora file must be put under /etc/init.d directory... (0 Replies)
Discussion started by: adzuanamir
0 Replies
3. UNIX for Dummies Questions & Answers
How can I install Solaris 10 x86 on a machine without a DVD drive? Is there a way to boot from a flash stick or install it through a network? Any help will be appreciated. (1 Reply)
Discussion started by: Bradj47
1 Replies
4. Solaris
Hi everyone,
Normally it always easier in Sparc machine, i can set or manually use the boot-device in NVram to boot the mirrored disk. However I have a big trouble about x86 mirror for a long time. I have been doing anything i can: search document, google, ask the others.
Recently i did as... (5 Replies)
Discussion started by: tien86
5 Replies
5. Solaris
Hi,
In Linux, I will do it by editing the /etc/rc.d/rc.local . However, I can't find a rc.local file in Opensolaris. So, how can I do it in Opensolaris? I am new to opensolaris, so please teach me step by step. Thanks in advance. (4 Replies)
Discussion started by: AlexCheung
4 Replies
6. Solaris
i heard some where veritas volume manager wont work on solaris x86. i have installed vmware into my 32bit xp machine. i am planning to learn veritas..
is there an veritas volume manager version compatible with solaris x86 machine? (2 Replies)
Discussion started by: chidori
2 Replies
7. Red Hat
Hello Guys - I need to disable xen server not to start when the server is rebooted.
1) What is the parameter to be used to do this..below is the entry in my config file...
on_reboot = "restart"
2) What is the default behaviors of the xen on reboot ? in case we comment this line from config... (0 Replies)
Discussion started by: saurabh84g
0 Replies
8. Solaris
Hi,
This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies
9. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
LEARN ABOUT OPENSOLARIS
rmvolmgr
rmvolmgr(1M) System Administration Commands rmvolmgr(1M)
NAME
rmvolmgr - HAL-aware removable volume manager
SYNOPSIS
/usr/sbin/rmvolmgr [-chns]
DESCRIPTION
The rmvolmgr command is a volume manager that can automatically mount and unmount removable media and hot-pluggable storage. The default
mount point is /media.
rmvolmgr is one of a number of Hardware Abstraction Layer (HAL)-aware tools that are shipped with the Solaris operating system. See
hald(1M).
Multiple instances of rmvolmgr can be run simultaneously. A system instance of rmvolmgr runs by default as a service management facility
(SMF) service (see smf(5)). Its fault management resource identifier (FMRI) is:
svc:/system/filesystem/rmvolmgr
You can run your own instance of rmvolmgr by adding it to the .xinitrc file or a similar session startup script. In such a case, the system
rmvolmgr instance will not manage volumes that belong to you, the owner of the startup script. For example, a user logged on to the work-
station console (/dev/console) who invokes his own instance of rmvolmgr will own locally connected devices, such as CD-ROM drives and
devices connected to the local USB or FireWire ports.
In addition to mounting volumes under /media, rmvolmgr also creates legacy symbolic links under /cdrom, /floppy, and /rmdisk.
rmvolmgr also provides backwards compatibility with CDE removable media interfaces by maintaining notification files under /tmp/.removable.
This functionality can be disabled by using the -c option.
The -c and -n options can also be specified as SMF properties. See "Examples."
OPTIONS
The following options are supported:
-c Disable CDE compatibility.
-h Display help information and exit.
-n Do not create legacy mountpoint symbolic links.
-s Invoke in system instance mode.
EXAMPLES
Example 1 Using SMF Properties to Set Options
The following svccfg(1M) command and subcommands use SMF properties to set the -c and -n options.
example# svccfg
svc:> select rmvolmgr
svc:/system/filesystem/rmvolmgr> listprop rmvolmgr/*
rmvolmgr/legacy_mountpoints boolean true
rmvolmgr/cde_compatible boolean true
svc:/system/filesystem/rmvolmgr> setprop
rmvolmgr/legacy_mountpoints=false
svc:/system/filesystem/rmvolmgr> setprop rmvolmgr/cde_compatible=false
svc:/system/filesystem/rmvolmgr> exit
example#
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWhalr |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
hald(1M), svccfg(1M), attributes(5), hal(5), smf(5)
SunOS 5.11 28 Nov 2006 rmvolmgr(1M)