cancel
Showing results for 
Search instead for 
Did you mean: 

CVSDM issues

 
Jarheadatheart
Regular Advisor

CVSDM issues

I had to reinstall CVSDM 1.09.02 on one of my HP servers due to a crash. The system is an RP7420 running hp-ux 11.11

The install went perfectly no errors/warnings reported.

However if I run:
# armdiscover
This could take several minutes ...

Failed to obtain remote database interface to host: localhost

none of my arm command work at all..... anyone have any thoughts?
25 REPLIES
Jarheadatheart
Regular Advisor

Re: CVSDM issues

# armdsp -i
Error logging in: TIMEOUT EXPIRED



IOSCAN IS ATTACHED
TTr
Honored Contributor

Re: CVSDM issues

Is the SDM service running? Or did you even install the CVSDM server?

CVSDM is a two fileset product client and server. Run

swlist -l fileset |grep SDM

and post the output.
Jarheadatheart
Regular Advisor

Re: CVSDM issues

Yes services are running.


Yes I installed both files-sets.
# swlist -l fileset | grep SDM
# HPCVVACLI 1.09.02 hp StorageWorks Command View SDM - VA client
# HPCVVASVR 1.09.02 hp StorageWorks Command View SDM - va server
TTr
Honored Contributor

Re: CVSDM issues

The old database may still be there form the previous installation. Do the two steps in the 4th reply from the bottom in
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=641446

The DeviceDBFile is not part of the fileset and does not get deleted during an swremove so you may be still using the old dbfile with the new install.
Jarheadatheart
Regular Advisor

Re: CVSDM issues

TTR, I already took those steps (to no avail)right after I did the re-install.
TTr
Honored Contributor

Re: CVSDM issues

You should have two SDM server processes running, they are java jobs running out of /opt/sanmgr/jre/bin/PA_RISC2.0/java
Verify that they are running.

Check if there are any cvsdm errors in the sylog.

Ensure that there were no errors when you swinstall-ed cvsdm

If all else fails, uninstall both cvsdm server and client, *delete* the /opt/sanmgr directory tree and reinstall the cvsdm server and client.
TTr
Honored Contributor

Re: CVSDM issues

> If all else fails, uninstall both cvsdm server and client, *delete* the /opt/sanmgr directory tree and reinstall the cvsdm server and client.

Before re-installing also delete the /var/opt/sanmgr and /etc/opt/sanmgr directory trees.
Jarheadatheart
Regular Advisor

Re: CVSDM issues

TTR,

I did that exactly........ still get the same errors.
Jarheadatheart
Regular Advisor

Re: CVSDM issues

Update:

I had to go out of town to work on a production system so I am back now and on task to fix this.

I stopeed the dialers renamed DeviceDBFile and started the dialer again and the error "java.lang.OutOfMemoryError: unable to create new native thread" appeared when I tried to run armdiscover........

I did a search for this error, but it all looks like a foreign language to me. Idea's?
Jarheadatheart
Regular Advisor

Re: CVSDM issues

Full error reads as "Remote discovery failed with exception: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread"
Torsten.
Acclaimed Contributor

Re: CVSDM issues

most like the maxthreads value is too low. this is likely also mentioned in the swinstall log.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: CVSDM issues

max_thread_proc is the parameter.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: CVSDM issues

Torsten, do you happen to kno what file that parameter is in?
Torsten.
Acclaimed Contributor

Re: CVSDM issues

It's a kernel parameter, normally set to 64. Increase it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
TTr
Honored Contributor

Re: CVSDM issues

This error could also be the result of java requesting a large shared memory segment and the server does not have enough contiguous memory to allocate one.
This error may be totally different than the original error, in this case, java can't start up, the original error was that you could not see the disks.

You could try starting the dialer service again at a later time when the server activity is much less and possibly more memory is available.
Jarheadatheart
Regular Advisor

Re: CVSDM issues

right!

Should be PTHREAD_THREADS_MAX and _SC_THREAD_THREADS_MAX defined in /usr/include/limits.h.


but they aren't there.
Torsten.
Acclaimed Contributor

Re: CVSDM issues

What is the value of max_thread_proc?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: CVSDM issues

See also

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1272994878026+28353475&threadId=825300

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=954693

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: CVSDM issues

Torsten, I get a pattern not found.
Jarheadatheart
Regular Advisor

Re: CVSDM issues

Now, whenever I retry armdiscover I get:

Remote discovery failed with status: A discovery is already in progress


This has been displaying for almost an hour.
Torsten.
Acclaimed Contributor

Re: CVSDM issues

>> Torsten, I get a pattern not found.

What command issued?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: CVSDM issues

I justed used vi and did a /max_thread_proc
Torsten.
Acclaimed Contributor

Re: CVSDM issues

Try

# kmtune -q max_thread_proc


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: CVSDM issues

# kmtune -q max_thread_proc
Parameter Current Dyn Planned Module Version
===============================================================================
max_thread_proc 64 - 64

I got ya.

If I change the setting since it is a kernel parameter, will it require me to reboot? Cause thi sis a production system.