Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 10.20/11.00/11.i: Advanced Server/9000 Version B.04.06/B.03.06 Release Notes > Chapter 4 Migrating ASU

Migrating an AS/U Environment to a New Server

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

This procedure provides a method to add a new ASU server to a network with an existing ASU server, such that the new server inherits the old server's environment (users, data and shares) and becomes a backup domain controller in an existing domain.

  1. Stop the old server and create 'tar' archives of the directories /var/opt/asu and /etc/opt/asu. These directories contain shared directories, configuration and other data.

    • Establish a target location for the 'tar' files, for example:$ mkdir /ASU-BACKUPS

    • Create the 'tar' files:
      $ tar -cvf /ASU-BACKUPS/asu_var.tar /var/opt/asu$ tar -cvf /ASU-BACKUPS/asu_etc.tar /etc/opt/asu

  2. Similarly (if appropriate), create 'tar' archives of user datafiles that may exist in shared directories outside those referenced in Step 1. To ensure that correct file-ownership data is retained in the migrated environment, do not use the "-o" option to 'tar' when creating the archive.

  3. Note that it is unnecessary (and not recommended) to preserve the AS/U or NetBIOS executables or libraries. The latest versions of these binaries will be placed on the new server when you install AS/U.

  4. Restart the old server.

  5. If necessary, install HP-UX on the new server.

  6. Copy the 'tar' files to the new server, login and extract the data: $ tar -xvf asu_var.tar $ tar -xvf asu_etc.tar

  7. Use 'swinstall' to install AS/U. This procedure, and 'asu_inst' in Step 11 below, are described in detail in the AS/U installation manual. When 'swinstall' completes, it will reboot the system.

  8. After the reboot, login to the new server.

  9. Edit the file /opt/asu/lanman/bin/lmpaths: change the line "ALLOW_UNAME_SERVER=" to "ALLOW_UNAME_SERVER=yes". On most systems, this will be the last line in the file.

  10. Run /opt/asu/lanman/bin/setservername and change the name of the new server such that it is different from the old server. You will need to enter the new server's administrator account name and password. After you have entered this information, answer "no" to the question "Do you want to start the server now [y/n]?"

    The interaction with 'setservername' will look like this:

    This utility...allows you to change... etc. [long message]Do you want to continue [y/n]? yThe current name of this server is (old-server-name).
    Would you like to change this name now [y/n]? yEnter the new servername (15 characters or less): new-server-nameEnter the name of an administrator account on 'new-server-name' or press Enter to select 'administrator':Enter the password for 'administrator':
    Re-enter password:Confirm choices: New servername : new-server-name
    Administrator accoun : administrator
    Is this correct [y/n]? y

    Updating the accounts database ... Database updated successfull
    Do you want to start the server now [y/n]? n
    The name change will not take effect until the server has been started.
  11. Run 'asu_inst'. Answer "yes" when you see the following:

    Configuration files from a previous installation of LAN Manager or AS/U are present on this computer. This installation can either upgrade these files, or delete them.      Do you want to upgrade these files [y/n]? y
  12. Stop the server:

    $ net stop server

    Note that the 'net' program resides both in /opt/asu/lanman/bin, and as a symbolic link in /usr/bin. It should be in your path at this point.

  13. Run 'joindomain' to change the role of the new server to Backup Domain Controller (BDC):

    $ joindomain[Long introductory messages...]The current name of this server is (new-server-name).
    Would you like to change this name now [y/n]? nThis server is configured as a 'primary' domain controller.
    Would you like to change the role of this server to 'backup' [y/n]? y[More messages...]Enter the name of the primary domain controller: old-server-nameEnter the name of an administrator account on 'old-server-name'
    or press Enter to select 'administrator':Enter the password for administrator:
    Re-enter password:Contacting the server 'old-server-name' ... SuccessConfirm choices: servername : new-server
    role : backup
    domain : old-domain-name
    primary : old-server-name
    Is this correct [y/n]? yCreating Advanced Server for UNIX Systems accounts database.Do you want to start the server now [y/n]? y
    Starting the Advanced Server for UNIX Systems ...
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1999 Hewlett-Packard Development Company, L.P.