= Miscellaneous Notes = [[TOC(Internal/MiscNotes)]] '''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 }}} 2. Set new CM type {{{ internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOMAIN.orbit-lab.org&attribute=CM_type&value=10 }}} 3. Set new CM port {{{ internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOIMAIN.orbit-lab.org&attribute=CM_type&value=1 }}} 4. Restart the service {{{ /etc/init.d/omf-aggmgr-5.4 restart }}}