Hi,
I've got an environment of 30+ controllers, some with NFS licensed and some without, but all with CIFS. I'm trying to figure out a way to push drive qual files (and eventually the firmware files) to all the controllers without going one-at-a-time (batch vs. by hand). 30+ means I can't mount them all via CIFS at the same time, and with half of them without NFS licensed I can't mount them via NFS to, say, a linux host. I was looking into using DFM to push the files to all the controllers, but it doesn't seem to work with anything but the config files it can pull off the controllers first.
Anyone have a favorite method?
An option would be to turn on ftp or tftp
--tmac
*Tim McCarthy* *Principal Consultant*
Clustered ONTAP Clustered ONTAP NCDA ID: XK7R3GEKC1QQ2LVD RHCE5 805007643429572 NCSIE ID: C14QPHE21FR4YWD4 Expires: 08 November 2014 Expires w/release of RHEL7 Expires: 08 November 2014
On Mon, Aug 5, 2013 at 10:14 AM, Scott Eno s.eno@me.com wrote:
Hi,
I've got an environment of 30+ controllers, some with NFS licensed and some without, but all with CIFS. I'm trying to figure out a way to push drive qual files (and eventually the firmware files) to all the controllers without going one-at-a-time (batch vs. by hand). 30+ means I can't mount them all via CIFS at the same time, and with half of them without NFS licensed I can't mount them via NFS to, say, a linux host. I was looking into using DFM to push the files to all the controllers, but it doesn't seem to work with anything but the config files it can pull off the controllers first.
Anyone have a favorite method?
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
That's a good idea. What I would do in this situation, from a secure linux admin server something like this...
for i in {1..30};do mkdir -p /data/filer$i/vol0; sudo mount -t cifs //filer$i/c$ /data/filer$i/vol0/ -o pass=pass,user=aduser;cp /tmp/qual_devices /data/filer$i/vol0/etc/;sudo umount /data/filer$i/vol0/ ; done
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of tmac Sent: Monday, August 05, 2013 10:39 AM To: Scott Eno Cc: Toasters Subject: Re: updating disk qual files on many controllers
An option would be to turn on ftp or tftp
--tmac
Tim McCarthy Principal Consultant
[http://dl.dropbox.com/u/6874230/na_cert_dma_2c.jpg] [http://dl.dropbox.com/u/6874230/rhce.jpeg] [http://dl.dropbox.com/u/6874230/na_cert_ie-san_2c.jpg]
Clustered ONTAP Clustered ONTAP NCDA ID: XK7R3GEKC1QQ2LVD RHCE5 805007643429572 NCSIE ID: C14QPHE21FR4YWD4 Expires: 08 November 2014 Expires w/release of RHEL7 Expires: 08 November 2014
On Mon, Aug 5, 2013 at 10:14 AM, Scott Eno <s.eno@me.commailto:s.eno@me.com> wrote: Hi,
I've got an environment of 30+ controllers, some with NFS licensed and some without, but all with CIFS. I'm trying to figure out a way to push drive qual files (and eventually the firmware files) to all the controllers without going one-at-a-time (batch vs. by hand). 30+ means I can't mount them all via CIFS at the same time, and with half of them without NFS licensed I can't mount them via NFS to, say, a linux host. I was looking into using DFM to push the files to all the controllers, but it doesn't seem to work with anything but the config files it can pull off the controllers first.
Anyone have a favorite method?
_______________________________________________ Toasters mailing list Toasters@teaparty.netmailto:Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
You can do this similarly with cifs and unc's. I assume the significance of 30+ is due to drive mappings? Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: Jordan Slingerland Jordan.Slingerland@independenthealth.com Sender: toasters-bounces@teaparty.net Date: Mon, 5 Aug 2013 14:53:24 To: tmactmacmd@gmail.com; Scott Enos.eno@me.com Cc: ToastersToasters@teaparty.net Subject: RE: updating disk qual files on many controllers
_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Correct. Not enough letters in the alphabet and my dfm host is win2008, although I cheated a bit by installing Cygwin and associated sshd service.
---- Scott Eno s.eno@me.com
On Aug 5, 2013, at 11:00 AM, Jack Lyons jack1729@gmail.com wrote:
You can do this similarly with cifs and unc's. I assume the significance of 30+ is due to drive mappings? Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: Jordan Slingerland Jordan.Slingerland@independenthealth.com Sender: toasters-bounces@teaparty.net Date: Mon, 5 Aug 2013 14:53:24 To: tmactmacmd@gmail.com; Scott Enos.eno@me.com Cc: ToastersToasters@teaparty.net Subject: RE: updating disk qual files on many controllers
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
I like this. I might just install VirualBox and bring up a CentOS vm just so I can do this.
I miss my old linux DFM/admin host.
On Aug 05, 2013, at 10:53 AM, Jordan Slingerland Jordan.Slingerland@independenthealth.com wrote:
That’s a good idea. What I would do in this situation, from a secure linux admin server something like this… for i in {1..30};do mkdir -p /data/filer$i/vol0; sudo mount -t cifs //filer$i/c$ /data/filer$i/vol0/ -o pass=pass,user=aduser;cp /tmp/qual_devices /data/filer$i/vol0/etc/;sudo umount /data/filer$i/vol0/ ; done From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of tmac Sent: Monday, August 05, 2013 10:39 AM To: Scott Eno Cc: Toasters Subject: Re: updating disk qual files on many controllers An option would be to turn on ftp or tftp
--tmac Tim McCarthy Principal Consultant Clustered ONTAP Clustered ONTAP NCDA ID: XK7R3GEKC1QQ2LVD RHCE5 805007643429572 NCSIE ID: C14QPHE21FR4YWD4 Expires: 08 November 2014 Expires w/release of RHEL7 Expires: 08 November 2014
On Mon, Aug 5, 2013 at 10:14 AM, Scott Eno s.eno@me.com wrote: Hi, I've got an environment of 30+ controllers, some with NFS licensed and some without, but all with CIFS. I'm trying to figure out a way to push drive qual files (and eventually the firmware files) to all the controllers without going one-at-a-time (batch vs. by hand). 30+ means I can't mount them all via CIFS at the same time, and with half of them without NFS licensed I can't mount them via NFS to, say, a linux host. I was looking into using DFM to push the files to all the controllers, but it doesn't seem to work with anything but the config files it can pull off the controllers first. Anyone have a favorite method?
_______________________________________________ Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
in Windows 2008, look at mlink, you can mount the CIFS shares to a file-system path and not worry about drive letter counts.
Matt
On Aug 5, 2013, at 7:39 AM, tmac tmacmd@gmail.com wrote:
An option would be to turn on ftp or tftp
--tmac
Tim McCarthy Principal Consultant
Clustered ONTAP Clustered ONTAP NCDA ID: XK7R3GEKC1QQ2LVD RHCE5 805007643429572 NCSIE ID: C14QPHE21FR4YWD4 Expires: 08 November 2014 Expires w/release of RHEL7 Expires: 08 November 2014
On Mon, Aug 5, 2013 at 10:14 AM, Scott Eno s.eno@me.com wrote: Hi,
I've got an environment of 30+ controllers, some with NFS licensed and some without, but all with CIFS. I'm trying to figure out a way to push drive qual files (and eventually the firmware files) to all the controllers without going one-at-a-time (batch vs. by hand). 30+ means I can't mount them all via CIFS at the same time, and with half of them without NFS licensed I can't mount them via NFS to, say, a linux host. I was looking into using DFM to push the files to all the controllers, but it doesn't seem to work with anything but the config files it can pull off the controllers first.
Anyone have a favorite method?
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters
Hi,
I've got an environment of 30+ controllers, some with NFS licensed and some without, but all with CIFS. �I'm trying to figure out a way to push drive qual files (and eventually the firmware files) to all the controllers without going one-at-a-time (batch vs. by hand). �30+ means I can't mount them all via CIFS at the same time, and with half of them without NFS licensed I can't mount them via NFS to, say, a linux host. �I was looking into using DFM to push the files to all the controllers, but it doesn't seem to work with anything but the config files it can pull off the controllers first.
Anyone have a favorite method?
Hi Scott,
If you set up public key access for ssh (no password prompt) then you could do this from a Unix host for each filer:
ssh root@filername 'wrfile /vol/vol0/etc/...' < filename
You could put the filer hostnames in a file called "filers" one per line and do it all with this command:
for filer in `cat filers`; do ssh root@$filer 'wrfile /vol/vol0/etc/...' < filename done
Or perhaps a better approach would be to put the install package on the web and do this:
for filer in `cat filers`; do ssh root@$filer 'software install http://webhost/file' done
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support