Differences between revisions 2 and 3
Revision 2 as of 2014-04-28 22:12:31
Size: 461
Editor: frank
Comment:
Revision 3 as of 2014-09-12 21:16:17
Size: 1885
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:

=== Agent DB ===
 * Cluster DB
 {{{
# ll /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db
total 36
-rw------- 1 root root 12288 Sep 12 13:59 monitored_vms
-rw------- 1 root root 12288 Sep 12 14:11 server_pool
-rw------- 1 root root 12288 Sep 12 13:54 server_pool_servers

# ovs-agent-db -d /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db dump_db monitored_vms
{'0004fb00-0006-0000-8d80-f107e4ed63c8': {'repo_id': '0004fb000003000040f485577f678d25',
                                          'vm_id': '0004fb00000600008d80f107e4ed63c8'}}

# ovs-agent-db -d /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db dump_db server_pool
{'auto_remaster': True,
 'pool_alias': 'VCA-lite Server Pool',
 'pool_master_hostname': 'ovs193.us.oracle.com',
 'pool_member_ip_list': ['192.168.0.1', '192.168.0.2'],
 'pool_uuid': '0004fb000002000086f7ab23764f197d',
 'pool_virtual_ip': '192.168.0.3'}

# ovs-agent-db -d /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db dump_db server_pool_servers
{'ovs192.us.oracle.com': {'is_master': True,
                          'node_number': 0,
                          'registered_ip': '192.168.0.1',
                          'roles': set(['utility', 'xen'])},
 'ovs193.us.oracle.com': {'is_master': False,
                          'node_number': 1,
                          'registered_ip': '192.168.0.2',
                          'roles': set(['utility', 'xen'])}}
}}}

Boot entry

  • 3.2
    label xen
            kernel mboot.c32
            append xen.gz dom0_mem=max:128G --- vmlinuz --- initrd.img
  • 3.3
    label xen
            kernel mboot.c32
            append xen.gz dom0_mem=max:128G dom0_max_vcpus=20 --- vmlinuz --- initrd.img
  • With kickstart
    mboot.c32 xen.gz dom0_mem=max:128G dom0_max_vcpus=20 --- vmlinuz ks=http://ca-sysinfra604.us.oracle.com/systest/public/installation/ks.cfg ksdevice=eth0 --- initrd.img

Agent DB

  • Cluster DB
    # ll /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db
    total 36
    -rw------- 1 root root 12288 Sep 12 13:59 monitored_vms
    -rw------- 1 root root 12288 Sep 12 14:11 server_pool
    -rw------- 1 root root 12288 Sep 12 13:54 server_pool_servers
    
    # ovs-agent-db -d  /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db dump_db monitored_vms
    {'0004fb00-0006-0000-8d80-f107e4ed63c8': {'repo_id': '0004fb000003000040f485577f678d25',
                                              'vm_id': '0004fb00000600008d80f107e4ed63c8'}}
    
    # ovs-agent-db -d  /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db dump_db server_pool
    {'auto_remaster': True,
     'pool_alias': 'VCA-lite Server Pool',
     'pool_master_hostname': 'ovs193.us.oracle.com',
     'pool_member_ip_list': ['192.168.0.1', '192.168.0.2'],
     'pool_uuid': '0004fb000002000086f7ab23764f197d',
     'pool_virtual_ip': '192.168.0.3'}
    
    # ovs-agent-db -d  /poolfsmnt/0004fb0000050000f1cf04cdc2a4a79c/db dump_db server_pool_servers
    {'ovs192.us.oracle.com': {'is_master': True,
                              'node_number': 0,
                              'registered_ip': '192.168.0.1',
                              'roles': set(['utility', 'xen'])},
     'ovs193.us.oracle.com': {'is_master': False,
                              'node_number': 1,
                              'registered_ip': '192.168.0.2',
                              'roles': set(['utility', 'xen'])}}

Tech/OVMServer (last edited 2015-07-20 18:36:51 by frank)