Search This Blog

23 September 2008

Xen and VNC

When reading through this blog entry, I noticed this bit and so did that:
set the xen vnc password ( http://blogs.sun.com/shalon/entry/virt_install_demo )
# Set the prop in xvm which is used to initialize the console password
soe-x4600m2-2:root> svccfg -s xvm/xend setprop config/vncpasswd=astring:\"bacon\"
# Restart xend
soe-x4600m2-2:root> svcadm refresh xvm/xend; svcadm restart xvm/xend
I am not sure whether it is really required. I am uncomfortable that ANY user can read whatever password root sets.

08 September 2008

virt-manager


I upgraded to svn_96 (see last post) in order to install virt-manager. In my previous build (svn_94) the Package Manager didn't work - but in svn_96 it is working again. I did a search for 'virt' and chose to install the one xVM package that appeared to be missing...

At the end of the install, it appeared to have hung at 100%. I went to the command line and did 'pkg info SUNWvirt-manager' and it said it was installed, so I just closed the installer window. I reopened the Package Manager and verified it was installed.

Now to try to figure out how to use it =)

Upgrading to svn_96

I was following these instructions [General instructions for updating to the latest OpenSolaris development build] and had a couple issues (which I just ignored)...


$ BUILD=`uname -v | sed s/snv_//`
$ pfexec pkg refresh
$ pfexec pkg install SUNWipkg@0.5.11-0.${BUILD}
$ pfexec pkg install entire@0.5.11-0.${BUILD}
$ echo ${BUILD}
$ pfexec pkg image-update
$ beadm list

malachi@serveris:~$ pfexec beadm create opensolaris-2
beadm: Unable to create opensolaris-2

$ mkdir /tmp/mnt$$
$ pfexec beadm mount opensolaris-2 /tmp/mnt$$
$ pfexec pkg -R /tmp/mnt$$ image-update

malachi@serveris:~$ pfexec /tmp/mnt$$/boot/solaris/bin/update_grub -R /tmp/mnt$$
Creating GRUB menu in /tmp/mnt696
bootadm: biosdev command failed for disk: /dev/dsk/c5t0d0s0.
bootadm: is_bootdisk(): cannot determine BIOS disk ID 'hd?' for disk: /dev/dsk/c5t0d0s0
bootadm: biosdev command failed for disk: /dev/dsk/c5t1d0s0.
bootadm: is_bootdisk(): cannot determine BIOS disk ID 'hd?' for disk: /dev/dsk/c5t1d0s0
bootadm: get_grubroot(): cannot get (hd?,?,?) for menu. menu not on bootdisk: /dev/rdsk/c5t0d0s0
Installing grub on /dev/rdsk/c5t0d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 266 sectors starting at 50 (abs 16115)
Creating GRUB menu in /tmp/mnt696
bootadm: biosdev command failed for disk: /dev/dsk/c5t0d0s0.
bootadm: is_bootdisk(): cannot determine BIOS disk ID 'hd?' for disk: /dev/dsk/c5t0d0s0
bootadm: biosdev command failed for disk: /dev/dsk/c5t1d0s0.
bootadm: is_bootdisk(): cannot determine BIOS disk ID 'hd?' for disk: /dev/dsk/c5t1d0s0
bootadm: get_grubroot(): cannot get (hd?,?,?) for menu. menu not on bootdisk: /dev/rdsk/c5t1d0s0
Installing grub on /dev/rdsk/c5t1d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 266 sectors starting at 50 (abs 16115)

$ pfexec beadm unmount opensolaris-2
$ pfexec beadm activate opensolaris-2

at this stage, I manually updated my /rpool/boot/grub/menu.lst to show the correct menu options...

$ pfexec reboot