3ware migrate/resize/extend crap

2011.11.27

turns out you can’t migrate/resize/extend a 3ware lun without adding disks, at least on a 9650se controller.  i had 4x 750gb disks attached to a controller, no free slots.  i replaced one by one with 1.5tb disks.  i wanted to extend the 2.05tb lun to 4.0tb but the software won’t let you do it.

[root@schitzo src]# ./tw_cli
//schitzo> /c2 show

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0   RAID-5   OK     -      -      64K    2095.44  ON    OFF

Port Status Unit Size    Blocks     Serial
---------------------------------------------------------------
p0   OK     u0   1.36 TB 2930277168 x
p1   OK     u0   1.36 TB 2930277168 y
p2   OK     u0   1.36 TB 2930277168 z
p3   OK     u0   1.36 TB 2930277168 a

//schitzo> /c2/u0 show

Unit    UnitType Status %RCmpl %V/I/M Port Stripe Size(GB)
------------------------------------------------------------------------
u0      RAID-5   OK     -      -      -    64K    2095.44
u0-0    DISK     OK     -      -      p1   -      698.481
u0-1    DISK     OK     -      -      p2   -      698.481
u0-2    DISK     OK     -      -      p0   -      698.481
u0-3    DISK     OK     -      -      p3   -      698.481
u0/v0   Volume   -      -      -      -    -      2095.44

//schitzo> /c2/u0 migrate type=raid5 disk=0:3
Error: (CLI:008) Invalid ID specified. Found a specified ID already in use.

lame.  time to destroy, create, mount, and restore.

Categories : geek

vmware server 2.0.2 crap

2011.11.27

largely saving for reference

Today i ran into something very strange, a freshly set up VMWare Server 2.0 host wasn’t accessible by https and vsphere client.
I analysed the logfiles and came accross

[2010-11-06 13:35:09.843 'Proxysvc' 4128988016 warning] SSL Handshake on client connection failed: SSL Exception: error:00000000:lib(0):func(0):reason(0)

which seemed to be related to some SSL v2 Certificate thingie.
It didn’t work out for me to enable SSL v2 but as a quick hacky solution replacing all

“httpsWithRedirect” with “httpAndHttps”
in /etc/vmware/hostd/proxy.xml
then do a /etc/init.d/vmware-mgmt restart

atleast now lets me connect to the server without ssl encryption just fine.
I know its not 100% safe but on a local network server its acceptable to me.
Keep in mind instead of https://xxx:8333 you now have to use http://xxx:8222

thanks thorian

Categories : geek

cisco nxos route redistribution

2011.11.06

wanted to redistribute some static routes into eigrp, this is handled differently in nxos.  all redistributes need to use a route map, easiest to populate the route map with a prefix list.

examine your static routes…

n7k1# sh run | inc "ip route "

ip route 0.0.0.0/0 10.0.0.2
ip route 10.10.10.0/24 10.0.0.4
ip route 10.20.10.0/20 10.0.0.1
ip route 192.168.172.0/24 10.10.10.3

create a prefix list of subnets you want into eigrp..

ip prefix-list examplestatic seq 15 permit 10.10.10.0/24
ip prefix-list examplestatic seq 20 permit 10.20.10.0/20
ip prefix-list examplestatic seq 25 permit 192.168.172.0/24

create a route-map, add your prefix-list to it…

route-map examplestaticmap permit 10
match ip address prefix-list examplestatic

add them to your eigrp instance…

router eigrp 14
 redistribute static route-map examplestaticmap

validate whether the routes showed up on your other routers; this is a downstream ios device:

2911#sh ip route 10.20.10.0
Routing entry for 10.20.10.0/20
  Known via "eigrp 14", distance 170, metric 52224, type external
  Redistributing via eigrp 14
  Last update from 192.168.97.19 on GigabitEthernet0/0, 3w5d ago
  Routing Descriptor Blocks:
  * 192.168.97.20, from 192.168.97.20, 3w5d ago, via GigabitEthernet0/0
      Route metric is 52224, traffic share count is 1
      Total delay is 1040 microseconds, minimum bandwidth is 100000 Kbit
      Reliability 255/255, minimum MTU 1492 bytes
      Loading 1/255, Hops 4
    192.168.97.19, from 192.168.97.19, 3w5d ago, via GigabitEthernet0/0
      Route metric is 52224, traffic share count is 1
      Total delay is 1040 microseconds, minimum bandwidth is 100000 Kbit
      Reliability 255/255, minimum MTU 1492 bytes
      Loading 1/255, Hops 4
2911#sh ip route | beg 10.20.10
D EX     10.20.10.0/20 [170/52224] via 192.168.97.20, 3w5d, GigabitEthernet0/0
                       [170/52224] via 192.168.97.19, 3w5d, GigabitEthernet0/0

that’s it.  my examples show up twice because i did the redistribution on two n7ks.


Categories : geek