Microsoft Virtualization Discussions

Anyway to access /mroot/etc/log/mlog using PS Toolkit?

rmatsumoto

Right now when we want to look through some logs on our cDOT clusters, we do it the old fashioned way using putty:  Login and then login to systemshell again as diag and then navigate to /mroot/etc/log/mlog(or any directories under /mroot in general).  Is there a way to look at the files under /mroot using Read-NcFile, like "Read-NcFile /mroot/etc/log/mlog/messages.log -Controller Cluster1-Node1"? 

1 ACCEPTED SOLUTION

markweber

try:

Read-NcFile -Path /vol/vol0/etc/log/mlog/command-history.log -VserverContext Cluster1-Node1

View solution in original post

2 REPLIES 2

markweber

try:

Read-NcFile -Path /vol/vol0/etc/log/mlog/command-history.log -VserverContext Cluster1-Node1

View solution in original post

rmatsumoto

Thanks!  Works like a charm.

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