New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Captain Captain
Captain
3678 views

Help - Lost Object Repository stored in ALM

Jump to solution

Help please...

 

We have an object repostory that was created and stored in ALM that has now gone missing.  The resource still exists, it looks like the file is still attached, but when we go to view or download the tsr file, it just tells me the QTP viewer is not available. 

 

I figured I could just grab the file off the server, but I cannot make sense of the directory structure - they all just numbers...  

 

Any thoughts/suggestions?    Getting a restore from our IT department could take a long time, plus I don't know the last time it was ok.   

 

(I did go through and try to read past versions with no luck)

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

You can browse the smart repository by enabling FTP in ALM, and using an FTP client such as Filezilla to find the attachment / file your after.

 

The HP KB article explains how to do this : http://support.openview.hp.com/selfsolve/document/KM1088949

 

here is an extract from the KB:

 

With the new SMART Repository feature, first introduced with ALM 11, it's not possible to see the filenames, dates, etc., of the physical files anymore.  This is an issue for performing maintenance, editing workflow scripts, archiving old files to name a few.

 

 

 
The problem
 
 
 
 
 
So far, after users will migrate to "smart repository" their file system becomes unreadable to them. There are several cases when QC administrators would want to see logical state of repository and perform some actions on it. Here are few frequent use cases:
Direct edit of workflow script files
Storing repository files in Version Control tool, to have history and back up/restore possibilities for workflow changes
Backup files based on their date (i.e. all the files that older than 1/1/1970) or other properties, which means they cut and paste these files from QC repository to some backup solutions.
Using file system to perform analysis, based on file names, files count and other files properties, which requires search capabilities.
The solution
 
 
 
 
 
To address these needs we have introduced exposure of repository's logical part. This is done using FTP protocol. Using FTP client, it is now possible to explore and perform actions on projects repository when files structure remains the same as in QC10 and bellow.
 
 
 
 
 
How To
 
 
 
 
 
To enable FTP service, from Site Administration, Site Configuration page:
Add parameter FTP_PORT with the value set to the desired FTP port number.
It is recommended to use port number 21 or 2121.
Adding this parameter to a site admin will start FTP server on specified port.
Changing this parameter, will restart FTP server with updated port.
Deleting this parameter will stop FTP server.
To connect to FTP server, please enter the following data in your favorite FTP client:


Host/Server/URL: machine name where your QC server resides
Port: port number that appears in FTP_PORT site admin parameter
User/Password: site admin user and password

First level of folders represent QC domains, second level represent QC projects.
 
 
 
 
 
Secure FTP (FTPS)
 
 
 
 
 
FTP server provides an option for secure connection using FTPS protocol. To use it, follow these steps:
Create the keystore using keytool tool.
Create sslkeystore.xml in the following format:
<ssl>
<keystore file="c:\full path to\mykeystore.jks" password="secret"/>
</ssl>
Put sslkeystore.xml in <DEPLOYMENT PATH>\application\qcbin.war folder and in <DEPLOYMENT PATH>\jboss\server\default\deploy\20qcbin.war folder
Restart FTP server (either by restarting QC server or by deleting/changing FTP_PORT site admin parameter)
In FTP client, select FTPS or SSL option and connect as usually
Limitations

Only "Smart Repository Projects" are displayed
WinSCP ftp client is not supported
FAQ
 
 
Q: Does operations on the files reflect in DB?
A: Yes, all the operations on the files, which made using FTP will be also reflected in the DB and optimized by "smart repository" feature.
 
Q: Is there a recommended FTP client?
A: Yes, the QA performed using few FTP clients such as: Filezila, Total Commander built in ftp client, FlashFXP. Of course if you get any problem using your favorite FTP client, please let us know.
 
Q: Can I define my own FTP user or use another QC user which is not QC Site Admin?
A: In the current version you can't. This feature, however, is in our plans for next version.
 

Robert Barcikowski
Senior Technical Specialist

View solution in original post

0 Likes
1 Reply
Highlighted
Absent Member.. Absent Member..
Absent Member..

You can browse the smart repository by enabling FTP in ALM, and using an FTP client such as Filezilla to find the attachment / file your after.

 

The HP KB article explains how to do this : http://support.openview.hp.com/selfsolve/document/KM1088949

 

here is an extract from the KB:

 

With the new SMART Repository feature, first introduced with ALM 11, it's not possible to see the filenames, dates, etc., of the physical files anymore.  This is an issue for performing maintenance, editing workflow scripts, archiving old files to name a few.

 

 

 
The problem
 
 
 
 
 
So far, after users will migrate to "smart repository" their file system becomes unreadable to them. There are several cases when QC administrators would want to see logical state of repository and perform some actions on it. Here are few frequent use cases:
Direct edit of workflow script files
Storing repository files in Version Control tool, to have history and back up/restore possibilities for workflow changes
Backup files based on their date (i.e. all the files that older than 1/1/1970) or other properties, which means they cut and paste these files from QC repository to some backup solutions.
Using file system to perform analysis, based on file names, files count and other files properties, which requires search capabilities.
The solution
 
 
 
 
 
To address these needs we have introduced exposure of repository's logical part. This is done using FTP protocol. Using FTP client, it is now possible to explore and perform actions on projects repository when files structure remains the same as in QC10 and bellow.
 
 
 
 
 
How To
 
 
 
 
 
To enable FTP service, from Site Administration, Site Configuration page:
Add parameter FTP_PORT with the value set to the desired FTP port number.
It is recommended to use port number 21 or 2121.
Adding this parameter to a site admin will start FTP server on specified port.
Changing this parameter, will restart FTP server with updated port.
Deleting this parameter will stop FTP server.
To connect to FTP server, please enter the following data in your favorite FTP client:


Host/Server/URL: machine name where your QC server resides
Port: port number that appears in FTP_PORT site admin parameter
User/Password: site admin user and password

First level of folders represent QC domains, second level represent QC projects.
 
 
 
 
 
Secure FTP (FTPS)
 
 
 
 
 
FTP server provides an option for secure connection using FTPS protocol. To use it, follow these steps:
Create the keystore using keytool tool.
Create sslkeystore.xml in the following format:
<ssl>
<keystore file="c:\full path to\mykeystore.jks" password="secret"/>
</ssl>
Put sslkeystore.xml in <DEPLOYMENT PATH>\application\qcbin.war folder and in <DEPLOYMENT PATH>\jboss\server\default\deploy\20qcbin.war folder
Restart FTP server (either by restarting QC server or by deleting/changing FTP_PORT site admin parameter)
In FTP client, select FTPS or SSL option and connect as usually
Limitations

Only "Smart Repository Projects" are displayed
WinSCP ftp client is not supported
FAQ
 
 
Q: Does operations on the files reflect in DB?
A: Yes, all the operations on the files, which made using FTP will be also reflected in the DB and optimized by "smart repository" feature.
 
Q: Is there a recommended FTP client?
A: Yes, the QA performed using few FTP clients such as: Filezila, Total Commander built in ftp client, FlashFXP. Of course if you get any problem using your favorite FTP client, please let us know.
 
Q: Can I define my own FTP user or use another QC user which is not QC Site Admin?
A: In the current version you can't. This feature, however, is in our plans for next version.
 

Robert Barcikowski
Senior Technical Specialist

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.