786 | | Requested administrative account, waiting. |
| 786 | Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/ClemsonInstaGENI Clemson InstaGENI] aggregate page. Followed instructions at [https://users.emulab.net/trac/protogeni/wiki/RackAdminAccounts Admin Accounts on InstaGeni Racks] page for account request. A local administrator account by joining the ''emulab-ops'' group at https://www.clemson.edu/joinproject.php3?target_pid=emulab-ops. Once the administrative account was created and membership to emulab-ops was approved and activated, proceeded to execute administrative tests. |
| 787 | |
| 788 | {{{ |
| 789 | LNM:~$ ssh control.instageni.clemson.edu |
| 790 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 791 | |
| 792 | * Documentation: https://help.ubuntu.com/ |
| 793 | |
| 794 | System information as of Tue Aug 27 17:17:00 UTC 2013 |
| 795 | |
| 796 | System load: 0.19 IP address for xenbr0: 130.127.215.130 |
| 797 | Usage of /: 34.3% of 5.85GB IP address for xenbr0:1: 172.16.0.1 |
| 798 | Memory usage: 42% IP address for xenbr1: 10.1.1.254 |
| 799 | Swap usage: 1% IP address for xenbr2: 10.2.1.254 |
| 800 | Processes: 146 IP address for xenbr3: 10.3.1.254 |
| 801 | Users logged in: 1 IP address for gre6: 10.251.251.251 |
| 802 | |
| 803 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 804 | |
| 805 | The programs included with the Ubuntu system are free software; |
| 806 | the exact distribution terms for each program are described in the |
| 807 | individual files in /usr/share/doc/*/copyright. |
| 808 | |
| 809 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 810 | applicable law. |
| 811 | |
| 812 | To run a command as administrator (user "root"), use "sudo <command>". |
| 813 | See "man sudo_root" for details. |
| 814 | |
| 815 | lnevers@clemson:~$ sudo whoami |
| 816 | root |
| 817 | lnevers@clemson:~$ |
| 818 | |
| 819 | }}} |
| 820 | |
| 821 | Also access the boss node: |
| 822 | {{{ |
| 823 | LNM:~$ ssh boss.instageni.clemson.edu |
| 824 | Last login: Tue Aug 27 13:14:24 2013 from dhcp89-073-116.bbn.com |
| 825 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 826 | |
| 827 | Welcome to FreeBSD! |
| 828 | |
| 829 | In order to make fetch (the FreeBSD downloading tool) ask for |
| 830 | username/password when it encounters a password-protected web page, you can set |
| 831 | the environment variable HTTP_AUTH to 'basic:*'. |
| 832 | [lnevers@boss ~]$ sudo whoami |
| 833 | root |
| 834 | [lnevers@boss ~]$ |
| 835 | |
| 836 | }}} |
| 837 | |
| 838 | From boss node accessed each of the experiment nodes that support VMs: |
| 839 | {{{ |
| 840 | [lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 841 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.clemson.edu |
| 842 | root |
| 843 | Linux vhost1.shared-nodes.emulab-ops.instageni.clemson.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 844 | |
| 845 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.clemson.edu |
| 846 | root |
| 847 | Linux vhost2.shared-nodes.emulab-ops.instageni.clemson.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 848 | |
| 849 | ===> Host: vhost3.shared-nodes.emulab-ops.instageni.clemson.edu |
| 850 | root |
| 851 | Linux vhost3.shared-nodes.emulab-ops.instageni.clemson.edu 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 852 | |
| 853 | [lnevers@boss ~]$ |
| 854 | }}} |
| 855 | |
| 856 | In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture one of the raw-pc nodes was in use (pc4) The other PC (pc5) was not reachable because it was not in use: |
| 857 | {{{ |
| 858 | [lnevers@boss ~]$ sudo ssh pc4 |
| 859 | [root@pc ~]# sudo whoami |
| 860 | root |
| 861 | [root@pc ~]# uname -a |
| 862 | Linux pc.ig-ct-2.ch-geni-net.instageni.clemson.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 863 | [root@pc ~]# exit |
| 864 | logout |
| 865 | Connection to pc4.instageni.clemson.edu closed. |
| 866 | }}} |
| 867 | |
| 868 | Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users: |
| 869 | {{{ |
| 870 | LNM:~$ ssh ops.instageni.clemson.edu |
| 871 | Last login: Tue Aug 27 11:43:24 2013 from dhcp89-073-116.bbn.com |
| 872 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 873 | |
| 874 | Welcome to FreeBSD! |
| 875 | |
| 876 | You can press up-arrow or down-arrow to walk through a list of |
| 877 | previous commands in tcsh. |
| 878 | > bash |
| 879 | [lnevers@ops ~]$ sudo whoami |
| 880 | root |
| 881 | [lnevers@ops ~]$ ssh boss |
| 882 | Last login: Tue Aug 27 13:18:23 2013 from dhcp89-073-116.bbn.com |
| 883 | FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012 |
| 884 | |
| 885 | Welcome to FreeBSD! |
| 886 | |
| 887 | Nice bash prompt: PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ ' |
| 888 | -- Mathieu <mathieu@hal.interactionvirtuelle.com> |
| 889 | > bash |
| 890 | [lnevers@boss ~]$ |
| 891 | |
| 892 | }}} |
| 893 | Access infrastructure Switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 894 | {{{ |
| 895 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 896 | XXXXXXXXX |
| 897 | [lnevers@boss ~]$ telnet procurve1 |
| 898 | Trying 10.1.1.253... |
| 899 | Connected to procurve1. |
| 900 | Escape character is '^]'. |
| 901 | |
| 902 | HP J9623A E2620-24 Switch |
| 903 | Software revision RA.15.05.0006 |
| 904 | |
| 905 | Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P. |
| 906 | |
| 907 | RESTRICTED RIGHTS LEGEND |
| 908 | Confidential computer software. Valid license from HP required for possession, |
| 909 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 910 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 911 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 912 | license. |
| 913 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 914 | 20555 State Highway 249, Houston, TX 77070 |
| 915 | |
| 916 | We'd like to keep you up to date about: |
| 917 | * Software feature updates |
| 918 | * New product announcements |
| 919 | * Special events |
| 920 | Please register your products now at: www.hp.com/networking/register |
| 921 | Password: |
| 922 | HP-E2620-24# show version |
| 923 | Image stamp: /sw/code/build/xform(RA_15_05) |
| 924 | Aug 9 2011 09:08:18 |
| 925 | RA.15.05.0006 |
| 926 | 44 |
| 927 | Boot Image: Primary |
| 928 | HP-E2620-24# show running-config |
| 929 | |
| 930 | Running configuration: |
| 931 | |
| 932 | ; J9623A Configuration Editor; Created on release #RA.15.05.0006 |
| 933 | ; Ver #01:01:00 |
| 934 | |
| 935 | hostname "HP-E2620-24" |
| 936 | ip default-gateway 10.1.1.254 |
| 937 | vlan 1 |
| 938 | name "DEFAULT_VLAN" |
| 939 | untagged 1-22,25-28 |
| 940 | ip address 10.254.254.253 255.255.255.0 |
| 941 | no untagged 23-24 |
| 942 | ip igmp |
| 943 | exit |
| 944 | vlan 11 |
| 945 | name "control-alternate" |
| 946 | untagged 24 |
| 947 | ip address 10.2.1.253 255.255.255.0 |
| 948 | exit |
| 949 | vlan 10 |
| 950 | name "control-hardware" |
| 951 | untagged 23 |
| 952 | ip address 10.1.1.253 255.255.255.0 |
| 953 | exit |
| 954 | no web-management |
| 955 | snmp-server community "xxx" unrestricted |
| 956 | management-vlan 10 |
| 957 | no dhcp config-file-update |
| 958 | password xxx |
| 959 | password xxx |
| 960 | |
| 961 | HP-E2620-24# show vlan |
| 962 | |
| 963 | Status and Counters - VLAN Information |
| 964 | |
| 965 | Maximum VLANs to support : 256 |
| 966 | Primary VLAN : DEFAULT_VLAN |
| 967 | Management VLAN : control-hardware |
| 968 | |
| 969 | VLAN ID Name | Status Voice Jumbo |
| 970 | ------- -------------------------------- + ---------- ----- ----- |
| 971 | 1 DEFAULT_VLAN | Port-based No No |
| 972 | 10 control-hardware | Port-based No No |
| 973 | 11 control-alternate | Port-based No No |
| 974 | |
| 975 | |
| 976 | HP-E2620-24# |
| 977 | HP-E2620-24# exit |
| 978 | HP-E2620-24> exit |
| 979 | Do you want to log out [y/n]? y |
| 980 | Connection closed by foreign host. |
| 981 | [lnevers@boss ~]$ |
| 982 | }}} |
| 983 | |
| 984 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 985 | {{{ |
| 986 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 987 | xxxxxxx |
| 988 | [lnevers@boss ~]$ ssh manager@procurve2 |
| 989 | Warning: Permanently added 'procurve2' (RSA) to the list of known hosts. |
| 990 | We'd like to keep you up to date about: |
| 991 | * Software feature updates |
| 992 | * New product announcements |
| 993 | * Special events |
| 994 | Please register your products now at: www.hp.com/networking/register |
| 995 | |
| 996 | |
| 997 | manager@procurve2's password: |
| 998 | HP J8697A Switch E5406zl |
| 999 | Software revision K.15.06.5008 |
| 1000 | |
| 1001 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1002 | |
| 1003 | RESTRICTED RIGHTS LEGEND |
| 1004 | Confidential computer software. Valid license from HP required for possession, |
| 1005 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1006 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1007 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1008 | license. |
| 1009 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1010 | 20555 State Highway 249, Houston, TX 77070 |
| 1011 | |
| 1012 | Press any key to continue |
| 1013 | |
| 1014 | HP-E5406zl# show version |
| 1015 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 1016 | Feb 18 2012 11:26:28 |
| 1017 | K.15.06.5008 |
| 1018 | 79 |
| 1019 | Boot Image: Primary |
| 1020 | HP-E5406zl# show run |
| 1021 | |
| 1022 | Running configuration: |
| 1023 | |
| 1024 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 1025 | ; Ver #02:10.0d:1f |
| 1026 | |
| 1027 | hostname "HP-E5406zl" |
| 1028 | module 1 type J9550A |
| 1029 | interface A1 |
| 1030 | speed-duplex auto-1000 |
| 1031 | exit |
| 1032 | interface A2 |
| 1033 | speed-duplex auto-1000 |
| 1034 | exit |
| 1035 | interface A3 |
| 1036 | speed-duplex auto-1000 |
| 1037 | exit |
| 1038 | interface A4 |
| 1039 | speed-duplex auto-1000 |
| 1040 | exit |
| 1041 | interface A5 |
| 1042 | speed-duplex auto-1000 |
| 1043 | exit |
| 1044 | interface A6 |
| 1045 | speed-duplex auto-1000 |
| 1046 | exit |
| 1047 | interface A7 |
| 1048 | speed-duplex auto-1000 |
| 1049 | exit |
| 1050 | interface A8 |
| 1051 | speed-duplex auto-1000 |
| 1052 | exit |
| 1053 | interface A9 |
| 1054 | speed-duplex auto-1000 |
| 1055 | exit |
| 1056 | interface A10 |
| 1057 | speed-duplex auto-1000 |
| 1058 | exit |
| 1059 | interface A11 |
| 1060 | disable |
| 1061 | speed-duplex auto-1000 |
| 1062 | exit |
| 1063 | interface A12 |
| 1064 | disable |
| 1065 | speed-duplex auto-1000 |
| 1066 | exit |
| 1067 | interface A13 |
| 1068 | disable |
| 1069 | speed-duplex auto-1000 |
| 1070 | exit |
| 1071 | interface A14 |
| 1072 | disable |
| 1073 | speed-duplex auto-1000 |
| 1074 | exit |
| 1075 | interface A15 |
| 1076 | disable |
| 1077 | speed-duplex auto-1000 |
| 1078 | exit |
| 1079 | ip default-gateway 10.3.1.254 |
| 1080 | vlan 1 |
| 1081 | name "DEFAULT_VLAN" |
| 1082 | forbid A1-A9 |
| 1083 | untagged A11-A19,A21-A23 |
| 1084 | no untagged A1-A10,A20,A24 |
| 1085 | no ip address |
| 1086 | exit |
| 1087 | vlan 10 |
| 1088 | name "control-hardware" |
| 1089 | untagged A20 |
| 1090 | ip address 10.3.1.253 255.255.255.0 |
| 1091 | exit |
| 1092 | vlan 257 |
| 1093 | name "_5" |
| 1094 | untagged A1-A9 |
| 1095 | no ip address |
| 1096 | exit |
| 1097 | vlan 1750 |
| 1098 | name "_66" |
| 1099 | tagged A24 |
| 1100 | no ip address |
| 1101 | exit |
| 1102 | vlan 1755 |
| 1103 | name "_74" |
| 1104 | tagged A24 |
| 1105 | no ip address |
| 1106 | exit |
| 1107 | vlan 1756 |
| 1108 | name "_75" |
| 1109 | tagged A24 |
| 1110 | no ip address |
| 1111 | exit |
| 1112 | vlan 1757 |
| 1113 | name "_76" |
| 1114 | tagged A24 |
| 1115 | no ip address |
| 1116 | exit |
| 1117 | vlan 1758 |
| 1118 | name "_77" |
| 1119 | tagged A24 |
| 1120 | no ip address |
| 1121 | exit |
| 1122 | vlan 1759 |
| 1123 | name "_78" |
| 1124 | tagged A24 |
| 1125 | no ip address |
| 1126 | exit |
| 1127 | vlan 258 |
| 1128 | name "_89" |
| 1129 | tagged A7 |
| 1130 | no ip address |
| 1131 | exit |
| 1132 | vlan 259 |
| 1133 | name "_91" |
| 1134 | tagged A7,A10 |
| 1135 | no ip address |
| 1136 | exit |
| 1137 | no web-management |
| 1138 | openflow |
| 1139 | vlan 1750 |
| 1140 | enable |
| 1141 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1142 | exit |
| 1143 | vlan 1751 |
| 1144 | enable |
| 1145 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1146 | exit |
| 1147 | vlan 1755 |
| 1148 | enable |
| 1149 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1150 | exit |
| 1151 | vlan 1756 |
| 1152 | enable |
| 1153 | controller "tcp:10.3.1.7:6633" |
| 1154 | exit |
| 1155 | vlan 1757 |
| 1156 | enable |
| 1157 | controller "tcp:10.3.1.7:6633" |
| 1158 | exit |
| 1159 | vlan 1758 |
| 1160 | enable |
| 1161 | controller "tcp:10.3.1.7:6633" |
| 1162 | exit |
| 1163 | vlan 1759 |
| 1164 | enable |
| 1165 | controller "tcp:10.3.1.7:6633" |
| 1166 | exit |
| 1167 | exit |
| 1168 | snmp-server community "xxx" unrestricted |
| 1169 | management-vlan 10 |
| 1170 | no autorun |
| 1171 | no dhcp config-file-update |
| 1172 | no dhcp image-file-update |
| 1173 | password xx |
| 1174 | password xx |
| 1175 | |
| 1176 | HP-E5406zl# show vlan |
| 1177 | |
| 1178 | Status and Counters - VLAN Information |
| 1179 | |
| 1180 | Maximum VLANs to support : 256 |
| 1181 | Primary VLAN : DEFAULT_VLAN |
| 1182 | Management VLAN : control-hardware |
| 1183 | |
| 1184 | VLAN ID Name | Status Voice Jumbo |
| 1185 | ------- -------------------------------- + ---------- ----- ----- |
| 1186 | 1 DEFAULT_VLAN | Port-based No No |
| 1187 | 10 control-hardware | Port-based No No |
| 1188 | 257 _5 | Port-based No No |
| 1189 | 258 _89 | Port-based No No |
| 1190 | 259 _91 | Port-based No No |
| 1191 | 1750 _66 | Port-based No No |
| 1192 | 1755 _74 | Port-based No No |
| 1193 | 1756 _75 | Port-based No No |
| 1194 | 1757 _76 | Port-based No No |
| 1195 | 1758 _77 | Port-based No No |
| 1196 | 1759 _78 | Port-based No No |
| 1197 | |
| 1198 | |
| 1199 | HP-E5406zl# show vlan 1750 |
| 1200 | |
| 1201 | Status and Counters - VLAN Information - VLAN 1750 |
| 1202 | |
| 1203 | VLAN ID : 1750 |
| 1204 | Name : _66 |
| 1205 | Status : Port-based |
| 1206 | Voice : No |
| 1207 | Jumbo : No |
| 1208 | |
| 1209 | Port Information Mode Unknown VLAN Status |
| 1210 | ---------------- -------- ------------ ---------- |
| 1211 | A24 Tagged Learn Up |
| 1212 | |
| 1213 | |
| 1214 | HP-E5406zl# |
| 1215 | }}} |
| 1216 | |
| 1217 | Access the FOAM VM and gather information for version |
| 1218 | {{{ |
| 1219 | LNM:~$ ssh lnevers@foam.instageni.clemson.edu |
| 1220 | |
| 1221 | sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1222 | |
| 1223 | }}} |
| 1224 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1225 | {{{ |
| 1226 | foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1227 | |
| 1228 | foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1229 | |
| 1230 | foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1231 | |
| 1232 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 1233 | |
| 1234 | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1235 | |
| 1236 | }}} |
| 1237 | |
| 1238 | Show FOAM slivers and details for one sliver: |
| 1239 | |
| 1240 | {{{ |
| 1241 | foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1242 | |
| 1243 | }}} |
| 1244 | Access the FlowVisor VM and gather version information: |
| 1245 | {{{ |
| 1246 | |
| 1247 | ssh lnevers@flowvisor.instageni.clemson.edu |
| 1248 | }}} |
| 1249 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1250 | {{{ |
| 1251 | |
| 1252 | fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1253 | |
| 1254 | # Devices |
| 1255 | fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1256 | |
| 1257 | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
| 1258 | |
| 1259 | #Slices |
| 1260 | fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1261 | |
| 1262 | fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182 |
| 1263 | |
| 1264 | }}} |
| 1265 | |
| 1266 | Check the FlowVisor setting: |
| 1267 | {{{ |
| 1268 | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1269 | more /tmp/flowvisor-config |
| 1270 | |
| 1271 | }}} |
| 1272 | |
| 1273 | |