Subscribe: The NetApp Filers Blog
http://filers.blogspot.com/feeds/posts/default
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
iface target  iqn reduxio  iqn  red portal  red  reduxio red  reduxio  root mktgmysql  root  session  target iqn  web  zone 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: The NetApp Filers Blog

The Storage Blog



Tips and tricks on various storage arrays.



Updated: 2017-02-08T20:43:04.072-08:00

 



Create a multi-session setup in VMWare ESXi v5.x

2014-01-27T14:36:50.285-08:00

~ # esxcli iscsi session list
vmhba37,iqn.2013-12.com.reduxio:alpha1,00023d000001
   Adapter: vmhba37
   Target: iqn.2013-12.com.reduxio:alpha1
   ISID: 00023d000001
   TargetPortalGroupTag: 1
   AuthenticationMethod: none
   DataPduInOrder: true
   DataSequenceInOrder: true
   DefaultTime2Retain: 0
   DefaultTime2Wait: 2
   ErrorRecoveryLevel: 0
   FirstBurstLength: 65536
   ImmediateData: true
   InitialR2T: true
   MaxBurstLength: 262144
   MaxConnections: 1
   MaxOutstandingR2T: 1
   TSIH: 256
~ #
~ # esxcli iscsi session add -A vmhba37
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1

(image)



Create a multi-session iSCSI setup in Linux

2013-12-11T07:00:24.168-08:00

root@mktgmysql3:~#  iscsiadm --mode session
tcp: [1] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session
tcp: [1] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [2] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session -r 1 --op new
Logging in to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] (multiple)
Login to [iface: default, target: iqn.2013-12.com.reduxio:red2, portal: 172.17.40.35,3260] successful.
root@mktgmysql3:~# iscsiadm --mode session
tcp: [1] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [2] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [3] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [4] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [5] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [6] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [7] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
tcp: [8] 172.17.40.35:3260,1 iqn.2013-12.com.reduxio:red2
root@mktgmysql3:~#

(image)



Rescan the disks in Linux

2013-12-02T06:36:34.952-08:00

