ONTAP Discussions
ONTAP Discussions
Hi All,
I'm trying to look for a CLI command where i can identify the hosting filer name if I know the VFiler name
I'm not sure I understand the context of your question.
When logged on to the vfiler itself you get the hosting filer name as part of your prompt:
sim1vf1@sim1>
From a remote host ?
Use rsh to 'source' two line script on the vfiler so you see the prompt ?
I hope this response has been helpful to you.
At your service,
Eugene Kashpureff
NetAppU Instructor and Independent Consultant
(P.S. I appreciate points for helpful or correct answers.)
Hi Eugene Kashpureff,
Firstly I want to thank you for replying to my question.
But my question is in our environment we can only do rsh to the vfiler and I was not able to find the physical filer through rsh.
Can you kindly help me a way out identifying the physical filer name based on the vfiler.
Create a simple script to place in /etc of the vfiler. Call it /etc/whichfiler
Script could read:
hostname
hostname
Then, from your admin host:
rsh vfiler 'source /etc/whichfiler'
the command prompt should be part of the output, which you can then parse to get the hosting filer name.
I hope this response has been helpful to you.
At your service,
Eugene Kashpureff
NetAppU Instructor and Independent Consultant
(P.S. I appreciate points for helpful or correct answers.)
Hmmm, source doesn't give you prompt.
Interesting problem!
Playing with this on my simulator now ...
- Eugene
Im not sure if this is even possible.
By having a vFiler you are securely seperating out your storage resources; if you were able to identify the physical filer details from the vFiler it would be a serious security concern.