Guest User

Untitled

a guest
Dec 14th, 2017
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. vmadm boot $UUID && vmadm console $UUID
  2.  
  3. Enter a company name: berkeley
  4. Enter a region for this datacenter: berkeley
  5. Enter a name for this datacenter: berkeley
  6. Enter the City and State for this datacenter: Berkeley, CA
  7.  
  8. Enter the number of the NIC for the 'admin' interface: 2
  9. (admin) headnode IP address: 10.99.99.1
  10. (admin) headnode netmask [255.255.255.0]:
  11. (admin) Zone's starting IP address [10.99.99.2]:
  12.  
  13. Enter the number of the NIC for the 'external' interface: 1
  14. (external) headnode IP address: 172.26.19.140
  15. (external) headnode netmask [255.255.255.0]:
  16. (external) gateway IP address: 172.26.19.1
  17. (external) VLAN ID [press enter for none]:
  18. Starting provisionable IP address [172.26.19.2]: 172.26.19.141
  19. Ending provisionable IP address [172.26.19.139]: 172.26.19.159
  20.  
  21. Enter the default gateway IP [172.26.19.1]:
  22.  
  23. Enter the Primary DNS server IP [8.8.8.8]:
  24. Checking connectivity...UNREACHABLE
  25. Enter the Secondary DNS server IP [8.8.4.4]:
  26. Checking connectivity...UNREACHABLE
  27. Enter the headnode domain name: example.com
  28. Default DNS search domain: example.com
  29.  
  30. At this point *WAIT* there will be at least two reboots, and a download of all of the Triton stuff.
  31.  
  32. eventually sdc-healthcheck will be available, and will run successfully.
  33.  
  34.  
  35.  
  36. Now setting up Manta:
  37.  
  38. /usbkey/scripts/setup_manta_zone.sh # this created the manta0 deployment zone
  39.  
  40. /zones/$(vmadm lookup alias=manta0)/root/opt/smartdc/manta-deployment/networking/gen-coal.sh > /var/tmp/netconfig.json
  41.  
  42. Update the config
  43.  
  44. get the mac_mappings from the host by doing:
  45. vmadm get $headnode_uuid | json nics
  46.  
  47. ln -s /zones/$(vmadm lookup alias=manta0)/root/opt/smartdc/manta-deployment/networking /var/tmp/networking
  48. cd /var/tmp/networking
  49. ./manta-net.sh ../netconfig.json | tee netconfig.out
  50.  
  51. log into the deployment zone:
  52.  
  53. zlogin $(vmadm lookup alias=manta0)
  54.  
  55. manta-init -s lab -e tim.kordas@joyent.com
  56.  
  57. (marlin image size is too big, copy it around locally and then use sdc-import to put it in the right place).
  58.  
  59. manta-deploy-lab
Add Comment
Please, Sign In to add comment