root@mktgmysql3:/usr/local/mysql/data.bak# echo "- - -" > /sys/class/scsi_host/host2/scan
root@mktgmysql3:/usr/local/mysql/data.bak# lsscsi
[1:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR10 1.00  /dev/sr0
[2:0:0:0]    disk    VMware   Virtual disk     1.0   /dev/sda
[2:0:1:0]    disk    VMware   Virtual disk     1.0   /dev/sdc
[4:0:0:0]    storage IET      Controller       0001  -
[4:0:0:154]  disk    REDUXIO  TCAS             23    /dev/sdb

(image)



EtherChannels in Cisco Nexus 5000

2013-07-14T23:52:06.416-07:00

Base on Cisco article  http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli_rel_4_0_1a/EtherChannel.html#wp1115459

interface Ethernet105/1/11
  switchport mode trunk
  switchport access vlan 814
  switchport trunk allowed vlan 814
  no snmp trap link-status
  no logging event port link-status
  channel-group 2000

interface Ethernet105/1/12
  switchport mode trunk
  switchport access vlan 814
  switchport trunk allowed vlan 814
  no snmp trap link-status
  no logging event port link-status
  channel-group 2000

interface port-channel2000
  description Legato bond0 B5
  switchport mode trunk
  switchport access vlan 814
  switchport trunk allowed vlan 814(image)



Opening a kernel profiling

2013-07-14T23:48:09.964-07:00

# opreport --merge all cpu:0  -l /root/NC/mybinary  -g |head(image)



How to start compression?

2012-05-26T16:14:55.923-07:00

In Data ONTAP 8.1:

sis start /vol/vol1 -U true -C true(image)



How to arrange for keyless SSH

2012-05-26T16:13:23.905-07:00

ssh-keygen -t dsa

cat /root/.ssh/id_dsa.pub >> /mnt/toaster0/etc/sshd/root/.ssh/authorized_key(image)



More on NAS management

2011-05-16T15:57:22.099-07:00

src="http://rcm.amazon.com/e/cm?t=the072d-20&o=1&p=8&l=bpl&asins=0596001533&fc1=000000&IS2=1<1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;"align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"> For an excellent overview of SANs and NAS read O'reilly's own bible type of book. Albeit somewhat outdated, the NAS management chapter does cover important aspects of managing a NAS system, and educates the reader on advanced topics such as CIFS oplocks.(image)



Windows Memory Management

2010-06-03T20:45:40.858-07:00

A very interesting article:
RAM, Virtual Memory, PageFile and all that stuff
http://members.shaw.ca/bsanders/WindowsGeneralWeb/RAMVirtualMemoryPageFileEtc.htm
(image)



How to reset a Cisco switch/router to factory defaults?

2009-11-01T03:14:50.240-08:00

erase startup-config
reload(image)






Default NAS Vendors Passwords

2010-07-11T00:40:42.512-07:00

NetApp
CLI/GUI - root, no password

EMC Celerra
CLI/GUI - nasadmin, nasadmin

BlueArc
SMU Web Manager - admin, nasadmin
SMU CLI - manager, nasadmin
SMU - root, nasadmin
Titan Server (CLI) - supervisor, supervisor

Isilon
CLI/GUI - root, a

LSI OnStor
CLI/GUI - root, back-door(image)



Sending a terminal break in Cisco switches

2009-10-01T06:30:45.998-07:00

CTRL-SHIFT-6(image)



How to quickly create a Solaris zone?

2009-07-23T04:13:39.546-07:00

sh-3.00# zonecfg -z web1-zone
web1-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:web1-zone> create
zonecfg:web1-zone> set zonepath=/export/home/zones/web1-zones
zonecfg:web1-zone> set autoboot=true
zonecfg:web1-zone> add net
zonecfg:web1-zone:net> set address=10.1.70.233
zonecfg:web1-zone:net> set address=10.1.70.233/24
zonecfg:web1-zone:net> set physical=bge1
zonecfg:web1-zone:net> end
zonecfg:web1-zone> set pool=email-pool
zonecfg:web1-zone> verify
zonecfg:web1-zone> commit
zonecfg:web1-zone> exit
sh-3.00#

Install the zone:

sh-3.00# zoneadm -z web1-zone install
Preparing to install zone .
Creating list of files to copy from the global zone.
Copying <2528> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1023> packages on the zone.
Initialized <1023> packages on zone.
Zone is initialized.
Installation of these packages generated warnings:
The file
contains a log of the zone installation.

Reboot the zone:

[root@cookie:~]>zoneadm -z web1-zone boot

Connect to the zone:

sh-3.00# zlogin -C web1-zone(image)



How to change a Solaris zone netmask?

2009-07-20T23:56:49.234-07:00

So it's all in /etc/zones/.xml but they tell you not to touch it.

In here:
http://forums.sun.com/thread.jspa?threadID=5075758

They tell you to run this:

zonecfg -z email-zone
zonecfg:email-zone> remove net address=10.1.30.232
zonecfg:email-zone> add net
zonecfg:email-zone:net> set address=10.1.70.232/24
zonecfg:email-zone:net> set physical=bge0
zonecfg:email-zone:net> end
zonecfg:email-zone> commit
zonecfg:email-zone> exit

Use this format for new-ip to configure a specific subnet mask: 10.1.30.232/24.
(image)



NetApp SDK

2009-05-03T00:02:36.996-07:00

http://communities.netapp.com/docs/DOC-1110(image)



Where to find ONTAP manpages

2009-04-11T02:10:37.931-07:00

You can download the latest documentation set in zip format, and then install it right on a filer, and access it from the web.(image)



Debugging security with sectrace

2009-02-01T03:11:39.380-08:00

A new command called "sectrace" can help debug security problems (e.g. user cannot chown a file with NT ACL).

sectrace add -a -path /vol/software

will produce meesages such as these:

Sun Feb 1 13:10:52 IST [jim: sectrace.filter.allowed:info]: [sectrace index: 2] Access allowed because 'Synchronize, Read Attributes' permission (0x100080) is granted on file or directory (Access allowed by an explicit access control entry) - Status: 1:58720452:0:0 - 10.1.20.107 - NT user name: support\administrator - UNIX user name: root(0) - Qtree security style is NTFS and NT ACL is set on file/directory - Path: /vol/software/

Typically there is no need to use -a since you only want to debug DENY replies.(image)



Migrate Data with Robocopy

2009-01-20T04:01:24.924-08:00

robocopy C:\ \\\ /MIR /COPYALL /Z /LOG:C:\Robocopy.txt /R:0 /W:0 /NP /XD RECYCLER "System Volume Information" ~snapshot(image)



EMC Celerra Default Login

2009-01-20T03:59:50.108-08:00

Login: root
Password: nasadmin(image)



Checking exports from EMC Celerra

2008-09-21T11:08:40.346-07:00

server_export ALL -list(image)



Next Generation Filesystems

2007-08-01T08:04:21.111-07:00

OK, I'm proud of it - I have a webcast with Tony Asaro about next-generation filesystems and enterprise search - and how we at Exanet are changing the map:
http://go.techtarget.com/r/1901030/6000445(image)



NetApp for Dummies

2007-06-11T01:08:15.349-07:00

If you are a newbie in NetApp and looking for information try:
  • Tech Library
  • Wikipedia has a few interesting articles on the technologies around NetApp: NAS, iSCSI, NFS, CIFS

    If you are a customer/partner login to NOW Website and go to Documentation.(image)



  • Stupid Storage Blog

    2007-05-30T13:23:00.488-07:00

    I just wanted to notify all of you that I maintain a funny storage blog called the Stupid Storage Blog which offers a nice opportunity to smile a little bit during your busy day with some stupid storage jokes or better yet low-level gigs... :-) Enjoy.(image)



    NetApp Filers Blog Reborn

    2007-05-11T23:17:18.885-07:00

    Hi everyone!

    It's been a while since I started this blog, and it's been quite fun to see its rapid growth from literally zero visits a month to over 80 a day.

    I have decided to refresh the look & feel a bit, and make it more user friendly and useful.

    I'll be happy to hear any comments on the content, and whether you'd like to see focused blog such as this one on competitive products.

    Dr. Toaster.(image)