Subscribe
Accepted Solution

How many RSH session can I filer have open?

I am looking into creating a script which will open a RSH session from a Windows host and then pass a command to a filer.  Some of these commands will take many minutes to complete and then release the RSH session.  I have many hosts (50+) which may communicate with the filers via RSH.  With this in mind, how many active session can a filer have via RSH?

Thanks

Bren

Re: How many RSH session can I filer have open?

I knew it was more than Telnet, but didnt expect it to be this many.. !

Have a quick look at the link:

https://now.netapp.com/Knowledgebase/solutionarea.asp?id=ntapcs186

24 should be enough!.. and your hosts.equiv file must be a long list as well

Re: How many RSH session can I filer have open?

Cheers mate, don't know how I missed that one.  24 may not be enough for my cunning plan so may need a look at the NetApp powershell stuff again.

Bren

Re: How many RSH session can I filer have open?

You can daisy chain commands within an SSH session to make them more efficient. Just seperate each command with a ";" to execute them in sequence.

rle Former NetApp Employee

Re: How many RSH session can I filer have open?

You can use the API rsh-get-stats to monitor the number of active rsh sessions.

[rle@bitter]{/u/rle} ontapi toaster root passwd rsh-get-stats
<results status="passed">
        <session-invocations>65559</session-invocations>
        <current-active-sessions>0</current-active-sessions>
        <active-high-sessions>2</active-high-sessions>
        <max-available-sessions>24</max-available-sessions>
        <rsh-sessions/>
</results>

That way, you can monitor your rsh sessions.

Regards,

   - Rick -