Attribute Management > Rename Attributes Before Upgrading
  
Version 10.0.01
Rename Attributes Before Upgrading
Beginning with APTARE StorageConsole 10, all attributes are multi-object attributes—that is, a single attribute is defined and that attribute, with its values, can be used for multiple object types. For example, prior to APTARE StorageConsole 10, you could have a Location attribute for a host and a separate Location attribute for an array. During the upgrade, a system attribute named Location is added to the database and this single attribute can be used for multiple object types—in this example, it would be used for both hosts and arrays.
During the Portal upgrade, if the names of existing attributes match the name of a system attribute introduced with the upgrade, you may want to rename existing attributes so that their values do not get merged into a single attribute. Renaming of attributes, before the upgrade is completed, must be performed using SQL at the command line.
Note: After you rename an attribute, any report templates that used these attributes must be updated via the Portal SQL Template Designer.
To rename existing attributes so that their values do not get merged into a single attribute, take the following steps.
1. Refer to Attribute-Naming Rules.
2. Log in to the Portal server.
3. At the command line:
su - aptare
4. At the command line, launch sqlplus:
sqlplus <pwd>/<pwd>
Example: sqlplus portal/portal
5. At the command line, execute the following at the SQL prompt:
UPDATE apt_attribute
SET attribute_name - '<NewAttributeName>'
WHERE attribute_id = <ExistingAttributeID>;
Commit;
Where <NewAttributeName> is the new name you supply and <ExistingAttributeID> is the ID listed during the Portal upgrade process.