Guest User

Untitled

a guest
Oct 14th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. 1- Repo update
  2. /etc/apt/sources.list.d/openstack-release-2011_2-maverick.list
  3. # Release Cactus
  4. # deb http://ppa.launchpad.net/openstack-release/2011.2/ubuntu maverick main
  5. # deb-src http://ppa.launchpad.net/openstack-release/2011.2/ubuntu maverick main
  6.  
  7. # Release Diablo
  8. deb http://ppa.launchpad.net/openstack-release/2011.3/ubuntu maverick main
  9. deb-src http://ppa.launchpad.net/openstack-release/2011.3/ubuntu maverick main
  10.  
  11. 2- Services stop :
  12. cd /etc/init.d/
  13. for i in $(ls nova-*); do service $i stop; done
  14. service rabbitmq-server stop
  15.  
  16. 3- Kill da services
  17. ps axl | pouet
  18.  
  19. 4- Drop tables
  20.  
  21. drop table block_device_mapping;
  22. drop table snapshots;
  23. drop table provider_fw_rules;
  24. drop table instance_type_extra_specs;
  25. drop table virtual_interfaces;
  26. drop table volume_types;
  27. drop table volume_type_extra_specs;
  28. drop table volume_metadata;
  29. drop table virtual_storage_arrays;
  30.  
  31. 5- aptitude update && aptitude upgrade
  32.  
  33. 6- update nova.conf :
  34. --dhcpbridge_flagfile=/etc/nova/nova.conf
  35. --dhcpbridge=/usr/bin/nova-dhcpbridge
  36. --logdir=/var/log/nova
  37. --state_path=/var/lib/nova
  38. --lock_path=/var/lock/nova
  39. --flagfile=/etc/nova/nova-compute.conf
  40. --force_dhcp_release=True
  41. --use_deprecated_auth
  42. --verbose
  43. --daemonize=1
  44. --s3_host=172.16.40.11
  45. --rabbit_host=172.16.40.11
  46. --cc_host=172.16.40.11
  47. --ec2_url=http://172.16.40.11:8773/services/Cloud
  48. --ec2_host=172.16.40.11
  49. --ec2_dmz_host=172.16.40.11
  50. --ec2_port=8773
  51. --fixed_range=192.168.0.0/12
  52. --FAKE_subdomain=ec2
  53. --routing_source_ip=10.0.10.14
  54. --sql_connection=mysql://user:[email protected]/nova
  55. --glance_host=172.16.40.13
  56. --glance_port=9292
  57. --image_service=nova.image.glance.GlanceImageService
  58. --image_decryption_dir=/var/lib/nova/tmp
  59. --network_manager=nova.network.manager.VlanManager
  60. --public_interface=eth0
  61. --vlan_interface=eth1
  62. --iscsi_ip_prefix=172.16.40.12
  63. --vnc_enabled
  64. --multi_host=T
  65.  
  66.  
Advertisement
Add Comment
Please, Sign In to add comment