1834450 Members
2340 Online
110067 Solutions
New Discussion

Re: Multiple SAM session

 
SOLVED
Go to solution
mvr
Regular Advisor

Multiple SAM session

Could SAM be setup so it could be opened more than one session at the time ???

Miro
6 REPLIES 6
Marco Santerre
Honored Contributor
Solution

Re: Multiple SAM session

I'm not sure what you are referring to, but I can run multiple SAM sessions. The only thing is I get a warning when I open up a second SAM session telling me that I may have "undesired results" because another session is also running. That doesn't mean you can't do anything, just that if someone is using SAM to do something similar to you, one of you two may not see their changes or may reboot the machine while you're in the middle of your change.
Cooperation is doing with a smile what you have to do anyhow.
melvyn burnard
Honored Contributor

Re: Multiple SAM session

You can run more than one SAM session at a time, but I would do so VERY Carefully!!!
As it warns you, you could end up wiht unpredictable results.
I advise against it.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Pete Randall
Outstanding Contributor

Re: Multiple SAM session

Miro,

I would be cautious about having multiple simultaneous SAM sessions. The warning is there for a good reason. If you really need this functionality, look into restricted SAM (sam -r) to see if you can set it up to eliminate potential conflicts. You don't want two people playing with kernel parameters at the same time.

Pete

Pete
eran maor
Honored Contributor

Re: Multiple SAM session

Hi

you can open few session of SAM ( not from the same terminal ) but it is not recommend .

most of the time you are trying to change config with the SAM and if someone will do a change it can not update correctry if you are doing it both .

i have a hp-ux 11.00 and i run 2 SAM .
when i run the second SAM session i got a message that is warning me on this issue
love computers
Alex Glennie
Honored Contributor

Re: Multiple SAM session

Running more than one SAM session from the same terminal port is not
allowed. SAM was unable to obtain a lock on the SAM session lock file
for this terminal port, "/var/sam/lock/lock_7", probably because
another SAM session has already been launched from this terminal port
and it owns the lock on the file.


the above error only occurs when the sam command is run in the same terminal !
mvr
Regular Advisor

Re: Multiple SAM session

Thank you all. The conclusion is not to run more than one SAM session at the time....

Miro