1 | Slide 11: |
---|
2 | |
---|
3 | cd ~/Tutorials/DiCloud |
---|
4 | ./key_install.sh geni.cs.umass.edu |
---|
5 | ls -la ec2/keys |
---|
6 | ls -la / |
---|
7 | |
---|
8 | Slide 12: |
---|
9 | |
---|
10 | cd ~/Tutorials/DiCloud |
---|
11 | source ./environment |
---|
12 | cd dicloud/bin |
---|
13 | ./dicloud_server.sh |
---|
14 | |
---|
15 | Slide 13: |
---|
16 | |
---|
17 | cd ~/Tutorials/DiCloud |
---|
18 | source ./environment |
---|
19 | cd dicloud/bin |
---|
20 | cat ec2pricing.properties |
---|
21 | |
---|
22 | Slide 14: |
---|
23 | |
---|
24 | cd ~/Tutorials/DiCloud |
---|
25 | source ./environment |
---|
26 | ./dicloud_console.sh |
---|
27 | help |
---|
28 | |
---|
29 | Slide 15: |
---|
30 | |
---|
31 | connect localhost 1099 |
---|
32 | get balance |
---|
33 | add credit 100 |
---|
34 | get balance |
---|
35 | |
---|
36 | Slide 16: |
---|
37 | |
---|
38 | head ~/Tutorials/DiCloud/s3_test |
---|
39 | s3 create gec12-tutorial-<rand> us |
---|
40 | s3 put gec12-tutorial-<rand> test /home/geni/Tutorials/DiCloud/s3_test |
---|
41 | s3 get gec12-tutorial-<rand> test /home/geni/Tutorials/DiCloud/test |
---|
42 | s3 delete gec12-tutorial-<rand> us |
---|
43 | get balance |
---|
44 | head ~/Tutorials/DiCloud/test |
---|
45 | |
---|
46 | Slide 17: |
---|
47 | |
---|
48 | ec2 start /geni_cert.pem /geni_pk.pem ami-013d6c44 1 m1.small us-west-1 geni-keypair |
---|
49 | ec2 probe /geni_cert.pem /geni_pk.pem <instance id> us-west-1 ascii |
---|
50 | |
---|
51 | Slide 18: |
---|
52 | |
---|
53 | ssh -i /geni-keypair.pem root@<public dns name> |
---|
54 | ls -la /dev/sdg |
---|
55 | |
---|
56 | Slide 19: |
---|
57 | |
---|
58 | ebs create /geni_cert.pem /geni_pk.pem 1 us-west-1 us-west-1<availability zone letter>
|
---|
59 | ebs attach /geni_cert.pem /geni_pk.pem us-west-1 <volume id> <instance id> sdg
|
---|
60 | ls -la /dev/sdg |
---|
61 | mkfs.ext3 /dev/sdg |
---|
62 | mount -t ext3 /dev/sdg /mnt |
---|
63 | umount /mnt |
---|
64 | exit |
---|
65 | get balance |
---|
66 | |
---|
67 | Slide 20: |
---|
68 | |
---|
69 | cd ~/Tutorials/DiCloud/dicloud/bin |
---|
70 | nano getbalance.txt |
---|
71 | ./dicloud_console_script.sh < getbalance.txt |
---|
72 | |
---|
73 | Slide 21: |
---|
74 | |
---|
75 | ebs detach /geni_cert.pem /geni_pk.pem us-west-1 <volume id> |
---|
76 | ebs delete /geni_cert.pem /geni_pk.pem <volume id> us-west-1 |
---|
77 | ec2 stop /geni_cert.pem /geni_pk.pem <instance id> us-west-1 geni-keypair
|
---|
78 | get balance |
---|
79 | |
---|
80 | Slide 24: |
---|
81 | |
---|
82 | /geni_cert_web.pem |
---|
83 | /geni_pk_web.pem |
---|
84 | geni-keypair |
---|
85 | |
---|
86 | Slide 35: |
---|
87 | |
---|
88 | cp ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pem ~/.ssh/id_rsa
|
---|
89 | cp ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pub ~/.ssh/id_rsa.pub
|
---|
90 | keychain ~/.ssh/id_rsa
|
---|
91 | ssh root@<Amazon IP 1> "hostname <Insert IP 1>"
|
---|
92 | ssh root@<Amazon IP 2 "hostname <Insert IP 2>" |
---|
93 | cd ~/Tutorials/DiCloud/gush |
---|
94 | nano directory.xml |
---|
95 | |
---|
96 | Slide 36: |
---|
97 | |
---|
98 | cd ~/Tutorials/DiCloud/gush |
---|
99 | ./gush -P 15000 |
---|
100 | info nodes |
---|
101 | load simple.xml |
---|
102 | run |
---|
103 | disconnect |
---|
104 | quit |
---|
105 | |
---|
106 | Slide 38: |
---|
107 | |
---|
108 | cd ~/Tutorials/DiCloud/gush |
---|
109 | cat omni_config |
---|
110 | nano directory.xml |
---|
111 | |
---|
112 | Slide 39: |
---|
113 | |
---|
114 | cd ~/.ssh/ |
---|
115 | keychain --clear |
---|
116 | keychain ~/.ssh/id_rsa |
---|
117 | keychain ~/.ssh/id_rsa_geni |
---|
118 | cd ~/Tutorials/DiCloud/gush |
---|
119 | cp simple.xml simple-orca.xml |
---|
120 | nano simple-orca.xml |
---|
121 | |
---|
122 | Slide 40: |
---|
123 | |
---|
124 | nano orca-new.rspec |
---|
125 | |
---|
126 | Slide 41: |
---|
127 | |
---|
128 | helper-scripts/handle-geni.py -n -f pg -a https://www.emulab.net/protogeni/xmlrpc/am createslice gush-orca-david
|
---|
129 | |
---|
130 | helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc createsliver gush-orca-david orca-new.rspec
|
---|
131 | |
---|
132 | Slide 42: |
---|
133 | |
---|
134 | helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus gush-orca-david |
---|
135 | |
---|
136 | helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus gush-orca-david |
---|
137 | |
---|
138 | Slide 43: |
---|
139 | |
---|
140 | ssh root@<ip address> âhostname <ip address>â
|
---|
141 | ssh root@<ip address> âhostname <ip address>â
|
---|
142 | |
---|
143 | Slide 44: |
---|
144 | |
---|
145 | ./gush -P 15000 |
---|
146 | info nodes |
---|
147 | load simple-orca.xml |
---|
148 | run |
---|
149 | |
---|
150 | Slide 46: |
---|
151 | |
---|
152 | disconnect |
---|
153 | quit |
---|
154 | helper-scripts/handle-geni.py -n -f pg -a https://geni.renci.org:11443/orca/xmlrpc deletesliver gush-orca-david
|
---|