I installed Solaris at home, actually Opensolaris, to try out a few things. I've already set up ZFS, so now onto Zones. I found a example to set up a zone a followed, to a 'T'. In using the IP address in the example, it caused the zone to be setup on another subnet, so that had to be rectified. I wanted to change the ip address in the zone to 10.1.1.220. These were the steps:
Prior to the creation of the Zone, I needed a place to put it. I needed a directory:
#Mkdir /coolpool/web-zone
Also unless the correct permissions are set on the directory, you will get a lot of error messages. The correct permissions are:
#chomd 700 /coolpool/web-zone
zonecfg -z web-zone
zonecfg:web-zone> add net
zonecfg:web-zone:net> set physical=afe0
zonecfg:web-zone:net> set address=10.1.1.220
zonecfg:web-zone:net> set defrouter=192.168.1.1
zonecfg:web-zone:net> end
zonecfg:web-zone> verify
zonecfg:web-zone> commit
zonecfg:web-zone > exit
Then booted zone from host:
zoneadm -z web-zone boot
Then zlogin and finish the install:
zoneadm -C console
Monday, June 14, 2010
Wednesday, June 2, 2010
Opensolaris
I purchased a quad-core Acer M5641 to run Solaris, Rocks, and other OSes on. I could never bring up Solaris, I decided to try another machine. I had an old Dell and Solaris came up right away, but since it was old, everything was slow. So I looked around the Hardware Compatibility List (HCL) and couldn't afford any of them. I asked the compatibility question of one os the Solaris email list and people recommended an entry level Dell server. By the time I had decided to purchase the Dell I wanted, it had been discontinued, so I settled on a Dell Poweredge T105. I had been warned that the network interface might be a problem. After several unsuccessful attempts, I went into the BIOS and disabled the network interface. Once I had Solaris installed, I looked around for a NIC. I had an unused card, installed it, and the network came up.
The T105 came with two internal drives. I had initially thought about mirroring the root disk, probably using dd, since they were identical. Instead I set it up as a separate partition using a ZFS filesystem on it. With that I was able to setup a snapshots on the filesystem. I'd like to set up dedupe on it as well, just to get an idea of how well it works.
The T105 came with two internal drives. I had initially thought about mirroring the root disk, probably using dd, since they were identical. Instead I set it up as a separate partition using a ZFS filesystem on it. With that I was able to setup a snapshots on the filesystem. I'd like to set up dedupe on it as well, just to get an idea of how well it works.
Subscribe to:
Posts (Atom)