Changes between Version 5 and Version 6 of Internal/MiscNotes
- Timestamp:
- Oct 24, 2013, 2:26:25 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/MiscNotes
v5 v6 1 = Some stuff that, I never rember where it is = 1 = Miscellaneous Notes = 2 [[TOC(Internal/MiscNotes)]] 3 4 '''This is for internal use of lab administrators only''' 2 5 3 6 * Ldap: dhcp1 and dhcp2 (cname ldap1.orbit-lab.org) - The ldap conf lives in etc, as well as the "secret" … … 7 10 * 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). 8 11 12 == Modifying inventory entries through XML == 13 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: 9 14 15 1. Check CM type and port 16 {{{ 17 internal1.orbit-lab.org:5054/inventory/attribute_list?set=nodeX-Y.DOMAIN.orbit-lab.org 18 }}} 10 19 20 2. Set new CM type 21 {{{ 22 internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOMAIN.orbit-lab.org&attribute=CM_type&value=10 23 }}} 24 25 3. Set new CM port 26 {{{ 27 internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOIMAIN.orbit-lab.org&attribute=CM_type&value=1 28 }}} 29 30 4. Restart the service 31 {{{ 32 /etc/init.d/omf-aggmgr-5.4 restart 33 }}}