Pages

Friday, 29 October 2010

Delayed

A delayed start to the holiday. Our airbus A380 was late in getting in so at I can test out my blogging skills from the phone.
Published with Blogger-droid v1.6.4

Sunday, 17 October 2010

Wednesday, 13 October 2010

publisher.prefix is required

pkg.depotd: repository configuration error: publisher.prefix is required

Standing a new IPS server , don't forget to set the publisher.prefix. A lot of blog posts and doco pre-dates this addition

pfexec svccfg -s pkg/server "setprop pkg/port=10000"
pfexec svccfg -s pkg/server "setprop pkg/inst_root=/export/ipsrepo"
pkgsend -s file:///export/ipsrepo create-repository --set-property publisher.prefix=myrepo
pfexec svcadm enable pkg/server
pfexec svcadm restart pkg/server




Tick with no Toc

I've had an ongoing long running battle at a place of employment trying to get the folks that look after the user accounts to understand the difference between non login accounts, lock accounts, and accounts with expired passwords specifically the impact that has on Solaris Cron.
Well notch one up to the good guys I think I had a win today, and it reminded me of this post from Glenn Brunette

Transmission resumed

Ok a transmission revisit. Everything has been going along mostly ok with my previous transmission setup. It does however have the annoying habit of just no longer accepting request at random intervals, which franky is a pain especial since flexget has worked out so well. It's still running on OpenSolaris as I have not moved to Nexenta. So I rebuilt the packages and updated to version 2.10. I have put together some IPS packages for transmission 2.10 and libevent 1.4.13. If there is any interest I can open up my IPS server or drop them somewhere more accessible. They Should run on Open Indiana also.

Tuesday, 12 October 2010

Blogger driod test

Intent is to publish updates of the next trip on here to keep every one up to date on what is happening so I need to test some software.
Published with Blogger-droid v1.6.3

Wednesday, 22 September 2010

A quick sidestep as I needed to get some files up to share with my sister in-law so I thought I'd enable dropbox on this new desktop. Documented here as there seems to be some disparate inaccurate bits of info

sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu lucid main"
sudo apt-key adv –keyserver pgp.mit.edu –recv-keys 5044912E
sudo apt-get update;sudo apt-get install nautilus-dropbox

I'm becoming familiar now with apt, and while I'm missing zfs and IPS from Opensolaris I must say as an end user desktop I'm pretty happy with Ubuntu and the integration with the rest of the world.

Tuesday, 21 September 2010

Moving an iscsi zvol to a new pool

Been working on fixing my 4K sector disk write performance issue, will post something on that later. So I have create a new zpool and after zfs send | zfs receive on the various zfs volumes and filesystem I was left to figure out how to move my iscsi guid's as follows

sbdadm list-lu

Found 4 LU(s)

GUID DATA SIZE SOURCE
-------------------------------- ------------------- ----------------
600144f03048810000004c356bc50001 21474836480 /dev/zvol/rdsk/lake/iscsi/windows2008
600144f03048810000004c74b73f0001 10737418240 /dev/zvol/rdsk/lake/iscsi/sol10
600144f03048810000004c90909d0001 10737418240 /dev/zvol/rdsk/lake/iscsi/winxp
600144f03048810000004c91cc540002 21474836480 /dev/zvol/rdsk/lake/iscsi/sol10u9

So these four have been moved to a new zpool so I tried delete-lu and import-lu

stmfadm delete-lu 600144f03048810000004c90909d0001
stmfadm import-lu /dev/zvol/rdsk/lake2/iscsi/winxp
stmfadm: meta file error

Hmmm not what was after but try this on instead using the guid allocated previously

stmfadm create-lu --lu-prop guid=600144f03048810000004c90909d0001 /dev/zvol/rdsk/lake2/iscsi/winxp
Logical unit created: 600144F03048810000004C90909D0001
stmfadm add-view 600144F03048810000004C90909D0001

Done works the Virtual box machine this is attached to runs no problems

Thursday, 9 September 2010

Oracle Solaris download from OTN with wget

