Solved

Getting offline files sync to wait long for server to appear

Posted on 2009-05-14
12
520 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
  • 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
 
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
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 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
Viewers will learn how to use the Hootsuite Dashboard.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now