Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting offline files sync to wait long for server to appear

Posted on 2009-05-14
12
Medium Priority
?
547 Views
Last Modified: 2012-05-07
We have just finished installing Cisco clean access agent and set the ports to live but now I have a problem with laptops and offline folders. We are using kix scripts for login scripts and the main problem is now the laptop goes straight to offline mode before the login script can run thus not mapping any of the drives. Is there a way of making the offline files sync wait longer before it goes offline? or using a kix command to force online?
0
Comment
Question by:dsxray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
12 Comments
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24383682
Well, not as far as I know. However there may be another way to work around your problem, but I'm not quite sure I understand it...

So for clarification - When your laptops are in the office and physically connected to the network, they have a problem where they can't detect the network straight away and therefore offline files goes to offline mode...

Where do the scripts and mappings come into this?

Can the laptop users not just reinitialise the online copy of the files once the network is up and running properly and the online location can be contacted?

I'm a little confused... :)

Pete
0
 

Author Comment

by:dsxray
ID: 24383768
Lets go through the preocess:
laptop logging in on domain in office

bootup
login
first script runs locally
pause script waiting for cisco agent to run its checks and obtain ip
at this point offline files go offline
login script fails due to not being able to find server (laptop set to offline)
no drives mapped

Now I know at this point the laptop IS actually offline because it has not picked up an IP address yet due to clean access not running.
0
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24383878
Hmmmm... Well offline files being in offline mode should not affect the general operations of the machine whatsoever. It doesn't cut anything off, just reverts to a cached copy of the files you've made available offline. You can actually force a machine into 'offline' mode whilst still on the network, and it affects nothing except the offline files themselves.

So I don't think offline files is your problem...

My confusion was probably because I don't really know what Clean Access is, but I get the idea from your last post.

Could you not maybe add a line to the script that maybe tries to ping something like 5 -10 times (causing a 10 second wait for eg) before the drives try to map? This can obviously be refined during testing...

But anyway, I'm venturing dangerously out of my field there, as I know little/nothing about scripting, and there's no doubt an infinitely cleaner way of delaying the mapping of the drives until the machines has picked up the address!

Pete
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24383897
Oh hold on, I think I see what you mean - The log in script is mapping drives TO the online file location. D'oh! So that location leads to the offline cache at the point the mapping is attempting to map?

0
 

Author Comment

by:dsxray
ID: 24384060
When offline is does not consult a DNS server to get address info but if you look for IP address it will be fine. So if you map to \\servername\drive then it will fail but if you map to \\IP ADDRESS\drive then it should work.
0
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24384225
But regardless, isn't the problem more that the laptop actually doesn't have an IP when it tries to map, therefore can't find the location on the server by any means at all??

And where did you find that information anyway? When I take my laptop home, and connect to my home network, offline files is in offline mode (cos there's no connection to the server location by VPN at this point). However DNS works perfectly the whole time? I can ping everything by name no problems...

Either way, surely the solution would still be to force some sort of delay in the attempt to map to that location?

Either my logic is failing me completely or offline files is really not a concern in this scenario...?
0
 

Author Comment

by:dsxray
ID: 24384389
In our environment when working offline you cannot ping by dns name or print but you can ping ip addresses.

We have a script that is called PAUSE which waits until the computer can ping the switch. once a successful ping has been made the rest of the script run (the drive mapping part) BUT because the computer has been set offline by this time the mapping does not occur.
0
 
LVL 19

Expert Comment

by:PeteJThomas
ID: 24384758
Aaaaaah ok, now I'm fully with you.

So one last silly question - Can you not modify the script to use the IP address instead of the DNS name for the mapping? I know it's not ideal in case the IP ever changes, but if this is an managed script through a policy, it would be simple enough to modify the IP in the script if that ever happened... Just a side thought?

Anyway, I've been looking through the command line options for Offline Files (CSC) but no particular command seems to fit the bill... Have a look if you haven't already - http://support.microsoft.com/kb/884739

In the meantime I'll keep looking around...

0
 

Author Comment

by:dsxray
ID: 25030990
Please close this question down and refund points, there is no current answer to this problem.

Thanks
0
 
LVL 19

Accepted Solution

by:
PeteJThomas earned 1000 total points
ID: 25032747
Well, I believe through having a long look around, we did actually find that the answer is "No - There is no current way to 'delay' the machine going into offline mode".

I know people don't tend to think this way, but answering 'No' is still an acceptable answer if it's correct... :)

Pete
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Invest in your employees with these five simple steps to improve employee engagement and retention.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question