Solaris 10 Update 9 recently announced and I believe this is the first release under the new stewardship. For the first time last month I received an email from my ISP saying I was getting close to my peak download limit, so I am making concerted effort to download in my off-peak time.

So I need to automate the download of recent Solaris release from OTN. Drop this wget incantation into an at job and we are off.

wget -v -c --no-check-certificate "https://profile.oracle.com/jsp/reg/loginHandler.jsp?remoteIp=xxx.xxx.xxx.xxx&globalId=&redirectUrl=http://download.oracle.com/otn/solaris/10/sol-10-u9-ga-x86-dvd-iso.zip&username=XXXXX&password=XXXXX" -o getsolarisx86.log &

Replace xxx.xxx.xxx.xxx with your remoteIP address and the same for your OTN username and password and you should be in business.

Wednesday, 8 September 2010

In bed with the devil


Inspired by the recent events of some ex NP MP's siding with the ALP, I too have been inspired to move from my Opensolaris (RIP) desktop to Ubuntu.

I've never been a huge fan of packaging systems as no matter which you use each has it's own failings and misgiving. If there is one thing worse than a packaging system it's the dependency hell that is a Linux distro, so I'll give the Ubuntu one a crack. While it's been sometime since I used such a distro in real anger recent involvement in this area with my paying job has shown that the issue has not gotten any better.

So first cab of the rank is getting Virtualbox installed
  • Add the repository
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian lucid non-free"
  • Add the key Oracle public key
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
  • Update apt-get
sudo apt-get update
  • and Finally install
sudo apt-get install virtualbox-3.2

Not bad only 8 other packages I needed to make this install happen and get VirtualBox 3.2.8 r64453 .

Next on the list I need to move my VM's onto my new desktop.

Wednesday, 1 September 2010

Ergfit Race 2

Last weekend saw the running of Race 2 of the Ergfit indoor Regatta. Yours truly tiped in with a PB time of 1:33.7 in the 500m event, .9 second quicker than race one. Aiming for a 1:32 so some work still to be done.

Friday, 9 April 2010

Daemon gear


Moving right along in the continued migration to transmission, its in and running in deamon mode on the command line, flexget is in and tested. Just need to add flexget to cron and make sure transmission-deamon starts at system bootup. Ok SMF script needed, being an inherently lazy unix guy , I'll just google that and and yes number one with the bullet I find this over on 4amlunch.net thanks to wonko. A quick mod on the TRANSMISSION_HOME to suit my local setup and and transmission-daemon is running from SMF. flexget cronjob added all should be good to go. I'll wait an hour let the cron job run it's course and see what we get.

Thursday, 8 April 2010

Egg head


Ok I'm a total Python newbie. I need to install flexget to use with my new transmission setup, it's a python based app and comes as an .egg file. Seems the best way to install these is with something call easy_install.
pkg search -l easy_install
Shows easy_install is part of the python setup tools package. So just go ahead and install that.
pfexec pkg install pkg:/library/python-2/setuptools-26
Then use easy_install to install the flexget along with all it's dependencies.
pfexec easy_install http://download.flexget.com/unstable/FlexGet-1.0r1226-py2.6.egg
I'm going to be using the transmissionrpc module so I need to install that to.
pfexec easy_install transmissionrpc
Thats it done, flexget installed. Check out the flexget site to configure it for your needs.

Changing Torrent


I'm going to be offloading my torrents to my soon to be new headless file server so changes are needed. I've been using vuze since long before it was vuze, and have a nice comfortable setup. I guess my requirements have changed a little, I don't need fancy features now offered, I won't have the same luxurious memory setup as I currently have, I'm not found of it's remote interface and, as they say a change it as good as a holiday. Time to broaden my horizons . So what I need from a BT client
  • runs on OpenSolaris
  • operates headless
  • able to read and process rss feeds
  • and operate without constant fiddling

