Differences between revisions 3 and 4
Revision 3 as of 2014-09-12 21:16:17
Size: 1885
Editor: frank
Comment:
Revision 4 as of 2014-09-12 21:18:00
Size: 3680
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
 * Server DB
 {{{
# ll /etc/ovs-agent/db
total 36
-rw------- 1 root root 12288 Sep 12 13:40 aproc
-rw------- 1 root root 12288 Sep 12 13:40 exports
-rw------- 1 root root 12288 Sep 12 13:54 repository
-rw------- 1 root root 12288 Sep 12 14:17 server

# ovs-agent-db dump_db server
{'cluster_state': 'DLM_Ready',
 'clustered': True,
 'is_master': True,
 'manager_event_url': 'https://192.168.0.10:7002/ovm/core/wsapi/rest/internal/Server/802D6A48-0705-9248-FA75-41B2ED1271C3/Event',
 'manager_ip': '192.168.0.10',
 'manager_statistic_url': 'https://192.168.0.10:7002/ovm/core/wsapi/rest/internal/Server/802D6A48-0705-9248-FA75-41B2ED1271C3/Statistic',
 'manager_uuid': '0004fb0000010000e3abb9a99784b8e0',
 'node_number': 1,
 'pool_alias': 'VCA-lite Server Pool',
 'pool_uuid': '0004fb000002000086f7ab23764f197d',
 'pool_virtual_ip': '192.168.0.3',
 'poolfs_nfsbase_uuid': '82235ece-ed36-4789-855e-c44ebe388dda',
 'poolfs_target': '10.196.248.11:/export/vca-lite/poolfs1',
 'poolfs_type': 'nfs',
 'poolfs_uuid': '0004fb0000050000f1cf04cdc2a4a79c',
 'registered_hostname': 'ovs193.us.oracle.com',
 'registered_ip': '192.168.0.2',
 'roles': set(['utility', 'xen'])}


# ovs-agent-db dump_db repository
{'0004fb000003000040f485577f678d25': {'alias': u'VCA-lite Repository',
                                      'filesystem': 'nfs',
                                      'fs_location': '10.196.248.11:/export/vca-lite/repo1',
                                      'manager_uuid': u'0004fb0000010000e3abb9a99784b8e0',
                                      'mount_point': '/OVS/Repositories/0004fb000003000040f485577f678d25',
                                      'version': u'3.0'}}
# ovs-agent-db dump_db aproc
{}

# ovs-agent-db dump_db exports
{}

}}}

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

  • Server DB
    # ll /etc/ovs-agent/db
    total 36
    -rw------- 1 root root 12288 Sep 12 13:40 aproc
    -rw------- 1 root root 12288 Sep 12 13:40 exports
    -rw------- 1 root root 12288 Sep 12 13:54 repository
    -rw------- 1 root root 12288 Sep 12 14:17 server
    
    # ovs-agent-db dump_db server
    {'cluster_state': 'DLM_Ready',
     'clustered': True,
     'is_master': True,
     'manager_event_url': 'https://192.168.0.10:7002/ovm/core/wsapi/rest/internal/Server/802D6A48-0705-9248-FA75-41B2ED1271C3/Event',
     'manager_ip': '192.168.0.10',
     'manager_statistic_url': 'https://192.168.0.10:7002/ovm/core/wsapi/rest/internal/Server/802D6A48-0705-9248-FA75-41B2ED1271C3/Statistic',
     'manager_uuid': '0004fb0000010000e3abb9a99784b8e0',
     'node_number': 1,
     'pool_alias': 'VCA-lite Server Pool',
     'pool_uuid': '0004fb000002000086f7ab23764f197d',
     'pool_virtual_ip': '192.168.0.3',
     'poolfs_nfsbase_uuid': '82235ece-ed36-4789-855e-c44ebe388dda',
     'poolfs_target': '10.196.248.11:/export/vca-lite/poolfs1',
     'poolfs_type': 'nfs',
     'poolfs_uuid': '0004fb0000050000f1cf04cdc2a4a79c',
     'registered_hostname': 'ovs193.us.oracle.com',
     'registered_ip': '192.168.0.2',
     'roles': set(['utility', 'xen'])}
    
    
    # ovs-agent-db dump_db repository
    {'0004fb000003000040f485577f678d25': {'alias': u'VCA-lite Repository',
                                          'filesystem': 'nfs',
                                          'fs_location': '10.196.248.11:/export/vca-lite/repo1',
                                          'manager_uuid': u'0004fb0000010000e3abb9a99784b8e0',
                                          'mount_point': '/OVS/Repositories/0004fb000003000040f485577f678d25',
                                          'version': u'3.0'}}
    # ovs-agent-db dump_db aproc
    {}
    
    # ovs-agent-db dump_db exports
    {}
  • 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)