Microsoft Virtualization Discussions

How many RSH session can I filer have open?

BrendonHiggins
4,669 Views

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

1 ACCEPTED SOLUTION

martin_fisher
4,669 Views

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

View solution in original post

4 REPLIES 4

martin_fisher
4,670 Views

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

BrendonHiggins
4,669 Views

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

chriskranz
4,669 Views

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
NetApp Alumni
4,669 Views

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 -

Public