So I didn't look to hard, or broaden too much transmission is available for install as an IPS for OpenSolaris, I have also been able to compile a more recent version if required, it will operate headless, has what appears to be usable web interface if required. It does however weriously lacks and ability to read and parse rss feeds to bring the automation I need. Enter flexget, multipurpose automation tool, I'm not apposed to running to different pieces of software to do the job after all it was a plug in doing the work in vuze, and I am a unix guy.

So the plan, replace vuze with transmission and flexget.

Thursday, 4 March 2010

Test post from the office

Sunday, 29 November 2009

Installing OpenSolaris on X2200 from USB drive

I recently aquired an X2200 with no optical drive, and having had a few questions from people about USB media for OpenSolaris , where my standard answer was to download the USB image, I decided it was time I should eat my own dog food as they say and take this USB stuff out for a test drive.

What you will need:
  • A USB key. I used an el cheap 1GB stick I had lying about.
  • An OpenSolaris USB image I used build 127 from genunix. Of course you can role your own from the iso.
  • Some way of getting the USB image on to the USB stick. For me this would be my existing OpenSolaris desktop machine.
  • A x86 machine capable of booting from a USB device. I my case this was a SUN a dual CPU quad core X2200
Assuming you have the USB stick and downloaded the image I won't bore you with the details on why you can't just copy the image to the stick. Just know you can't.

usbcopy, if you don't already have it installed you will need to install it:
pfexec pkg install SUNWdistro-const
Next you should disable hal for the time being, see bug id 11654
pfexec svcadm disable hal
Insert you usb key start the copy , make yourself a coffee.
pfexec usbcopy /Images/ISO/osol-dev-127-x86.usb
Found the following USB devices:
0: /dev/rdsk/c19t0d0p0 3.9 GB Generic STORAGE DEVICE 9722
1: /dev/rdsk/c19t0d1p0 Generic STORAGE DEVICE 9722
2: /dev/rdsk/c19t0d2p0 Generic STORAGE DEVICE 9722
3: /dev/rdsk/c19t0d3p0 Generic STORAGE DEVICE 9722
4: /dev/rdsk/c21t0d0p0 984.0 MB 410 RamBo USB 2.0 PMAP
Enter the number of your choice: 4

WARNING: All data on your USB storage will be lost.
Are you sure you want to install to
410 RamBo USB 2.0 PMAP, 984 MB at /dev/rdsk/c21t0d0p0 ? (y/n) y
Copying and verifying image to USB device
Finished 936 MB in 1734 seconds (0.5MB/s)
0 block(s) re-written due to verification failure
Installing grub to USB device /dev/rdsk/c21t0d0s0
Completed copy to USB
For those of you having the misfortune to still be using Windows try out OpenSolaris Live USB Creator (Windows/.NET) . Linux folk no doubt have a tool for this too and I'll leave it you you to find out.

Ok on to the actual install. I wasted considerable time poking about the net on information about booting the X2200 from USB device. What a I found was information like, it's too hard , doesn't work, you need to use ELOM KVM-over-IP and mount a remote image. Ergh , quiche eating Linux weenies, waste of time I should have gone with my instinct and previous, although some what limited, x86 SUN experience and just turned the thing on. Basically it just works, no fuss no hassle.

If you do need to go poking around the ELOM and have some familiarity with SUN's other Lom devices then I'd suggest http://brandonhutchinson.com/wiki/ELOM_Notes as a handy reference. If you do have prior experience with SUN's other LOM device's you know full well they like to make things just that little bit different on each machine just to keep you on your toes! If thats not enough information read the ELOM manual.

Getting your console. There are a couple of different ways to get your console on X2200 I choose, in part because I hadn't used it before, to use the ELOM WEB interface method. The consoles redirection in the ELOM was going to give me a virtual graphic view of the console I thought this easiest . So plug the net management port into my network and let it DHCP to find an IP, point the web browser at it, and very familiar looking SUN Microsystems management GUI, login and go to the redirection tab and locate the console redirection button. Very shortly after this I have window showing me the console and my OpenSolaris live USB image is already at a the prompt waiting for me select keyboard and language, that easy. 12 minutes later OpenSolaris installed and running.

Now what to do with dual CPU quad core noise machine?

