Microsoft Virtualization Discussions

How many RSH session can I filer have open?

BrendonHiggins

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

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

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

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

rle
NetApp Alumni

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 -

chriskranz

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.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public