Wednesday, May 30, 2012

NetApp Volume Copy Tutorial

Steps:


1. We can do the volume copy on the same filer or different filer.
2. We need the destination volume is same size of source or higher.
3. Destination volume should be in restricted mode.


FASSENTHIL> vol create volcop1 senthil_aggr 100m


Enable the rsh.


FASSENTHIL> options rsh.enable on


Add an entry in the /etc/hosts.equiv  ( Both the Filers)




FASSENTHIL> wrfile -a /etc/hosts.equiv   10.0.0.155  


FASSENTHIL> rdfile /etc/hosts.equiv


FASSENTHIL > cifs shares -add myshare /vol/volcop1


Access from windows box, and add some files.


FAS5051> vol create volclone senthil_agr1 100m


FAS5051> vol restrict volclone




In the source filer,


FASSENTHIL> vol copy start -S volcop1 FAS5051:volclone


To check the status of this run the below command.


FASSENTHIL> vol copy status


Other commands:


vol copy abort [operation Number]
options vol.copy.throttle[value]


Make the destination volume as online.


FAS5051> vol online volclone


FAS5051> cifs shares -add  clone_share  /vol/volclone 




Screen Shots:


vol status on both the filers.



Check the options rsh.enable on





Restrict the destination volume.


vol restrict volclone









Add the entries in the /etc/hosts.equiv  file.





Start the volume copy in the source filer.


FAS> vol copy start -S volvop1 FAS5051:volclone




If you want to check the status of copy,


vol copy status







Adding cifs shares.



Accessing the cifs share from the windows server 






Make the volume is online.


FAS5051> vol online volclone


Add this volclone to a cifs shares.


cifs shares -add clone_share /vol/volclone






Access from windows server.









All the Best ........................................


Senthilkumar Muthusamy





Tuesday, May 29, 2012

NetApp Snapmirror Tutorial

Step by Step Snapmirror configuration in NetApp Filers.



Snapmirror is an licensed utility in Netapp to do data transfer across filers. Snapmirror works at Volume level or Qtree level. Snapmirror is mainly used for disaster recovery and replication.
Snapmirrror needs a source and destination filer.






A) Enable Snapmirror on source and destination filer

FASSENTHIL> options snapmirror.enable 
snapmirror.enable            on
 
FAS5051> options snapmirror.access
 
snapmirror.access            on


B) Access the NetApp oncommand System manager and login to the source ans destination filers.

 Click the Snapmirror in source Filer and click create.



NetApp snapmirror creation wizard.


Select the filer as Source or Destination.


Select the Volume or Qtree. Source and Destination we need same size of volume.
And also restrict the volume in the destination filer.




Destination Filer information.




Select the volume or qtree.


Setting up a snapmirror schedule. This will update in the /etc/snapmirror.conf file.
This is also in the destination Filer.



 Setting up a schedule and initialize the base line sync.


 Network bandwidth Allocation for this snapmirror.


NetApp snapmirror creation summary



Now, the base line mirror started. The status is in the Transfer mode.


Snapmirror configured successfully.

FAS5051 ---- Source




FASSENTHIL --- Destination





Checking in the CLI.

FAS5051> snapmirror status




FASSENTHIL> snapmirror status





This is CLI tutorial.

Update the host information in the DNS server or edit /etc/hosts file.

Setting up options.




Destination filer restrict the volume.

FAS5051> vol restrict vol123
FAS5051> vol status vol123




In the destination filer, edit the snapmirror.conf file.

FAS5051> wrfile -a /etc/snapmirror.conf

FASSENTHIL:vol123  FAS5051:vol123  -0-55/5 * * *




FAS5051(Destination)> snapmirror on


FASSENTHIL(Source)> snapmirror on


In the destination filer,

FAS5051> snapmirror initialize -S FASSENTHIL:vol123  FAS5051:vol123

FAS5051> snapmirror status -l




snapmirror status -l





All the best...............................................

Senthilkumar Muthusamy




Tuesday, May 15, 2012

How to Configure VMwareHA Cluster

Step by Step tutorial for configuring the VMwareHA Cluster.

1. We need two ESXi 5.0 servers.
2. Install and configure the vCenter Server.
3. Add the esxi hosts to data center.
4. NAS or SAN Storage data store is required.
5. NAS or SAN Storage is added to both the ESXi servers.

Then, right click the data center and create New Cluster.


Type the cluster name and select the vmwareHA.



HA Cluster configuration Summary.


Cluster created successfully. Now you add the esxi hosts to the cluster.



Esxi hosts are added to the cluster successfully.



For testing the HA, shutdown the any one Esxi server. The vm is in that Esxi server will move to another Esxi server immediately using vmotion.




Now shutdown process has started,


If you see,  the senthil_san(VM) moved to another Esxi Server.



Configuring VMwareHA Demo.




Sunday, May 13, 2012

How to add a NAS (NFS) share to vSphere Server


vCenter Configuration and Adding NFS share to ESX server.

1. Login to Vcenter server using vsphereclient.








2. Click Host & Clusters.




3. Go to HOST and select the Configuration tab there select storage.


4. Click Add Storage.
Disk/LUN or NAS




5. Hostname or ipaddress of NAS Filer. Share Directory Name. Datastore Name.



6.  Now the new data store is added to the ESX server.


 7. Check with the summary of the HOST. Now you can create a virtual machine in the new data store.


 8. Creating a new virtual machine. Right click the host and create VM.



9. Name of the Virtual Machine and select the datacenter.


10. Select the data store. Now you select the NAS data store.



11. New virtual machine created and using the new NAS data store.


All the Best .....................................................................


Senthilkumar Muthusamy