Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: remote cache server shows its not caching - how do I verify

Pioneer
Pioneer

After updaing the fmsmaster with linkparameter, exitgroup and other suggested configurations. It seems like move_volume moves the file but nothing seem to be cached on EU cache server.


The read cache doesn't get populated during below steps except when the user loads file which was moved from local to NA volume server. The write never gets populated during below steps.

Client user is pointing to SWE Local Volume server with default volume to NA Volume.

 

1. Upload a word document.
2. File uploaded to local volume. - verified.
3. Write/Read doesn't go up when SWE client uploads the file.
4. Move volume files on NA server.
5. Files moved from SWE Vol to NA Vol.
6. Write/Read doesn't go up even after moving the files from SWE Vol to NA Vol.

Files were moved…

7. Clear client cache.
8. Opened the word document (which is moved to NA in step#4)
9. Update the file content.
10. Read file cache count goes up.
11. Write doesn't go up.
12. Moved the file once again to NA just to see. Write/Read doesn't go up.

PS: Does anyone know what represents the "Misses" count in read/write cachesummary?
 Files: 334, Bytes: 23658496, Hits: 2700, Misses: 1009

Re: remote cache server shows its not caching - how do I verify

Siemens Phenom Siemens Phenom
Siemens Phenom

If you want the data to be cached at the remote site when moving the volume files off of it, you need to create another FSC cache at the remote site to act as a side-cache to cache the data as it moves away.


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: remote cache server shows its not caching - how do I verify

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
It sounds like the client is going directly to the volume and not populating the cache. Please make sure that you use an EntryFSC for each group as well as the ExitFSC. You will get "misses" when the file is not found in cache which is normal for the first load but they should not go higher after a reload. Post your FMS Master again and we can take another look.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: remote cache server shows its not caching - how do I verify

Pioneer
Pioneer

Here is a file.

 

@LarryCarpenter- We do have a stored volume and the same server is also serving as a cache server. In order to get the data cached - we need another cache server there?

Re: remote cache server shows its not caching - how do I verify

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
Your FMS Master is looking much better. You will want to add the <entryfsc> tag to each of your groups so that the cache is populated when a file enters the group (from the volume).
<entryfsc fscid="group_fsc_name" priority="0" />
<exitfsc fscid="group_fsc_name" populatetargetids="default,all" priority="0" />

Test the FSC connections from a client by using:
http://fsc_server:4544/Ping

Test the client mapping from a client by using:
http://fsc_server:4544/configAvailableFSCsRequest
http://fsc_server:4544/configClientConfigRequest

Test the specific subnet/mask||CIDR client IP (10.244.98.110) from a client using:
http://fsc_server:4544/mapClientIPtoFSCs?client=10.244.98.110
If you see "webpage cannot be found" then the client IP does not belong to the FSC group and the subnet/mask needs to be adjusted to include this IP.
A "good" response will be the <fccconfig> is output.

After validating that the client IP is working for a specific FSC then you can start looking at stats:
fscadmin -s http://fsc_server:4544 ./cachedetail
fscadmin -s http://fsc_server:4544 ./cachesummary

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: remote cache server shows its not caching - how do I verify

Pioneer
Pioneer

Shall I put entryfsc tag right before exitfsc or first one under fscgroup tag? I can try adding this tag for Sweden which is the site I am trying to validate first.

http://fsc_server:4544/Ping .. works ..
Returns:
FSC_GOTAP014_tceuser: FMS-FSC/10.1.7 (bd:20161013)

http://fsc_server:4544/configAvailableFSCsRequest .. works..
Returns:
- <fccconfig>
  <availablefsc address="http://GOTAP014.iacgroup.com:4544/tc/fms/-2005862391/FSC_Cache_Sweden/FSC_GOTAP014_tceuser" transport="lan" priority="0" />
  </fccconfig>

http://fsc_server:4544/configClientConfigRequest .. works.
Returns: fcc config

For mapClientIPtoFSCs .. I used 10.179.10.249 which is the IP of the client I am using.
http://fsc_server:4544/mapClientIPtoFSCs?client=10.179.10.249

This mapClientIPtoFSCs returns page cannot be found. The subnet & mask is properly set in fmsmaster. The IP of the client is:

Wireless LAN adapter Wireless Network Connection:
  Connection-specific DNS Suffix  . : iacgroup.com
  IPv4 Address. . . . . . . . . . . : 10.179.10.249
  Subnet Mask . . . . . . . . . . . : 255.255.252.0
  Default Gateway . . . . . . . . . : 10.179.9.1

Can the fscentry be an issue here? However the other stats like Ping & config tags works and returns right results.

Re: remote cache server shows its not caching - how do I verify

Pioneer
Pioneer

Also - I think I know the answer but still to clarify.

 

In your example below - you mentioned to put group_fsc_name.. is it suppose to be fsc id or fsc group name?

 

Your example:

<entryfsc fscid="group_fsc_name" priority="0" />
<exitfsc fscid="group_fsc_name" populatetargetids="default,all" priority="0" />

 

My fsc id is FSC_GOTAP014_tceuser:

<fsc id="FSC_GOTAP014_tceuser" address="http://GOTAP014.iacgroup.com:4544" ismaster="false">

 

FSC Group is FSC_Cache_Sweden:

<fscgroup id="FSC_Cache_Sweden">

 

So for entryfsc & exitfsc .. do I mention fscid or fsc group name?

Re: remote cache server shows its not caching - how do I verify

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
The FSC ID. The entryfsc and exitfsc have to be in a specific order so if you add them backwards it will be noted in your FSC*.stdout log and you'll have to switch them.

By not getting a result for your client IP then you have an issue with your clientmap specification. Usually, you use ethernet adapter and not the wireless adaptor?


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: remote cache server shows its not caching - how do I verify

Siemens Phenom Siemens Phenom
Siemens Phenom

If you want to enable side-caching then, yes, you need a second FSC installed. Could be on the same server as the other. That's what I did.


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: remote cache server shows its not caching - how do I verify

Pioneer
Pioneer

The client I am using looks like connected using wireless connection. The network adaptor IP is not coming up. So, I have used wireless adapter settings.

Can this be an issue? I will double check back with Sweden IT.