Sponsored Content
Full Discussion: uadmin ? ?
Operating Systems Solaris uadmin ? ? Post 302307123 by StarSol on Tuesday 14th of April 2009 04:12:18 PM
Old 04-14-2009
uadmin ? ?

I have an oracle cluster management and noticed that when Oracle evict a node (Sun Solaris 10 server); it does cause a reboot that looks like a power outage (reference to 3320 Disk Array Configuration for Oracle 10) that is not logged in the messages log. After further investigation, it was found out that Oracle is issuing "/sbin/uadmin 1 1". The man page for uadmin is not very useful so I checked the internet and found out that "uadmin 1 1" means do not sync filesystems and reboots to multi-user mode. I have tested "uadmin 1 1" and "uadmin 2 1" (which means sync the filesystems and reboots to multi-user mode) and noticed that when in both cases the messages log does not show who issued the command (like what you see when you issue "reboot")! In the case of "uadmin 2 1" the last thing the messages log shows is "syncing file systems..." and then nothing until the server comes back up.

I have contacted Sun and the support claimed that when uadmin is issued it should be logged in the messages log but after some time of discussion he agreed that the messages log do not log it but does not know why.

Anybody know more details on this command, what is the different between it and "reboot" and why it is behaving like this if this is the proper behavior?

I have already considerable amount of time searching so any response is might be helpful and appreciated.
 
uadmin(1M)																uadmin(1M)

NAME
uadmin - administrative control SYNOPSIS
/usr/sbin/uadmin cmd fcn [mdep] /sbin/uadmin cmd fcn [mdep] The uadmin command provides control for basic administrative functions. This command is tightly coupled to the system administration proce- dures and is not intended for general use. It may be invoked only by the super-user. Both the cmd (command) and fcn (function) arguments are converted to integers and passed to the uadmin system call. The optional mdep (machine dependent) argument is only available for the cmd values of 1 (A_REBOOT), 2 (A_SHUTDOWN), or 5 (A_DUMP). For any other cmd value, no mdep command-line argument is allowed. When passing an mdep value that contains whitespaces, the string must be grouped together as a single argument enclosed within quotes, for example: uadmin 1 1 "-s kernel/unix" See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ uadmin(2), attributes(5) On systems, shutting down the system by means of uadmin does not update the boot archive. Avoid using this command after manual editing of files such as /etc/system or driver.conf(4). 11 Apr 2005 uadmin(1M)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy