Migrating Local Users to Network/Mobile Home Directories

Hey Everyone!
A Happy Holiday's to you all! I'm in the midst of building a new system for my new clients. They had nothing but static IP numbers and no actual servers in a 50+ Mac environment. MacBook Pros, G5's and PowerBook G4s up the yang.
What I'm looking to do is migrate as seamlessly as possible, all of the existing local users to network users and then some of those network users will become mobile accounts. I have Open Directory authenticating properly so...
Here's my plan:
1) Finish creating new builds for the MacBook Pro's, the G5s, and the PowerBook G4s.
2) Create the users in OD and assign them to groups for permissions.
3) Drag and drop entire home directory from each computer to a shared folder on my OD Server.
From here I want to run chown, I'm guessing, to change the user:group for the home folders I copied over so that they match the ID's created by OD. I figure when I do that, then I can simply replace the OD created home folders in my server's Users folder with the copied and permission modified home directories from each local user.
My guess is that would be the fastest way to migrate the users to the network.
My question is are the terminal commands I need to run on each folder in order to make this as seamless as possible?
chown -R username:newgroupname /~path to copied local home directory
Is that syntax right?

The command is correct!!!
But my quess is if you use ACL's to set the permissions you won't need to run the command on every folder
Best Regards

Similar Messages

  • Migrating local users to network users

    Hi - I have seen answers for past versions of the server, but none seem to work.
    I have 5 macs, 4 users.  I want them to be able to log in from any mac and have their home screen/files appear as if it was on their (former) local machine. Also want to set up group folders that can be accessed as well.  The latter part is no problem setting up, but how can i migrate the local home folders to the network easily.
    I have set up user accounts, bound local machines to the server, tried mobility settings but can't get it to work.
    I read somewhere that if the shortname is the same on the local machine as the server that may cause problems.
    Also - is there any advantage to setting up machines vs users in workgroup manager?
    Thanks

    Hello,
    if you want your users to be able to login from any machine on the network, then your users must exist in the OD on the server and the client machines must be bound to to the server. Client machines must be set to use network accounts.
    If the client machines are not portable (MB, MBP, Air etc), set you users as _plain_ network users, otherwise use Mobile accounts. The difference is that in case of mobile account are user credentials cached on the client, so they are able to login even when they are on another network (so the server is not available to authenticate).
    Next you need to set up network home for network your users. Start up Server Admin, select a sharepoint and enable automount as User home folder.
    Next, in the workgroup manager select your users, and assign them new home folder paths. As a last step copy contents of local homes to the new network location.

  • Best way to migrate local users to the network - move home folders?

    Hi everyone,
    I am about to set up my Mac mini server (Snow Leopard Server). I have one iMac with three user account on it (local), another iMac that we just bought and my MacBook Pro with my admin account on it (Snow Leopard). So all have Snow Leopard.
    What would be the best way to move the three local accounts AND their home folders to the server?
    What would be the best way to make my portable user account into a mobile user account on the server?
    I am planning to create all users on the server (with the same username and passwords etc.) then move the local home folders from the iMac to the server through some direct wired connection. My concern is with this move - will there be permissions mismatch issue? I am sure there will be as the UID would be different for the same accounts (pre-existing and newly created, eventhough their username and passwords are the same).
    Any best practices? strategies?
    Does Apple have any documentation on this specific topic? - that is moving local user accounts and their corresponding home folders onto the server?
    Thanks much!
    Kenneth

    Hi again,
    I haven't gotten round to it - but may have an alternative route in the mean time: the brand new 27" iMac just arrived, and rather than doing a full 'migration assistant' setup, I am going to try the following:
    1. on the new iMac: only create a local Admin account, user name totally unrelated with any other account name;
    2. on the server: settle all the network user account settings, portable home directories, managed preferences etc. for each user;
    3. on another computer: log on under the corresponding local user account, and copy one's home folder entirely to an external drive - do not use this machine again under this user account;
    4. on the new iMac: log in as a network user, make sure the home folder and library syncing works as desired, set some preferences (and check that this gets synced to the server drive); copy the parts of the home folder & library for this user from the external drive - wait until it all gets synced back and forth - and check any permissions, preferences whatever issue (the local account on the other computer is available for cross-checking, just don't change any documents or settings on that one)
    5. if all works well on the new iMac: delete this local user account on the other computer.
    6. repeat steps 3-5 for each other computer where this user has a local account (one 'old' iMac, one 13" MB) - will also allow to check and filter any duplicate documents which have accumulated over the different machines.
    7. create the network accounts for this user on the other computers, and check the syncing etc.
    8. repeat for each user (4 in total for us).
    I think this might just work, since the new iMac at present has no accounts - so no possible issues with similar account names & passwords etc - and you keep the 'old' local account on the other machine as a safeguard anyway.
    Any particular thoughts or comments on this proposed process??
    How about permissions: does the copying to an external disk, and then back onto another computers disk solve that??

  • Migrating Users To Server-based Home Directories

    When you install a new server and you want to migrate users to server-based home directories and they currently have local home directories (with iCal, iTunes, iPhone, etc.), what is the process?
    Will their local data be auto-moved to the server? Will it be deleted? What?
    Message was edited by: Jerry Britton1

    I went through this many years ago. Here's what I did...
    #1: Create the user in Open Directory.
    #2: Log in to the local account on the computer.
    #3: Using "Connect to Server..." mount the network home on the client Mac.
    #4: Copy all data to the same folders on the network home.
    #5: Delete the local account.
    Now when the user logs in with network credentials their network home will have all their stuff. Some preference files may need to be recreated but that's about it.

  • How to Move Local Users to Network Domain Users

    Before you follow these instructions...... I'm a rank amateur so I'd check to see if the smart kids have corrected my errors or improved on the method in the replies below
    The reason for the post is I have good and established local user accounts on all the computers and moving them to domain controlled accounts is the one topic I could not find a script to follow that worked for my low level of knowledge of OS X.
    Let me first explain my setup and needs. I'm replacing a Windows Home Server (WHS) with the Mac Mini Server. My goal was to have the Mac Mini as the server holding all our photos, data, etc. and running a user account to run the family iTunes account to feed the Apple TV and be the backup / sync point for a family sized set of iPod Touches, iPads and iPhones. I want to be able to log into each mac and have the same information setting, links, etc........ basically walk around the house, find any mac shaped device not used by someone else, log in and carry on where I was before -  with the MacBook Air having a portable account so it can come travelling with us.
    The key hardware is...
    Mac Mini Server running Snow Leopard 10.6.8
    Apple TV
    2 x iMac Running Lion 10.7.1 [upgraded from 10.6.8]
    MacBook Air running Lion 10.7.1 [upgraded from 10.6.8]
    Normal stuff like wifi, hubs and a router doing the DHCP (and for me reserving IP addresses based on the 'MAC Address' to save me having to manually configure all the IP addresses)
    Key Resources I used as I learnt how to do this; to level set you all, I'm a relative newcomer to OS X having had a Windows life with Linux for fun, so i'm not a mac or IT specialist but like to play around.
    Apple's podcast series 'Apple Quick Tour of Leopard Server'  - this is great, it informed me and kept me motivated through all the bah moments, all 33 episodes and it's in the iTunes store as a podcast.
    The book 'Mac OS X Snow Leopard Server For Dummies' - I bought this about half way through the whole process and wish i'd bought it earlier, my reccomendation would be get the Kindle version so you can search it for advice.
    The excellent information on DNS from Hoffman Labs http://labs.hoffmanlabs.com/node/1436
    The video 'Setting up a primary DNS zone.....' from Lynda.com on youtube  http://www.youtube.com/watch?v=OOEgQY9oFK4
    The Series of PDF document on Snow Leopard Server from Apple http://support.apple.com/manuals#mac%20os%20x%20server%20v10.6
    And finally this excellent post from Joe Ferrante which was the core of what I used http://joeferrante.net/how-to-migrate-local-user-account-to-network-user-account -with-networked-home-folder-on-snow-leopard-server/
    Right off we go....
    Setting up the Server [this took me 6 goes to get it right as I learnt a little each time].
    So i'm not going to go through this step by step because it in the 'dummies' book and the videos from Apple above and those will be better than anything I write but here's my details/advice.
    I split the primary disc into 2 partitions using disk utility so I could reformat the operating system without moving my data.
    100GB for the OS X system
    400GB for user data
    Install OS X from the DVD, press the buttons based on your desires but stop at the bit about naming you computer titled Network Names
    READ UP ON DNS  - this one of the reason I had so many goes as it was the 1st time i've set up a server like this using DNS and guessing didn't get me there.
    If you don't have one buy a domain name for your network it make it much easier in the long run & is $10 well spent
    The name needs to be [the computer name].[your domain name].[com or net or org, etc]
    So if you want you computer to be called fred and you bought or have the domain location.com enter fred.location.com in the primary DNS name box
    This shoud automatically put fred in the computer name box.
    Follow along with the set up guide to finish
    After you have finished the set up test the DNS with NSLOOKUP in a terminal window
    nslookup fred.location.com    in my example and you should get the IP
    Add your servers IP address to the list of DNS servers in network preferences on the client mac.
    Bind [link] the client computers to the server in Accounts on the client computer - I used the 'dummies' book for this but there's lots of data on the web.
    Clean up the user profile on the client to reduce the size of the Home folder as much as possible or the data transfer is loooooooonnnnng - i also connect the iMac on a cable rather than wifi to speed it up.
    Read Joe's post http://joeferrante.net/how-to-migrate-local-user-account-to-network-user-account -with-networked-home-folder-on-snow-leopard-server/ and follow along.useful info I learnt somewhere - to get the paths to the folders correct in the terminal window go to the folder in Finder and then drag it to the terminal window and let go - this will put the correct link in the instruction.
    You now need to be on a terminal window on your server, with a finder window open and logged into the client as the user you are moving
    THE CLIENT COMPUTER NEEDS TO BE LOGGED OUT or logged in as a different user than the one you're trying to move.
    so when you're at the right point - type sudo cp -R then hit the space bar, drag the existing user folder onto the finder window, add the /* and hit space then find the users folder on the server and drag that onto the terminal window to complete the instruction.
    Hit enter and wait a while assuming it starts ok - i used network traffic on the Activity Monitor utility to check if it was working.
    If you got this far and it all worked - login to the profle you moved on any computer linked to the server or the server but not the original client computer to see if it worked and all your setting and data are intact and then delete the profile off the original client if it was ok [archiving the home directory took ages for me].
    As you can probably guess most of this was good learning for me and it worked successfully for me in the end, moving all my history, saved password, etc, etc without any problems.
    Hope this helps other in the same situation & feel free to expand or correct this if I've missed anything.
    Ed

    Hi,
    I was unable to access the Joe Ferrante information (it appears to now requrie a password and was not able to determine how a username and password were assigned)  Would you happen to have a copy of the post that you refer to above?
    I am still at the early stages of this process but am hoping that the steps you refer to are going to get me where I want to be.  Your stated end goal is where I hope to get to.
    Thanks,
    Sean

  • Mobile Home Directories not syn'g address book on login/out

    Mobile Home Directories should be sync'g ~/Library on login and logout .. but its not syn'g anything in !/Library .. so address book changes are not being sync'd.
    Any ideas?
    /s

    If you're managing the Portable Homes (home sync) preferences via Workgroup Manager, you need to adjust the items that are excluded on login/logout. Look in Workgroup Manager > Preferences > (select user, computer, computer group, or group) > Click Mobility. Then look in the Rules section for Login & Logout Sync. By default, ~/Library is excluded from background sync, but not from login/logout sync. (Did you exclude it there?)
    Another possibility is that you're excluding ~/Library/Application Support/Sync Services, which contains the Address Book data. That item *is excluded* from login/logout sync by default.
    --Gerrit

  • Migrating local users failed with migration tool

    Getting an error trying to migrate local users from windows server 2003 R2 (X86) to windows 2008 R2. There is no domain involve in our environment. Both are workgroup servers.
    By following the steps given by Microsoft, trying to export local users and group information but failed with the error massage below,
    Export-SmigServerSetting : Initialization of the migration failed.
    The migration operation encountered an unknown exception.
    At line:1 char:25
    + Export-SmigServerSetting <<<<  -User All -Group -Path C:\migrate\miguser -Ver
    bose
        + CategoryInfo          : InvalidOperation: (:) [Export-SmigServerSetting]
       , MigrationException
        + FullyQualifiedErrorId : Microsoft.Windows.ServerManager.Migration.Comman
       ds.ExportSvrMigSettingCommand
    Trying to find this error massage through web page but none encounter this before.
    Not sure if there is something that I missed out or it would be something to do with the source machine.
    thanks,

    Hi,
    Did you follow this MS article?
    http://technet.microsoft.com/en-us/library/dd379531(v=ws.10).aspx#BKMK_strategy
    Meanwhile, hops this helps:
    Troubleshooting Cmdlet-based Migration
    http://technet.microsoft.com/en-us/library/dd871120.aspx
    Regards.
    Vivian Wang

  • Migrating local user accounts/home directories to network user accounts

    Hi,
    I am planning on moving the user accounts from several Mac OS X client machines to a new Mac OS X Server machine (Quad core Xeon MacPro). I am very familiar with OS X client in a support environment, but do not have extensive experience with Server.
    I read over the instructions in this article
    http://docs.info.apple.com/article.html?path=ServerAdmin/10.4/en/c6um3.html
    and it appears to be fairly straight forward, although I do have some questions regarding the existing data (home folders) and how to set the clients to log in to the network account.
    Previously, in the event that I have needed to move a person's home directory to a new computer or recover from a corrupt OS (and Archive&install was not an option), in OS X client I would:
    1) Back up the home directory.
    2) Erase/reinstall OS X client.
    3) Log in as Root.
    4) Go into "Accounts" pref pane and create user with same short name as original/backed-up home directory.
    5) Replace the newly created home directory with the backed-up home directory.
    6) Go into Terminal and chown/chgrp the home directory to username/staff, respectively.
    This would result in a perfectly migrated user account. All settings and files working just as they did on the previous system/install of OS X.
    First Question: Could I employee a similar method to retain the content and settings from the local user accounts on the server as I migrate them to network users? Moving the user accounts to the server as described, then running terminal to set proper ownership...
    Second Question: What do I do on each client system to tell it to recognize the networked home directory for each user? Do I just change the user's home folder path in Netinfo Manager to the automount location?
    Thanks in advance for any help you can offer,
    -David
    MacPro 2.66 Quad Core (MA356LL/A)     Mac OS X Server 10.4.8

    A network account is really existing only on the server but if you use "portable homefolders" (Tiger client and server) you could "migrate" the local account to a "server" one by:
    Login locally as another user with administrative rights.
    Change the name of the old account folder in /Users.
    Remove the "old" account locally (woun't remove the "old" folder as you changed the name) only Netinfo data.
    Login using the serveraccount login/password thus creating a homefolder on the server.
    Logout and back in, enable portable homefolder.
    Logout and then in as a local admin and remove the new user folder.
    Change the name on the old userfolder to what the new one had.
    I'm not a 100% sure Netinfo has the server account UID now (added by logging in and creating the portable account?) but if it does:
    (http://forums.macosxhints.com/archive/index.php/t-12077.html)
    "Finding and changing UIDs across the filesystem is a one-liner command:
    sudo find / -user UID -exec chown userName {} \;
    (replace UID with the old UID number and userName with the new user name to associate file ownership.)"
    (A portable account must have got some "kind" of UID?)
    Let the machine "sync" with the server account.
    If you want an "on network only" account I don't know what you need to remove locally afterwards.
    HTH

  • Upgrade Local User to Network User for PHD

    I have a normal local user on a workstation. The home directory has quite a bit of stuff. I would like to create a Portable Home Directory for that user. If possible I would like to keep everything on the workstation as it is.
    I know it's easy to create a network user, and then sync the PHD on the local machine. But how do I do it the other way around?
    If I create a network user with the same name, I can only login on the workstation as the original local user, and no syncing is done.
    Is there a less drastic way than
    1) "ditto" the local home directory onto the network user home directory
    2) delete the local user
    3) log into the workstation as network user (with the same name) and sync the PHD ?
    Thanks!

    Hi Xiao Di Di I followed this http://www.afp548.com/articles/Panther/mcx2.html article when converting a local account to an AD network account and all went well. I did have the luxury of creating a 'test' mobile account of the users as the local users were all named 'staff_user'. I know the article is written for Panther, but did what I needed it to do.
    Cheers

  • Changing local user to network user on the sever?

    I moved a local user's home folder off a client computer to the server and made them a network user. The user can log in to the network numerous computers fine, as expected. However, the original computer where the user was a local user will not allow him to log in. It seems the original computer still thinks he is a local user and not attempting to log in to the server. Other network users can log in using the same original computer in question, only this user can not. Is there some way to check and remove the the local user? Local client computer is Leopard, server is Snow Leopard. There use to be an app called Netinfo Manager which I thought would allow something like this, but seems to have been removed with Leopard. I know I can give the user a new name and that would get around the problem, but it does not solve the problem. Any ideas, anyone? Thanks.

    I recreated the user, then used dscl to delete the user. But, alas, did not solve the problem. Dug a little deeper into some other commands and found "id" which indicates that said user is part of many groups
    :~ id username
    uid=1025(username) gid=20(staff)
    groups=20(staff),215(com.apple.loginwindow.netaccounts),1025(us),102(com.apple. sharepoint.group.2)
    it seems that uid 1025 is the network user id, as well 1025(us) is a group on the server; don't know where 102 come from.
    It seems the client still is not looking on the server, because it immediately shakes off login.
    Any more thoughts?
    Thanks.

  • Migrate local user to OpenDirectory User? Best Way?

    Hello
    I want to migarte the home directories of a couple of local user to the OS X server
    For this I want to use the CLI with the DITTO command
    sudo ditto -rsrc home1 home2
    where home 1 is located on the local mac and home2 is located on an external harddisk
    when ready I need to connect the external drive to the server and do the same in the reverse order. (where home1 is on the external harddisk and home2 is in the User Folder of the Server where all homedirectories are located.
    This is very time consuming. I want to copy the local home directory on the iMac direct to the user on the server? What will be the command and how to i need to connect to the server? When I connect as "serveradmin" I can copy the file with the command, but when I tried to open this user on the local iMac the directory is virginly. I tried to fix it right with the Program "Passenger" but this doesn't help?
    Any Idea how I can save a lot of time

    Now i do this:
    Log in as DomainUser - create Users profile.
    Log off
    Log in as LocalUser
    rm -R /Users/DomainUser/*
    cp -R /Users/LocalUser/* /Users/DomainUser/
    chown -R DomainUser /Users/DomainUser/*
    Log in as DomainUsers - ok. Run, as example, Outlook for MAC 2011 - enter password for emailbox and password LocalUser.
    With emailbox all understand everything, but why password for LocalUser? I enter password for LocalUser one time and never again.

  • It is Possible to Migrate Local User Profile to Roaming Profile Using USMT?

    Dear All,
    1st, I'm following guide at http://support.microsoft.com/kb/142682 to copy user profiles to another user, but the problem is the 'Copy to' button is not active (grey). I try
    using 3rd party tools, still no change.
    2nd, I try to transfer local profile on the same machine and different user using Windows Easy Transfer, it's work and all of data has been restore to a new user. But not all App Settings is restored, when I open Outlook 2010 and Windows
    Live Mail, there's need to enter password again. That is not problem for me.
    3rd, After migrate/transfer (2nd step) I want to migrate from local profile to roaming profile, but user profile setting on local profile is not copied to roaming profile, such as Email setting need to create new account but all data is
    not problem, because I have already configure on ADUC and GPMC.
    My question is:
    1. How to copy or move all Application settings on AppData Local folder to roaming profile?
    2. How about USMT, it is possible to migrate user profile settings from local to roaming? if is the best tools, how to do this? 
    Please, advice...
    Thanks,
    Hendra

    First, I dont understand why you're using the copy profile method. I'll make the assumption that you have a domain user account that you you need it's files and settings moving to another machine.
    In that scenario then there's a simple guide here:
    Migrate User Accounts
    For Roaming Profiles and Redirected folders; you can follow the
    Infrastructure Planning and Design (IPD) Guide for Windows User State Virtualization (USV).
    It sounds like a mouthfull but it actually makes the whole process easy. There's also a video
    here.
    /Andrew
    Blog: http://scriptimus.wordpress.com

  • Migrate a Local User Account to a Network Account Shell Script

    http://support.apple.com/kb/HT5338?viewlocale=en_US&locale=en_US
    If you are looking for an easy way to migrate local users to network users without losing data, then try this script.
    Follow steps 1-10 in the support link above before running this script.
    1) Open /Applications/Utilities/Terminal.App
    2) Type vi myscriptname.sh
    3) type "i" to edit the document
    4) Copy and paste the following text in the terminal window
    #!/bin/bash
    echo "Go to http://support.apple.com/kb/HT5338?viewlocale=en_US&locale=en_US"
    echo "Complete steps 1-10 before continuing"
    echo -n "Enter 'USER' and press enter:"
    read USER
    echo -n "Enter 'SERVER' and press enter:"
    read SERVER
    sudo scp -Epr /Users/$USER root@$SERVER:/Users/
    sudo mv -f /Users/$USER /Users/$USER.old
    ssh root@$SERVER sudo chown -R $USER:staff /Users/$USER
    5) hit (ESC) then colon : and type wq! and hit return to save the document
    6) In Terminal type: chmod +x myscriptname.sh
    7) in Finder, Right Click or Control+Click myscriptname.sh and select open with
    8) Select "Show All Applications" and Navigate to /Applications/Utilities/terminal.App
    9) in Finder, Right Click or Control+Click myscriptname.sh and select get info / Open with and click "Change All" to open all .sh files in Terminal
    10) Double Click myscriptname.sh
    11) For USER enter the name of the network account
    12) For SERVER enter your server name (server.example.com)
    13) Enter the Admin Pass for the Local Machine, Then the Server, Then the server again
    14) The user folder will be renamed to user.old (bob.old)
    15) When you login as the network user account OS X Server Will copy your data to the local machine with Portable home directories
    16) Once you verify all the info is there you can delete the user.old folder from the /Users/ folder (bob.old)

    replace sudo scp -epr with sudo rsync -auvth if you do not want to waste space copying hardlinks

  • How to specify one ethernet port for network home directories (other for normal filesharing)?

    So I'm trying to get Home Directories up and running on a 10.6.8 Xserve (waiting until I get my NFS sharepoints migrated to a Linux server [for other reasons] before moving up to 10.7 Server). But posting here since that will be happening in the next few weeks, and it might be applicable now (so I can at least get that resolved ahead of time).
    I have a different DNS entry for each ethernet port: server.office.domain.com at 192.168.0.11 for the first, and homes.services.internal at 192.168.0.10 for the second. DNS lookups for both resolve correctly (as does the reverse lookup).
    If I use the Server Admin to pick a sharepoint as an automount for Home Directories, everything is fine, but it picks the server.office.domain.com hostname. Picking that works just fine, but that is also the connection that feeds the filesharing. I'd prefer to split that home directory traffic out onto the second ethernet port. So I tried just duplicating the initial connection (since it can't be edited directly in Workgroup Manager) and changing the hostname to the internal one, but I get an error when attempting to log in (the client login screen gives a very helpful "Couldn't login because of an error" error message) and don't see anything in the server logs.
    The client machine shows the following line:
    Code:
    10/20/12 5:27:42.688 PM authorizationhost: ERROR | -[HomeDirMounter mountNetworkHomeWithURL:attributes:dirPath:username:] |
         PremountHomeDirectoryWithAuthentication( url=afp://homes.services.internal/Users,
         homedir=/Network/Servers/homes.services.internal/Volumes/HomeDirectories/Users/ user123, name=user123 ) returned 45
    (added line breaks so it didn't extend off the page)
    So it looks like this is failing because the automount isn't in place, but I'm not sure how to work that out either (i.e. how do I add that making sure it uses the internal hostname?).
    Any suggestions on getting this to work?
    I realize one solution is just to LACP the two ports, but that is a different ball of wax (I may do that later if I get a 4 port ethernet card and performance limitations demand it).

    A possible solution might be this.
    On ADSLBOX and CABLEBOX configure different subnets for the LAN, e.g.
    ADSLBOX:    192.168.1.0/24
    CABLEBOX: 192.168.2.0/24
    The MEDIABOX gets these static IPs:
    ADSL-LAN: 192.168.1.2
    CABLE-LAN: 192.168.2.2
    On the MEDIABOX, configure the two network interfaces using two routing tables.
    The ADSL-LAN routing table
    ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2 table 1
    ip route add default via 192.168.1.1 table 1
    The CABLE-LAN routing table
    ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2 table 2
    ip route add default via 192.168.2.1 table 2
    The main routing table
    ip route add 192.168.1.0/24 dev eth0 src 192.168.1.2
    ip route add 192.168.2.0/24 dev eth1 src 192.168.2.2
    # use the CABLE-LAN gateway as default, so general internet traffic from MEDIABOX runs over CABLEBOX
    ip route add default via 192.168.2.1
    define the lookup rules
    ip rule add from 192.168.1.2 table 1
    ip rule add from 192.168.2.2 table 2
    To test the setup:
    ip route show
    ip route show table 1
    ip route show table 2
    I don't know how to persist something like this in ArchLinux using netctl. Might require to write a special systemd unit for it. Above is a working example from a RedHat box at my company.
    Last edited by teekay (2013-12-04 07:42:22)

  • Is it possible to migrate local profiles to user profile disks?

    Hi guys, 
    Is there an easy way to migrate local user profiles on an remote desktop server to user profile disks? I am replacing a Server 2008 R2 and want to start using UPD's instead on a Server 2012 R2. 
    Best regards,
    Hasan

    Hi Hasan,
    Thanks for your posting in Windows Server Forum.
    As per my research, you can able to achieve your data by choosing the option “Store all user settings and data in the user profile disk” would obviously capture everything normally stored under C:\users\<username>
    and add that to the UPD. But please notice however that you can only select the roaming part of your user profile data.
    On UPD profile is stored in a .VHDX file specific to your account which is placed on a central share. Upon logon a mount path is created under
    C:\Users\<username> that points to that .VHDX file on the share. This makes the solution fully transparent to the Operating System and applications. If you’ve used UPD before you will have noticed that the filenames of the .VHDX files hold the
    users SID, not the account name.
    For more information, please refer below articles. (You can refer below article for Server 2012 R2)
    1.  Using User Profile Disks (UPD) in combination with predefining the Modern UI Start Screen on RDS 2012 (appsfolder.itemdata-ms)
    2.  Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks,
    Dharmesh

Maybe you are looking for