Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
$ time curl -I "$uri" &> /dev/null | |
# when routed to the host that is up | |
curl -I "$uri" &> /dev/null 0.00s user 0.00s system 2% cpu 0.299 total | |
# when routed to the host that is down. Should this be ~3s as per fail_timeout & max_fails? | |
curl -I "$uri" &> /dev/null 0.00s user 0.00s system 0% cpu 21.304 total |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
embed-server --server-config=custom-full-ha.xml --empty-config --remove-existing | |
# Extensions first | |
batch | |
/extension=org.jboss.as.clustering.infinispan:add | |
/extension=org.jboss.as.clustering.jgroups:add | |
/extension=org.jboss.as.connector:add | |
/extension=org.jboss.as.deployment-scanner:add | |
/extension=org.jboss.as.ee:add | |
/extension=org.jboss.as.ejb3:add | |
/extension=org.jboss.as.jaxrs:add |
Follow [steps][1]:
Import-Module 'C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath d:\scratch\vmx\VM-disk1.vmdk -VhdType DynamicHardDisk -VhdFormat vhdx -destination c:\vm-disk1
# cat activemq.service | |
[Unit] | |
Description=Apache ActiveMQ | |
After=network-online.target | |
[Service] | |
Type=forking | |
WorkingDirectory=/opt/activemq/bin | |
ExecStart=/opt/activemq/bin/activemq start | |
ExecStop=/opt/activemq/bin/activemq stop |