eDirectory 8.8 SP6 Unattended Deconfiguration and Uninstallation on Windows

0 Likes
over 10 years ago

Table of Contents













Introduction



eDirectory is an infrastructure component being used in many of the Novell products. eDirectory support the use of predefined text files that facilitate an unattended deconfiguration and uninstallation, with some minor time spent editing this file.



This paper discusses the features and the configuration necessary to perform an unattended deconfiguration and uninstallation of eDirectory in Windows. This feature is supported in the eDirectory 8.8 SP6 release and onwards.



Unattended Deconfiguration of eDirectory


On Windows, the unattended deconfiguration of eDirectory uses predefined text files that facilitate the unattended deconfiguration. The following sections discuss various features of unattended eDirectory deconfiguration:



Response Files



Deconfiguration of eDirectory on Windows operating system can be made silent and more flexible by using a response file (remove.rsp). A response file is a text file containing sections and keys, similar to a Windows .ini file. You can create and edit a response file using any ASCII text editor. The eDirectory reads the deconfiguration parameters directly from the response file and replaces the default deconfiguration values with response file values. The deconfiguration program accepts the values from the response file and continues to deconfigure without prompts.



remove.rsp File Sections and Keys



The eDirectory deconfiguration requires changes to the sections in the response file to add information about the mode, tree name, administrator context, administrator credentials (including user name and passwords), etc. A full list of the keys and their default values is available in the sample remove.rsp file that is delivered with the eDirectory installation.



NOTE: You should use the provided remove.rsp file available at,

<Unzipped_Locn>\eDirectory\nt\i386\NDSonNT\remove.rsp for 32-bit or
<Unzipped_Locn>\eDirectory\windows\x64\NDSonNT\remove.rsp for 64-bit

present in the eDirectory installation. Essential parameters are set by default in this file. When editing the remove.rsp file, ensure there are no blank spaces between the key and the values along with the equals sign ("=") in each key-value pair. You need to provide the administrator user credentials in the remove.rsp file for an unattended deconfiguration. Therefore, you must permanently delete the file after the deconfiguration to prevent the administrator credentials from being compromised.


Add Features to the Automated Uninstallation



Most details for configuring the eDirectory deconfigure have default setting for the manual uninstallation. However, during unattended uninstallation, each configuration parameter must be explicitly configured. This section discusses the basic settings to be deconfigured.



eDirectory Server Details



The details of the server being deconfigured must be provided to the deconfigure. Most of this information is configured in three tags, [Novell:NDSforNT:1.0.0], [Initialization], and [Selected Nodes].



Take all the values mentioned in [Initialization] and [Selected Nodes] in remove.rsp as it is in response file.



[Novell:NDSforNT:1.0.0]


Tree Name: The name of the tree from which the server will be uninstalled.


Admin Login Name: The name (RDN) of the Administrator object in the tree that has full rights, at least to the context to which this server is added. All operations in the tree will be performed as this user.


Admin Context: Any user added to a tree has a user object that contains all the user-specific details. This parameter is the container object in the tree to which the Administrator object is added.


Admin Password: The password for the Administrator object created in the previous parameters.


Prompt: The type of the uninstallation mode should be mentioned in this variable. It will be set by default to 'silent' for unattended uninstallation. If any value other than 'silent' is set then it will do normal uninstallation.


ConfigurationMode: This will prevent the deconfigure to remove installed binaries.


Mode: This variable will be used to specify type of operation being performed i.e deconfigure, uninstall or deconfigure and uninstall together. The value needs to deconfigure in this case for deconfiguration.



The following is a sample of text in the response file for all the basic parameters described above:


[Novell:NDSforNT:1.0.0]
Tree Name=SILENTCORP-TREE
Admin Context=Novell
Admin Login Name=Admin
Admin Password=novell
ConfigruationMode=RestrictNodeRemove
mode=deconfigure
prompt=silent


Remove Configuration File Changes



In remove.cfg file residing in <Windows Install Drive>\Program Files\Common Files\novell\ni\bin,change:


[PARAMETERS]
0 /OUTPUT_TO_FILE

to
[PARAMETERS]
0 /OUTPUT_TO_FILE /SILENT


Unattended deconfiguration of eDirectory using Response File




  • Copy the above edited file remove.rsp into <Windows Install Drive>\Program Files\Common Files\novell\ni\data.

  • The install.exe installed in the eDirectory is invoked in the command line with a few additional parameters, the command is,

    <Windows Install Drive>\Program Files\Common Files\novell\ni\bin>install.exe -remove /restrictnoderemove /nopleasewait ..\data\ip.db ..\data\remove.rsp Novell:NDSforNT:1.0.0 0 NDSonNT



Unattended Uninstallation of eDirectory



On Windows, the unattended uninstallation of eDirectory uses predefined text files that facilitate the unattended uninstallation. The following sections discuss various features of unattended eDirectory uninstallation.



Response Files



Uninstalling eDirectory on Windows operating system can be made silent and more flexible by using a response file (remove.rsp). Response file is same as described in the deconfiguration section.



remove.rsp File Sections and Keys


The eDirectory uninstallation requires changes to the sections in the response file to add information about the tree name, administrator context, administrator credentials (including user name and passwords), etc. Response file is similar as described in the deconfiguration section, here only change will be in mode. Instead of deconfigure it will be uninstall.



The following is a sample of text in the response file for all the basic parameters described above.



[Novell:NDSforNT:1.0.0]
Tree Name=SILENTCORP-TREE
Admin Context=Novell
Admin Login Name=Admin
Admin Password=novell
ConfigruationMode=RestrictNodeRemove
mode=uninstall
prompt=silent


Unattended Uninstallation of eDirectory using Response File




  • Copy the above edited file remove.rsp into <Windows Install Drive>\Program Files\Common Files\novell\ni\data.

  • Rename the ip.db file present in the <Windows Drive>\Program Files\Common Files\novell\ni\data directory to another name.

  • Copy the ip_conf.db file in the <Windows Drive>\Program Files\Common Files\novell\ni\data folder to ip.db.

  • Run the following command,

    <Windows Installed Drive>\Program Files\Common Files\novell\ni\bin>install.exe -remove /nopleasewait ..\data\ip.db ..\data\remove.rsp Novell:NDSForNT:1.0.0 0 NDSonNT



After performing an uninstallation of eDirectory or combination setup, delete the following folders:



  • C:\Novell\NDS (default location; else from the eDirectory installed directory)

  • C:\Novell\NDS\DIBFiles (default location; else from the eDirectory DIB location)

  • <Windows Installed Drive>:\Program Files\Common Files\Novell\ni

  • <Windows Installed Drive>:\Windows\system32\NDScpa.cpl



Tags:

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended