wiki:Internal/MiscNotes

Version 6 (modified by Ilya Chigirev, 11 years ago) ( diff )

Miscellaneous Notes

This is for internal use of lab administrators only

  • Ldap: dhcp1 and dhcp2 (cname ldap1.orbit-lab.org) - The ldap conf lives in etc, as well as the "secret"
  • Web: served out of external3 (cname www.orbit-lab.org) - External web huhah only.
  • Internal ldap admin: http://internal4/phpldapadmin - If you just point a web browser to internal 3, it enumerates /, but that directory doesn't show up. however point the url directly works.
  • Internal1 hosts the mysql services, but the phpmyadmin runs on internal3 (http://internal4/phpmyadmin) (similar to the ldapamdin). You'll have to point the myadmin to internal1 to get the tables from that host (e.g. inventory).

Modifying inventory entries through XML

In this example I am trying to change a node from CM type 1 to type 10, the same process is true for any XML modifications to inventory changes:

  1. Check CM type and port
    internal1.orbit-lab.org:5054/inventory/attribute_list?set=nodeX-Y.DOMAIN.orbit-lab.org
    
  1. Set new CM type
    internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOMAIN.orbit-lab.org&attribute=CM_type&value=10
    
  1. Set new CM port
    internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOIMAIN.orbit-lab.org&attribute=CM_type&value=1
    
  1. Restart the service
    /etc/init.d/omf-aggmgr-5.4 restart
    
Note: See TracWiki for help on using the wiki.