Exporting the user data and creating the user profile

Last Updated : Apr 30, 2018 |

To complete the import job of the user data from Subscriber Manager, you must perform the following procedure after you complete the server upgrade from System Manager Release 6.1 to Release 6.2 and later.

Before you begin

Start an SSH session.

About this task

The system does not support the export of users and user profiles in bulk from the web console of System Manager Release 6.2 and release earlier than 6.3.8. Therefore, use the command line interface of System Manager to perform bulk export activities.

Procedure

  1. Log on to the system on which you want to export the user data as root.
  2. Export the users and the user profiles using the following steps:
    1. Perform one of the following:
      • For System Manager 6.3.8 and later, use the web console to export the user data.

        For more information, see Exporting users in bulk.

      • For System Manager 6.3, type cd $MGMT_HOME/bulkadministration/exportutility/.

      • For System Manager 6.2, type $MGMT_HOME/upm/bulkexport/exportutility/.

    2. For System Manager release earlier than 6.3.8, type sh exportUpmUsers.sh.

      The system creates an XML file exportfile_<time stamp in milliseconds>.zip in the $MGMT_HOME/upm/bulkexport/ location.

  3. Copy the zip file on the desktop of your local computer and extract the XML file.

    Note the location where you saved the file.

  4. Make the following edits to the XML file:
    1. Add the <commPassword>password_value</commPassword> tag after the <userName> tag to assign the communication profile password in User Management.
      Note:

      The password must have at least seven characters and the first character must not be a digit or a special character such as <, >, ^, %, $, @, # and *.

    2. Delete the <userPassword>userpassword_value</userPassword> tag.

    For example:

    <tns:user>
            <authenticationType>enterprise</authenticationType>
            <displayName>user1</displayName>
            <displayNameAscii>user1</displayNameAscii>
            <dn>cn=f225860c-2f2c-4290-a660-660e51fe0d4f,ou=Subscribers,dc=nortel,dc=com</dn>
            <isDuplicatedLoginAllowed>false</isDuplicatedLoginAllowed>
            <isEnabled>true</isEnabled>
            <isVirtualUser>false</isVirtualUser>
            <givenName>first1</givenName>
            <loginName>user1@ca.avaya.com</loginName>
            <preferredLanguage>en-US</preferredLanguage>
            <source>cnd</source>
            <sourceUserKey>c0bbc2d2-3096-4ce8-8fca-2670ea681be3</sourceUserKey>
            <status>provisioned</status>
            <surname>last1</surname>
            <userName>user1</userName>
    
            <commPassword>123456</commPassword>	
    
            <roles>
                <role>End-User</role>
            </roles>
            <ownedContactLists>
                <contactList>
                    <name>list-user1_ca.avaya.com</name>
                    <isPublic>false</isPublic>
                    <contactListType>general</contactListType>
                </contactList>
            </ownedContactLists>
            <commProfileSet>
                <commProfileSetName>Primary</commProfileSetName>
                <isPrimary>true</isPrimary>
            </commProfileSet>
        </tns:user>
    
  5. Reimport the user data from the modified XML files to the Import users page on the web console.

    You can navigate to the Import users page from Services > Bulk Import and Export > Import > User Management > Users on the web console. For more information, see Bulk importing of users.

    Note:

    The system might display an error message when you reimport the modified user data for admin user because the XML file includes the admin user when you export the user data. Ignore the message because you cannot edit the data for the admin user.

  6. To create a user profile, synchronize profile in User Management for CS 1000 element that are being imported. For information on profile synchronization, see Synchronizing CS 1000 profiles.