Friday, 30 March 2007

JAFA



A recent post of the The Age travel blog sparked more comments than you usually see on such mainstream media. It's about the JAFA's Hmm those innocuous hard red shelled sweets/lollies/candies with the chocolate orange center, biscuit cake, or strange alien from some SciFi show I here you say. No not really it's the Just another Fcking Aussie it's the catchy little tag apparently now befalling the traveling Australian.

I would consider my self a seasoned traveler having had the experience of traveling extensively throughout South East, Europe and the USA at times thanks to some of my former employers. In more recent days I have just returned from living and working in Europe for a few years. Yes Europe not London not England yes the continent mainland EU.

My summary jist of Ben's article that we have perhaps overstayed our welcome in some parts of the world with some outlandish behavior. Hardly alone in that are we? Cancun, Ibiza, Algarve, shit any given night on Ackland Street in St Kilda the drunken rabble of English or Irish can make you shake your head. Although to date for me nothing quite matches the buck's and, yes ladies, the hen's weekend's the Brits beset on some unsuspecting eastern European city where you get more bang for your buck, no pun intended.

While I have never been referred to as a JAFA however I have had the indignity on a number of occasions, of being questioned like a member of some Al-Qaeda sleeper cell operative as I entered the UK on my Australian passport at London City Airport. A situation shared by many of my antipodean brothers similarly working in Europe. "Yes officer I am here on business , no officer I don't intended to do work in a bar in Kangaroo Court, actually have a very well paid respectable job already but thanks for the offer anyway, we are still part of the commonwealth are we not officer?"

I recall a situation while working in Zurich where my boss suggested I should get involved in the expat community activities, in particular he was making reference to the pub nights out. My response was taken with much surprise. I wouldn't socialize with a lot of these people at home so what possible reason do I have to do it while I am away. Sure call me antisocial, I prefer more selective perhaps something I learn't from the Swiss. Point being if you’re going to hang out at the Walkabout it Shepards Bush well quiet frankly that’s your choice.

Sure you may say I am part of the professional middle aged latte drinking set, so be it the choices we have made. I do still take pleasure to don my Wallabies jersey and lose my voice trying to scream over 75 thousand English men at Twickenham, a last minute victory on here is definitely one not quickly forgotten.

I don't think Ben has discovered anything new here just the reality than when something is new it's novel and fun and everyone wants one but as time wears on those little idiosyncrasies that attracted you in the first place eventually become very great annoyances and besides now everyone has one it's no so fun anymore.

JAFA ...

Thursday, 22 March 2007

What's with Australia Post?

Ok on my high horse. What is with Australia POST these days? It took over 3 months since arriving into the new home before mail started to arrive. Even now we still have problems having multiple envelopes being opened as well. Two official complaints lodge with Aust Post.. why two you ask ... because customer service lost the first one!! Nothing resolved to my satisfaction to date and never will be since there is not other choice. One last thing, I had to chase up customer service as they never once returned my call.

Package delivery... well it seems they never actual ring to see if you are in, two recent occasions in the house all day and the we delivered and you were not home slip appears in the letter box. Wouldn't be so much hassle as the post office is just down the road right. But wait the post office doesn't handle the post, no you have to go to some mail pickup warehouse miles away from civilization. To rub a bit of salt into the wound they are open at customer friendly hours of 10am and 4pm , since the most common reason you couldn't take delivery was because lets see ah yeah you work during the day!! BTW where to I find a job with those hours. I guess the post office is too busy selling ink jet cartridges, printers, people paying bills, and other assorted junk to be concerned about the mail.

Come on Aussie POST how about getting back to your core business, of delivering the post, and try doing that well!! You can save all that TV advertising money you are burning up as there is not much chance of in me using the US Postal system for Australia.

Kick Off

Second attempt as to record some thoughts down. Lets kick if off.

Not into big Media then check out Bum Rush The Charts the podcasting and indie media attempt to influence the Music charts. Worth a look plus Black Lab has some pretty good stuff.

Speaking of podcasting... can't actually recall the last time I listened to mainstream radio..