This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop dispatcher/provisioning. | |
alias stopDispatcher='/etc/init.d/enstratus-dispatcher stop' | |
# Start dispatcher/provisioning. | |
alias startDispatcher='/etc/init.d/enstratus-dispatcher start' | |
alias deleteDispatcherLogs='rm -f /services/dispatcher/tomcat/logs/*' | |
# Stop the workers. | |
alias stopWorkers='/etc/init.d/enstratus-workers stop' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop dispatcher/provisioning. | |
alias stopDispatcher='/etc/init.d/enstratus-dispatcher stop' | |
# Start dispatcher/provisioning. | |
alias startDispatcher='/etc/init.d/enstratus-dispatcher start' | |
alias deleteDispatcherLogs='rm -f /services/dispatcher/tomcat/logs/*' | |
# Stop the workers. | |
alias stopWorkers='/etc/init.d/enstratus-workers stop' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ny01goi5046 ~]# telnet 10.181.178.110 2013 | |
Trying 10.181.178.110... | |
Connected to KM-a (10.181.178.110). | |
Escape character is '^]'. | |
^] | |
telnet> quit | |
Connection closed. | |
[root@ny01goi5046 ~]# telnet 10.181.178.111 2013 | |
Trying 10.181.178.111... | |
Connected to KM-b (10.181.178.111). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mysql -uroot -p$mypw provisioning -e "select name,private_dns_address,public_dns_address,current_state from cached_server where name = 'i-8A933DAF'" | |
+------------+---------------------+--------------------+---------------+ | |
| name | private_dns_address | public_dns_address | current_state | | |
+------------+---------------------+--------------------+---------------+ | |
| i-8A933DAF | 0.0.0.0 | 138.127.79.254 | RUNNING | | |
+------------+---------------------+--------------------+---------------+ | |
| i-8A933DAF | 0.0.0.0 | 138.127.79.254 | RUNNING | | |
| i-80BA4563 | 138.127.79.205 | 138.127.79.205 | RUNNING | | |
| i-03E144EF | 0.0.0.0 | 0.0.0.0 | TERMINATED | | |
| i-BE7040F5 | 0.0.0.0 | 0.0.0.0 | TERMINATED | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[24 Oct 2012 11:45:03.645] [INFO.com.enstratus.monitor.AccountResourceMonitor] Checking cloud (true/false) for 300/us-west-2 (available)/Image. | |
[24 Oct 2012 11:45:03.645] [INFO.com.enstratus.monitor.AccountResourceMonitor] Checking cloud (true/false) for 300/us-west-2 (available)/Image. | |
[24 Oct 2012 11:45:03.666] [DEBUG.dasein.cloud.aws.std.compute.EC2Method] Talking to server at https://ec2.us-west-2.amazonaws.com | |
[24 Oct 2012 11:45:03.666] [DEBUG.dasein.cloud.aws.wire.compute.EC2Method] POST //? | |
[24 Oct 2012 11:45:03.666] [DEBUG.dasein.cloud.aws.wire.compute.EC2Method] Content-Type: application/x-www-form-urlencoded; charset=utf- | |
8 | |
[24 Oct 2012 11:45:04.172] [DEBUG.dasein.cloud.aws.wire.compute.EC2Method] HTTP STATUS: 400 | |
[24 Oct 2012 11:45:04.172] [DEBUG.dasein.cloud.aws.std.compute.EC2Method] Received 400 from DescribeImages | |
[24 Oct 2012 11:45:04.172] [DEBUG.dasein.cloud.aws.wire.compute.EC2Method] <?xml version="1.0" encoding="UTF-8"?>[24 Oct 2012 11:45:04.172] [DEBUG.dasein.cloud.aws.wire.compute.EC2Met |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Files: | |
find /services -name "enstratus-provisioning*.jar" -exec ls {} \; | |
/services/cwrkr/lib/enstratus-provisioning-client-2012.02.jar | |
/services/cwrkr/lib/enstratus-provisioning-server-2012.02.04-SNAPSHOT.jar | |
/services/monitor/lib/enstratus-provisioning-client-2012.02.jar | |
/services/monitor/lib/enstratus-provisioning-server-2012.02.04-SNAPSHOT.jar | |
/services/console/tomcat/webapps/ROOT/WEB-INF/lib/enstratus-provisioning-client-2012.02.jar | |
/services/worker/lib/enstratus-provisioning-client-2012.02.jar | |
/services/worker/lib/enstratus-provisioning-server-2012.02.04-SNAPSHOT.jar | |
/services/api/tomcat/webapps/ROOT/WEB-INF/lib/enstratus-provisioning-client-2012.02.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build docs to /Users/jimsander/Documents/CSE-DOCS/documentation | |
Running Sphinx v1.1.3 | |
loading pickled environment... not yet created | |
No builder selected, using default: html | |
building [html]: targets for 186 source files that are out of date | |
updating environment: 186 added, 0 changed, 0 removed | |
reading sources... [100%] tutorials/wordpressdemo/wordpressdemo | |
looking for now-outdated files... none found | |
pickling environment... done | |
checking consistency... /Users/jimsander/GoogleDrive/DropboxDocs/JimSander/Docs/Business_Enstratus/Projects/svn-cse/documentation/on-premise/installation/four_node/four_node.rst:: WARNING: document isn't included in any toctree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-01-17 21:37:07,998 DEBUG [org.dasein.cloud.compute.VirtualMachineSupport] vm state = PAUSED2013-01-17 21:37:07,998 DEBUG [org.dasein.cloud.compute.VirtualMachineSupport] Adding vm MSSQL2008R2SP2-V202 | |
2013-01-17 21:37:07,998 DEBUG [org.dasein.cloud.compute.VirtualMachineSupport] toVirtualMachines: returning 1 vms. | |
2013-01-17 21:37:08,058 DEBUG [es.inf.200.206.4033.region.212.dc.224.server.5512] enter - com.enstratus.cloud.server.ServerCachingFactory.setRootPassword(jdswinpw1 [/4033/GLOBAL-ADMIN/vcddev.mhf.mhc/%vdc%5bfed61c-de75-44df-af79-e8e6cd332d84/server/%vApp%vm-0e5e09b9-1532-4 | |
67f-869f-fedf3ab87817],XXX)2013-01-17 21:37:08,058 DEBUG [es.inf.200.206.4033.region.212.dc.224.server.5512] enter - com.enstratus.cloud.server.ServerCachingFactor | |
y.setRootPassword(jdswinpw1 [/4033/GLOBAL-ADMIN/vcddev.mhf.mhc/%vdc%5bfed61c-de75-44df-af79-e8e6cd332d84/server/%vApp%vm-0e5e09b9-1532-467f-869f-fedf3ab87817],XXX) | |
2013-01-17 21:37:08,058 INFO [es.inf.200.206.4033.region.212.dc.224.server.5512] setRootPassword(): Go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
jim@jdsdrop1:~# echo "HISTSIZE=$HISTSIZE"; c=1; while [ $c -le $HISTSIZE ]; do printf "."; [ `expr $c % 100` = 0 ] && printf ": count $c\n"; c=`expr $c + 1`; done | |
HISTSIZE=1000 | |
....................................................................................................: count 100 | |
....................................................................................................: count 200 | |
....................................................................................................: count 300 | |
....................................................................................................: count 400 | |
....................................................................................................: count 500 | |
....................................................................................................: count 600 | |
....................................................................................................: count 700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Server Request Report ## | |
# mysql -uroot -p$mypw provisioning -e "select from_unixtime(r.event_timestamp/1000) as event_timestamp,r.event_type,r.server_id,s.name,r.agent_id,r.agent_name,r.agent_email,r.reason from server_request r, cached_server s where r.server_id in (select server_id from cached_server where name like 'psvrldplcdh%') and r.server_id = s.server_id\G" | awk '{ printf("%-16s %s\n",$1,$2)}' | sed 's/\*//g' | |
## Quick SW Patch | |
# tar -czvf /root/pre-patch3.tgz `find /services/ -name "enstratius-backend-server*.jar"` | |
# p=<patch_file> | |
# for f in `find /services/ -name "enstratius-backend-server*.jar"`; do ff=`dirname $f`; cp /root/$p $f && mv $f ${ff}/$p; done |
OlderNewer