Profile cover photo
Profile photo
RagHon Consulting
Solaris + VDI
Solaris + VDI

Communities and Collections

I'v been building a VDI 3.5 demo on top of my good old MacBook Pro from 2010. This time I'm using Solaris 11, as Solaris 11 is finally supported for SRSS and VDI :-)

Had two minor issues. The internal MacBook keyboard does not work after solaris 11 takes control, and solaris 11 iscsi is not supported for the VDI stack. But even without zfs snapshots, cloning of new virtual machines are quite fast :-)

An other small issue is lack of a good kiosk windows manager. Seems like the only kiosk window manager is still on Solaris 10. So I installed toolbox, and basically removed all the config. Looking good :-)

By the way, anyone had any luck using the internal MacBook keyboard in Solaris 11 ? I'v tried to tweak some grub variables, but to no effect. 

Post has attachment
As a lot of the good Sun Ray/VDI blogs from the SUN area are no more, I'm trying to build a new list. Please let me know in the comments if you know any good links I'v missed. 

A collection of good links to Oracle Virtual Desktop Infrastructure information:

Official demo's and presentations from Oracle, require authentication.
VDI demo 
A better approach to Enterprise Desktop Virtualization


Good stuff: 

Trusted Extenions + Sun Ray (SNAP):

If you ever have the need to install a ISCSI service with Solaris 11, try this receipt.

Install the iscsi services 
- pkg install group/feature/storage-server
- svcadm enable stmf

Backup current configuration
- svccfg export -a stmf >/var/tmp/COMSTAR
If needed restore configuration
- svccfg import /var/tmp/COMSTAR

Create a new lun
- zfs create -V 2g rpool/vol1
- stmfadm create-lu /dev/zvol/rdsk/rpool/vol1 
- stmfadm list-lu ; to get name of new lun id

Create a host group who are allowed to connect to the new lun (opional)
- stmfadm create-hg tx-nfs
Add members:
- stmfadm  add-hg-member -g tx-nfs
- stmfadm  add-hg-member -g tx-nfs

Create a view for the new lun, including access for the new host group
- stmfadm add-view -n 10 -h  tx-nfs 600144F0D2D88F0000004F3BF9E30001
        * -n 10 ; defines the lun number (optional)
        * -h tx-nfs ; defines the host group to allow access (optional)
        * -t ??? ; defines an optional target group
Enable iscsi target
- svcadm enable -r svc:/network/iscsi/target:default
Create iscsi targete
- itadm create-target  -n -l iscsi01   
     * -n ; an optional name for the iqn   
     * -l ; optional alias for the iqn

Test the new target using automatic discovery from the same or other server:
* Define a readable iqn name, and alias for the current server
    - iscsiadm modify initiator-node -A iscsi01 -N
* Enable static discovery 
   - iscsiadm modify discovery -s enable
* Add a static configuration for the new lun
   - iscsiadm add static-config,
* Look for new luns using devfsadm 
   - devfsadm -i iscsi

Verify the new lun:
- echo | format ; look for a lun named SUN-COMSTAR
- iscsiadm list target -S

Make a zfs pool on the new disk
* If the system is running on AMD/Intel (x86), fdisk the disk with a solaris partition
  - echo | format
      - identifiy the new disk; look for SUN-COMSTAR
  - fdisk -B c0t600144F0EA3E8C0000004F3BBA1C0001d0p0 # Add p0 to the end of the name
* Create the zpool
  - zpool create newpool c0t600144F0EA3E8C0000004F3BBA1C0001d0

Post has attachment

Testing Have a look at it if you have business pages on twitter, facebook, linkedin, google+ and more.
Add a comment...

Post has attachment
Link to my latest oracle enterprise ops center presentation. 
Contact me if you are interested in a ops center workshop/presentation at your location.
Add a comment...
Wait while more posts are being loaded