| Author | Message | 
		
		  | jeevan | 
			  
				|  Posted: Sun Mar 01, 2015 2:44 pm    Post subject: MQ MI shared storage setup |   |  | 
		
		  | Grand Master
 
 
 Joined: 12 Nov 2005Posts: 1432
 
 
 | 
			  
				| I am trying to setup a DR for MQ using MQ MI at my laptop.  I am setting up a vm as a storage server and create  a iscsi target/LUN  which I can mount to  one of the two servers( vm here). I then need to setup  NFS server in that vm and export that directory which I can access from other box ( the 2nd box need to configure as nfs client). 
 I have worked with MQ MI but have not configured the shared storage myself.
 
 
 Appreciate your input,
 
 Thanks
 J
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | jeevan | 
			  
				|  Posted: Sun Mar 15, 2015 12:53 pm    Post subject: Re: MQ MI shared storage setup |   |  | 
		
		  | Grand Master
 
 
 Joined: 12 Nov 2005Posts: 1432
 
 
 | 
			  
				| 
   
	| jeevan wrote: |  
	| I am trying to setup a DR for MQ using MQ MI at my laptop.  I am setting up a vm as a storage server and create  a iscsi target/LUN  which I can mount to  one of the two servers( vm here). I then need to setup  NFS server in that vm and export that directory which I can access from other box ( the 2nd box need to configure as nfs client). 
 I have worked with MQ MI but have not configured the shared storage myself.
 
 
 Appreciate your input,
 
 Thanks
 J
 |  
 All,
 
 I am eventually able to seutp MQ MI between my two vms running Centos 6.6 and nfs 4.
 
 It was quite easy in fact. Just need to create nfs share with same name as in the first server.  Then just follow the doc and worked.
 
 I am including the developerworks article in case some one is interested
 
 http://www.ibm.com/developerworks/websphere/library/techarticles/1006_sampige/1006_sampige.html
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | nelson | 
			  
				|  Posted: Sun Mar 15, 2015 5:23 pm    Post subject: |   |  | 
		
		  |  Partisan
 
 
 Joined: 02 Oct 2012Posts: 313
 
 
 | 
			  
				| jeevan, thanks for sharing. 
 If it's not too much trouble, could you please share the guide/links/steps to setup the nfs 4 server?  I've tried some Google results but at some point they fail.. I have had no luck so far...
  |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | jeevan | 
			  
				|  Posted: Mon Mar 16, 2015 10:25 am    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 12 Nov 2005Posts: 1432
 
 
 | 
			  
				| 
   
	| nelson wrote: |  
	| jeevan, thanks for sharing. 
 If it's not too much trouble, could you please share the guide/links/steps to setup the nfs 4 server?  I've tried some Google results but at some point they fail.. I have had no luck so far...
  |  
 In fact this is my working note. I have not been able to organize it nicely but it worked. The urls at the end will help you if you have anything unclear. I used these urls. I also watched a few videos in youtube.
 
 Install
 
 install nfs-utils nfs-utils-lib  and check to make sure it is installed (yum install -y  nfs-utils nfs-utils-lib/ rpm -qa | grep nfs-utils)
 
 define the share in the following directory
 
 vi /etc/export (provide the directory to share and where to share it to and the options eg. /share     *(ro,async)
 exportfs -rv
 
 service nfs start
 
 showmount -e server ip . showmount -e 192.168.1.17
 Export list for 192.168.1.17:
 /MQHA      192.168.1.13
 /opt/share 192.168.1.13
 
 -------------------------------------------------------------------------------------
 
 At client
 =====
 yum install nfs-utils nfs-utils-lib
 mount  nfsserver ip:/share /dir
 Finally do a df -h.
 nfsstat -m-- gives the version of nfs installed
 
 Useful urs
 ======
 https://www.howtoforge.com/setting-up-an-nfs-server-and-client-on-centos-6.3
 
 https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-centos-6
 
 http://linuxconfig.org/how-to-configure-nfs-on-linux
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | nelson | 
			  
				|  Posted: Mon Mar 16, 2015 11:33 am    Post subject: |   |  | 
		
		  |  Partisan
 
 
 Joined: 02 Oct 2012Posts: 313
 
 
 | 
			  
				| jeevan, thanks a lot for your reply! Definitively will help. |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | Gaya3 | 
			  
				|  Posted: Mon Mar 16, 2015 1:26 pm    Post subject: |   |  | 
		
		  |  Jedi
 
 
 Joined: 12 Sep 2006Posts: 2493
 Location: Boston, US
 
 | 
			  
				| i believe nfs 4 is having some issues... _________________
 Regards
 Gayathri
 -----------------------------------------------
 Do Something Before you Die
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | jeevan | 
			  
				|  Posted: Mon Mar 16, 2015 1:45 pm    Post subject: |   |  | 
		
		  | Grand Master
 
 
 Joined: 12 Nov 2005Posts: 1432
 
 
 | 
			  
				| 
   
	| Gaya3 wrote: |  
	| i believe nfs 4 is having some issues... |  
 What kind of issue? Does it have any impact on Multiinstance Queue Manager?
 
 I just wanted to test and it worked.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |