Changes between Version 5 and Version 6 of Internal/MiscNotes


Ignore:
Timestamp:
Oct 24, 2013, 2:26:25 PM (11 years ago)
Author:
Ilya Chigirev
Comment:

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'''
    25
    36 * Ldap: dhcp1 and dhcp2 (cname ldap1.orbit-lab.org) - The ldap conf lives in etc, as well as the "secret"
     
    710 * 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).
    811
     12== Modifying inventory entries through XML ==
     13In 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:
    914
     151. Check CM type and port
     16{{{
     17internal1.orbit-lab.org:5054/inventory/attribute_list?set=nodeX-Y.DOMAIN.orbit-lab.org
     18}}}
    1019
     202. Set new CM type
     21{{{
     22internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOMAIN.orbit-lab.org&attribute=CM_type&value=10
     23}}}
     24
     253. Set new CM port
     26{{{
     27internal1.orbit-lab.org:5054/inventory/attribute_modify?name=nodeX-Y.DOIMAIN.orbit-lab.org&attribute=CM_type&value=1
     28}}}
     29
     304. Restart the service
     31{{{
     32/etc/init.d/omf-aggmgr-5.4 restart
     33}}}