lsiutil is the program you want, so you can check the status of your raid
link: http://docs.avagotech.com/docs/12351668
lsiutil is the program you want, so you can check the status of your raid
link: http://docs.avagotech.com/docs/12351668
link: https://adamscheller.com/systems-administration/xenserver-local-iso-storage-new-partition/
for posterity…
figure out the name of the volume group (something like name-uuid)
pvscan
create the new volume
lvcreate -L 150G -n ISOs name-uuid
find the volume you just created
lvscan |grep ISO
create the filesystem
mkfs.ext2 /dev/other-name-uuid/ISOs
make the mount point
mkdir /mnt/isos
create the repository
xe sr-create name-label=ISOs type=iso device-config:legacy_mode=true device-config:location=/mnt/isos content-type=iso
mount the disk
mount -t ext2 /dev/name-uuid/ISOs /mnt/isos
This will let you pick a uuid
xe pif-list
this will let you change the ip of that uuid
xe pif-reconfigure-ip uuid= mode=static IP=192.168.1.1 netmask=255.255.255.0
CAUTION: with the following the system is up so you risk file loss, data loss, etc. — use at your own risk.
Ideally you would shutdown your domU and use vm-export rather than vm-snapshot.
make a snapshot
xe vm-snapshot vm=name new-name-label=name-foo
this returns a uuid
xe vm-export vm=UUID filename=|bzip2 > file.xva.bz2
move the file about
scp 192.168.1.2:file.xva.bz2 file.xva.bz2
import the snapshot
cat file.xva.bz2 |ssh 192.168.1.1 "bunzip2|/opt/xensource/bin/xe vm-import filename=/dev/stdin"
then recreate the clone from the snapshot template under openxenmanager or other management tool.
http://www.xenlens.com/boot-a-guest-vm-from-cd-or-dvd-in-xenserver/ copied for posterity
In order to boot from cd or dvd you need to change the guest virtualization type from HVM (fully virtualized) to PV (paravirtualized).
xe vm-param-set HVM-boot-policy="BIOS order" uuid=[uuid of your vm]
After you have booted from dvd, change back to fully virtualized mode:
xe vm-param-set HVM-boot-policy="" uuid=[uuid of your vm]
I just want to say despite many nay-sayers posting responses to this on other threads there is something in my SB 6141 that vibrates with uploads. (correlated by noise during speed test).
These two links are have the identical report and then other people trying to argue that it’s not the cable modem. It is the cable modem! It happens with my the use of my phone over wifi, with my computer, laptop, with all the screens and speakers turned off, there are no headphones involved.
I can modulate the sound during an upload by twisting the case. Viewed from from the top of the case, if I twist the top clockwise and the base counter clockwise I can decrease and eliminate the sound.
Really annoying to have a fanless, ssd desktop and a noisy cable modem.
http://ask.metafilter.com/264261/Cable-Internet-Issues-bad-cable-modem
https://geekhack.org/index.php?topic=46563.0
put the list of files into a file
ls -1 foo*.jpg > /var/tmp/jpglist
rename randomly named files in numerical order
cat /var/tmp/jpglist|perl -e'$i=1;while ($name=) { chomp $name;$new="week" . $i . ".jpg";system ("cp $name $new");;$i++};'
resize all 13 files named week[number].jpg, add the Week[number].jpg to the lower right hand corner of the file
for file in {1..13} ;do convert -adaptive-resize 256x -gravity SouthEast -pointsize 30 -annotate 0 "Week $file" week$file.jpg week${file}_sm.jpg; done
stack the jpgs into a animated gif, center the extra vertical space (not all the images are the same height, the tallest image is about 350 pixels).
convert -delay 200 -loop 0 -gravity center -extent 256x350 -coalesce -trim -layers TrimBounds -dispose 2 week[1-9]_sm.jpg week1[0-9]_sm.jpg animated.gif
and I spend a week looking for the answer – the basic searches lead to dead ends with old articles about server side stuff
searches like
citrix receiver COMODO RSA
don’t help you find the “good stuff”
the good stuff is #5 here:
https://help.ubuntu.com/community/CitrixICAClientHowTo
quoteing for posterity
By default, Citrix Receiver only trusts a few root CA certificates, which causes connections to many Citrix servers to fail with an SSL error. The 'ca-certificates' package (already installed on most Ubuntu systems) provides additional CA certificates in /usr/share/ca-certificates/mozilla/ that can be conveniently added to Citrix Receiver to avoid these errors: sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/ sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
make sure SE linux is FSCKING turned off.
vi /etc/sysconfig/selinux # centos – set last line to DISABLED
setenforce 0
Defending this script has become my biggest nightmare in the last few months. Black listing mostly works for denial of service from poorly written bots. I blacklist amazon, web hosts, many foreign countries, without hesitation, not just one IP but their whole allocation.
Fail2ban was able to block some portion of these but isn’t very flexible or robust so it often missed the boat.
I’d been struggling to keep my server load at reasonable levels due to the constant barrage of hits. When the bot writers got more clever about number of hits per IP per time these methods quickly failed to stem the tide.
Fortunately the ultimate defense is to require a simple webserver password to access wp-login.php. Implementing the following took my sever load back to normal overnight.
# this blerb should work in a .htaccess file or under a virtual host portion of an apache # config file # # Protect wp-login <Files wp-login.php> AuthUserFile /home/site_name/.htpasswd AuthName "Private access" AuthType Basic require valid-user </Files> #use htpasswd or website tools to create the above .htpasswd file
However many of the wordpress sites on my box use wp-login.php to handle authentication/authorization for private portions of the sites so distributing a second password to all the users didn’t make sense. So a clever use of mod_rewrite was needed for those other sites.
WARNING: You might not be happy if you use the below without adding an additional rule as all your attempts to login will just redirect back to the login page.
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .(wp-login).php* RewriteRule (.*) http://%{SERVER_NAME}/$1 [R=301,L] </IfModule>