Signiant Support

How do I manually add an alias on my Manager for a previously installed Agent? Print


Problem

How do I manually add an alias on my Signiant Manager for a previously installed Agent?

Solution

To add an alias for a previously installed Agent, first verify that you have a successful Siginant Manager backup. The following procedure involves accessing the database and any mistakes could cause corruption.
 
  1. Verify that you have a successful Signiant Manager backup.
  2. In the Signiant Manager, go to Administration > Agents > Configure > Add. In this example the Agent is server.acme.com.
  3. Add the alias name of the new Agent to your Signiant Manager, go to Administration > Agents > Configure > Add. In this example the alias is test.acme.com.
  4. Log into the Signiant Manager host:
    Linux: telnet or ssh as root
    Windows: RDP or log into the console as an Administrator
  5. Log into the database, type:
    Signiant install dir>/db/pgsql/bin/psql -U postgres DTM_DB
  6. Update the alias entry, type:
    update node set node_type = 'ALIAS' where node_name = 'test.acme.com'
  7. Get the node_id number of the new trusted agent added above, type:
    > select node_id from node where node_name = 'server.acme.com';
    In this example the node_id is 37.
  8. Get the node_id number of the new agents alias added above, type:
    > select node_id from node where node_name = 'test.acme.com';
    In this example the node_id is 39.
  9. Using the two node id numbers, link the two hosts, type:
    > insert into node_alias (node_id, alias_id) values (new_agent_node_id, new_alias_node_id);
    In this example: insert into node_alias (node_id, alias_id) values (37, 39);.
  10. Exit psql, type:
    > \q
Notes
  1. This procedure should be only followed under direction from Signiant support. Directly modifying the database can make the product unstable if any mistakes are made.
  2. This procedure only applies when the Agent has already been installed from another Signiant Manager and has an alias in the certificate. It is not sufficient to add an alias to an Agent that does not already have the alias name in the certificate