Year | Volume | Nr | yes | no |
1980 | 5 | 1 | x | |
2 | ||||
3 | x | |||
4 | x | |||
5 | x | |||
6 | x | |||
7 | x | |||
8 | ||||
9 | ||||
10 | ||||
11 | ||||
12 |
VNX5400 create raid disks for ceph.
A script that creates RaidGroups with single disks for use in a ceph installation.
uses the naviseccli command line interface. Make sure that the naviseccli works before running the script. it also changes the hotspare policy to not use any hotspares.
#!/usr/bin/perl
# create single disks for exporting to ceph osd server.
$user = "******";
$password = "*******";
my $address1 = $ARGV[0];
my $address2 = $ARGV[1];
# remove hotspare policy
$cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address1";
print "$cmd hotsparepolicy -set 1 -keep1unusedper 0 -o\n";
print `$cmd hotsparepolicy -set 1 -keep1unusedper 0 -o\n`;
#
# create storagegroup
$cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address1";
print "$cmd storagegroup -create -gname Ceph\n";
print `$cmd storagegroup -create -gname Ceph\n`;
$disks = 25;
$startdisk = 4;
for ($i = $startdisk; $i < $disks; ++$i) {
if (0 == $i % 2) {
$cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address1";
} else {
$cmd = "/opt/Navisphere/bin/naviseccli -user $user -password $password -scope 0 -Address $address2";
}
# create raidgroup disk
print "$cmd createrg $i 0_0_$i -raidtype disk\n";
print `$cmd createrg $i 0_0_$i -raidtype disk\n`;
# bind lun to raidgroup
print "$cmd bind id $i -rg $i\n";
print `$cmd bind id $i -rg $i\n`;
# bind lun to raidgroup
print "$cmd storagegroup -addhlu -gname Ceph -hlu $i -alu $i";
print `$cmd storagegroup -addhlu -gname Ceph -hlu $i -alu $i`;
}
YAESU FC-757AT C-Cable
C-Cable to connect FT-757GX to FC-757AT
FT757GX pin | Cable colour * | Name | FC-757AT pin | |
1 | Black | GND | 1 | |
2 | Red | D | 2 | |
3 | White | C | 3 | |
4 | Orange | B | 4 | |
5 | Green | A | 5 | |
6 | Blue | TX GND | ( Not Used, do not connect ) | |
7 | Yellow | 13.5 volt | 7 | |
8 | blue | INH | 8 |
- Colour not same as original cable from Yaesu
Parts from DigiKey.com
Description | Part # |
CONN HOUSING XH 8POS 2.5MM | 455-1902-ND |
CONN TERM CRIMP XH 22-28AWG | 445-1135-1-ND |
CONN RECEPTACLE 9POS .062 | WM1236-ND |
CONN TERM FEMALE 18-24AWG TIN | WM1001-ND |
CABLE 7COND 24AWG BLK 5M | T1348-5-ND |
With help from https://youtu.be/ofgyspPE6CM
USE AT YOUR OWN RISK
byte magazine
Looking for Byte magazine from late 70’s early 80’s.
i love the artwork on the frontpage.
contact me if you have anny to sell.
Cromemco s-100 computer
When i started working with computers in the 80’s, I worked with the Cromemco systems.
It would be fun to refurbish a Cromemco Z-2 system to its former glory.
so if anyone has a Z-2 in storage that they want to donate or sell to me, contact me from the contact page.
-hansi
Heavy Metal (1981)
Hanover Fiste: He’s nothing but a low-down, double-dealing, backstabbing, larcenous perverted worm! Hanging’s too good for him. Burning’s too good for him! He should be torn into little bitsy pieces and buried alive!
The Art of Electronics third edition
Finally its here 🙂
The Art of Electronics, third edition.
by Paul Horowitz, Winfield Hill
bash history
I prefer bash as shell. It is very good to have the time and date for a command in history, especially for root.
and when you are logged in as root the prompt is red, and blue for normal users.
put this in your .bash_profile and in root’s .bash_profile
export HISTCONTROL=ignoredups export HISTFILE=$HOME/.bash_history export HISTFILESIZE=5000 export HISTIGNORE= export HISTSIZE=2000 export HISTTIMEFORMAT="%a %b %Y %T %z " if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01m\][ \[\033[01;31m\]\u@\h \[\033[00m\]\[\033[01m\]] \[\033[01;32m\]\w\[\033[00m\]\[\033[01;31m\]#\[\033[00m\]> ' else PS1='\[\033[01m\][ \[\033[01;34m\]\u@\h \[\033[00m\]\[\033[01m\]] \[\033[01;32m\]\w\[\033[00m\]\[\033[01;34m\]$\[\033[00m\]> ' fi
IR photography
IR photos with my Canon EOS 300D ir modified camera.
Datasheet for some interesting parts.
pdf files.