Operating System - HP-UX
1753674 Members
5175 Online
108799 Solutions
New Discussion юеВ

Re: what is the correct status(best or required) for asyncdsk...

 
SOLVED
Go to solution
noh019
Occasional Advisor

what is the correct status(best or required) for asyncdsk...

hi..

we are plan to async hp 11.23 U ia64 and oracle 9208-64bit.

Could you teach us,
what is the correct status(best? or required?) for asyncdsk.

"
# kcmodule -a | grep async
asyncdsk static best
#
"

or

"
# kcmodule -a | grep async
asyncdsk static required
#
"

please reply to me noh019@naver.com...

Thanks ...
8 REPLIES 8
Solution

Re: what is the correct status(best or required) for asyncdsk...

>> we are plan to async hp 11.23 U ia64 and oracle 9208-64bit.


you mean you are going to use raw datafiles with oracle? That's the _only_ reason you would be concerned about the asyncdsk driver in HP-UX for oracle.

>> what is the correct status(best? or required?) for asyncdsk

some modules in HP-UX have a "best" state as defined by the developers of HP-UX. This simply indicates the "default" state of the driver if you don't want to change it. (so currently the driver asyncdsk has a "best" state of being statically bound into the kernel - in the future HP may determine that the "best" state for this driver is "unused" - in which case its default state would be to not be in the kernel at all)

SO even though the chances that HP would ever change the "best" state for the driver asyncdsk are very small, the safest status for you if you are going to use asyncdsk in oracle is

asyncdsk static required

>> please reply to me noh019@naver.com...

this is a forum - it would be best if people replied here...

HTH

Duncan


I am an HPE Employee
Accept or Kudo
noh019
Occasional Advisor

Re: what is the correct status(best or required) for asyncdsk...

hi..

Thanks for your kindly reply...

we are currently "best" for asyncdsk.

Could you kindly teach us,
How can we change state of asyncdsk (from "best" to "required") ...

Thanks

Re: what is the correct status(best or required) for asyncdsk...

well thats just it - the "required" state is usually set when _another_ module depends on that driver... but for the life of me I can't think of any drivers which are dependent on asyncdsk. Maybe try running this little code snippet on the system that currently outputs "asyncdsk static required" :

kcmodule | sed 1d | awk '{ print $1 }' | while read mod
do
kcmodule -v ${mod} | sed -n '/Depends On/,$p' | grep -q asyncdsk && echo ${mod}
done


That should print out the name of any kernel module that "depends on" asyncdsk. On my system this returns nothing...

Anyway you can also explicitly bind the asyncdsk driver into the kernel by issuing the command:

kcmodule asyncdsk=static

which will cause "kcmodule -a|grep async" to output:

asyncdsk static explicit

which is probably the best setting anyway

HTH

Duncan

I am an HPE Employee
Accept or Kudo
noh019
Occasional Advisor

Re: what is the correct status(best or required) for asyncdsk...

hi..

Thanks for your kindly help...

Thanks a lot..
VK2COT
Honored Contributor

Re: what is the correct status(best or required) for asyncdsk...

Hello,

Unless something has changed since I checked
last time (I do not use HP-UX 11.23 for
several years now, all my servers are
HP-UX 11.31), here are the full details
about asyncdsk:

# kcmodule -v asyncdsk
Module asyncdsk [46397D1F]
Description Asynchronous Disk I/O Driver
State static (best state)
State at Next Boot static (best state)
Capable static unused
Depends On interface HPUX_11_23:1.0

As you can see, the driver can
be in two states only:

static (best state deemed by the designers)
unused

If you intend to use the asyncdsk,
the only valid state is "static".

What exactly are you trying to do?
And how does the above command
look on your server?

Cheers,

VK2COT
VK2COT - Dusan Baljevic
VK2COT
Honored Contributor

Re: what is the correct status(best or required) for asyncdsk...

Hello,

One more thing to add since I actually
teach HP-UX courses every week :)

Kernel modules have five possible states
on HP-UX 11.23 and above:

unused
static
auto
loaded
best

For each module, there is also a "state change", or "cause". In other words,
why the module state changed:

explicit
best
auto
required
depend

For example, the module which is in
"static explicit" mode is a static module
that was explicitly changed by system admin.
And so on.

More details are in courses like
H5875, HE776, and so on, or just look
in various documents on the net.

Therefore, YOU CANNOT CHANGE THE MODULE
to REQUIRED STATE.

Required state simply means the kernel
needs it.

So, you have asyncdsk in correct state
already.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
noh019
Occasional Advisor

Re: what is the correct status(best or required) for asyncdsk...

hi...

1>
###################################
we check our machine..

rx4640:[/] kcmodule -v asyncdsk
Module asyncdsk [43C376DF]
Description Asynchronous Disk I/O Driver
State static (best state)
State at Next Boot static (best state)
Capable static unused
Depends On interface HPUX_11_23:1.0

rx4640:[/]

2>
###################################
"
Therefore, YOU CANNOT CHANGE THE MODULE to REQUIRED STATE.

Required state simply means the kernel needs it.

So, you have asyncdsk in correct state already.
"

### THANKS FOR YOUR KINDLY HELP~~~ ###


noh019
Occasional Advisor

Re: what is the correct status(best or required) for asyncdsk...

Thanks for Duncan Edmonstone and VK2COT ..