RQM: Add shared resource from Windows to RQM server on Linux?
Hello,
Did anyone use JTS/RQM server on Linux and add shared resources from Windows to the RQM project?
For example, the test scripts of Rational Functional Tester are located on a Windows box with share \\hostname\project_name, how can we add this resource to the RQM project which use JTS/RQM server on Linux? Do we have to install NFS server on Windows and do the NFS export/mount?
Thanks and Regards
Frank
2 answers
The way to do it is to mount the windows share using smb (the protocol used for windows share). This article gives an example of mounting a windows share on to a linux file system:
If that doesn't work, another way to mount a windows share on linux is via Samba's smbmount command.
Once the windows share is mounted, it appears in the local filesystem structure of linux. If your mount point is /mnt/win, then that is the location that you would configure RQM to use as the share location. To RQM this will appear as a local directory and will work via shared resource locations.
Here is an example command for RHEL 6 machine.
mount -t cifs //machinename/tneal -o username=userid,password=XXXXXX /mnt/WinShare
Note that if you need to use domain id/password then specify the username in the form id@domain. Also note that the mount(8) command usually requires root(super-user) access to execute. After the above command is executed you can access the files in the Windows share via /mnt/WinShare (or whatever directory you specify).
Thanks Kurtis and Tom to help me compile this answer.
If that doesn't work, another way to mount a windows share on linux is via Samba's smbmount command.
Once the windows share is mounted, it appears in the local filesystem structure of linux. If your mount point is /mnt/win, then that is the location that you would configure RQM to use as the share location. To RQM this will appear as a local directory and will work via shared resource locations.
Here is an example command for RHEL 6 machine.
mount -t cifs //machinename/tneal -o username=userid,password=XXXXXX /mnt/WinShare
Note that if you need to use domain id/password then specify the username in the form id@domain. Also note that the mount(8) command usually requires root(super-user) access to execute. After the above command is executed you can access the files in the Windows share via /mnt/WinShare (or whatever directory you specify).
Thanks Kurtis and Tom to help me compile this answer.
Comments
Sean Lee-Loy
Feb 04 '13, 8:46 p.m.