Things that i miss
Things that i miss while in India(not in particular order)
1. Naruto
2. Friendster
3. Yahoo mail
4. Streaming
5. Window shopping
6. Privacy
7. Loud music
8. Bloghopping
9. Concerts
10. Beers!!!
Most of all i really miss my girl, rachel :)
Configuring clients users home directory in NIS using Solaris 10
In this setup, my server also serves as the Network Information Service(NIS) server and NFS indirect sharing for user's home directory.
Checking my server's NFS shares
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
-bash-3.00# share
- /jumpstart ro,anon=0 ""
- /installer ro,anon=0 ""
- /export/home rw ""
-bash-3.00#
My passwd file as an input file for NIS Makefile
-bash-3.00# more /etc/nis_etc/passwd
chris:x:100:1::/home/chris:/bin/bash
Auto_master file
-bash-3.00# more /etc/auto_master
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_master 1.8 03/04/28 SMI"
#
# Master map for automounter
#
+auto_master
/net -hosts -nosuid,nobrowse
#/home auto_home -nobrowse
/home auto.home
Auto_home file. server1 is the NIS and NFS server
-bash-3.00# more /etc/auto_home
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_home 1.6 03/04/28 SMI"
#
# Home directory map for automounter
#
+auto_home
chris server1:/export/home/chris
Makefile in /var/yp
.....
all: passwd group hosts ipnodes ethers networks rpc services protocols \
netgroup bootparams aliases publickey netid netmasks c2secure \
timezone auto.master auto.home ageing \
auth.attr exec.attr prof.attr user.attr audit.user
.....
auto.master.time: $(DIR)/auto_master
-@if [ -f $(DIR)/auto_master ]; then \
sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_master \
| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.master; \
touch auto.master.time; \
echo "updated auto.master"; \
if [ ! $(NOPUSH) ]; then \
$(YPPUSH) auto.master; \
echo "pushed auto.master"; \
else \
: ; \
fi \
else \
echo "couldn't find $(DIR)/auto_master"; \
fi
auto.home.time: $(DIR)/auto_home
-@if [ -f $(DIR)/auto_home ]; then \
sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_home \
| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.home; \
touch auto.home.time; \
echo "updated auto.home"; \
if [ ! $(NOPUSH) ]; then \
Configure NIS maps using 'make'
-bash-3.00# pwd
/var/yp
-bash-3.00# /usr/ccs/bin/make
Checking auto.master and auto.home maps
-bash-3.00# ypcat -k auto.master
+auto_master
/home auto.home
/net -hosts -nosuid,nobrowse
-bash-3.00# ypcat -k auto.home
+auto_home
chris server1:/export/home/chris
Configure /etc/nsswitch.conf automount of your clients
automount: files nis
Penoi's Veritas Volume Manager Notes
This is my personal notes on Veritas Volume Manager. This page is a continuing notes of frequent commands that i use in VxVM
Initialization
Disk initialization
/usr/lib/vxvm/bin/vxdisksetup -iv [device_tag][attributes]
Example:
#/usr/lib/vxvm/vxdisksetup -iv c2t0d0
Creation
Create initial disk group
vxdg init [diskgroup] [disk_name=device_tag]
Example:
#vxdg init newdg disk1=c2t0d0
Add more disk to the Disk Group
vxdg -g [disk_group] adddisk [disk_name=device_tag]
Example
#vxdg -g newdg adddisk disk2=c2t1d0
Volume Creation
Concatenated Volume
vxassist -g [disk group] make [volume_name] [size]
Example
#vxassist -g newdg make newvol 500m
Concatenated Volume by specifying the disk
# vxassist -g newdg make newvol disk02 disk03
Striped Volume
vxassist -g [disk group] make [volume_name] [length] layout=stripe ncol=n stripeunit=size
Example
#vxassist -g newdg make newvol 500m layout=stripe
Mirrored Volume
#vxassist -g newdg make newvol 500m layout=mirror
Viewing VxVM
View Disk Group disk info
#vxdisk -o alldgs list
View Sub disk
#vxprint -ls
View Plexes
#vxprint -lp
View Volumes
#vxprint -lv
Removing
--loading--
Adding RTL8111B/RTL8111C network driver to Solaris Jumpstart
My jumpstart client has a builtin RTL8111B/RTL8111C network card. When i boot up the client thru PXE booting it gives me an error "no driver was found for the interface used to boot jumpstart"
Download the updated SUNWrge package, this holds the driver for rge
http://www.aplis.cz/SUNWrge.tar.gz
My Jumpstart image is shared thru NFS in /installer directory
#cd /installer/boot
Create a temporary miniroot directory
#mkdir x86.miniroot-rge.unpacked
Unpack the existing miniroot to the temp miniroot directory
#/boot/solaris/bin/root_archive unpack ./x86.miniroot ./x86.miniroot-rge.unpacked
Remove the existing SUNWrge package
#pkgrm SUNWrge
Add the updated SUNWrge package
#cd /export/home/john
#gunzip SUNWrge.tar.gz
#tar xvf SUNWrge.tar
#pkgadd -d . SUNWrge
Check the new aliases
#grep rge /etc/name_to_major /etc/driver_aliases
/etc/driver_aliases:rge "pci10ec,8169"
/etc/driver_aliases:rge "pci10ec,8110"
/etc/driver_aliases:rge "pci10ec,8168"
/etc/driver_aliases:rge "pci10ec,8111"
Remove the existing rge driver in the jumpstart miniroot
#cd /installer/boot
#/usr/sbin/rem_drv -b ./x86.miniroot-rge.unpacked/ rge
Add the new driver
#/usr/sbin/add_drv -b ./x86.miniroot-rge.unpacked -n -v -m '* 0600 root sys' -i '"pci10ec,8169" "pci10ec,8110" "pci10ec,8168" "pci10ec,8111"' rge
Reboot client to install driver.
Driver (rge) installed.
Backup original miniroot
#mv x86.miniroot x86.miniroot.orig
Compress the new Jumpstart miniroot
#/boot/solaris/bin/root_archive pack ./x86.miniroot ./x86.miniroot-rge.unpacked/
Sources:
Jeff's Solaris Admin blog
General Solaris 10 discussion
Kama Supra
There's a new guy in the guest house. Oh, how i miss the privacy of my room where you can do anything. Still weeks to go!!!!
Two year domestic mandatory service for professionals
Filipino registered professionals will be required to render at least two years service within the country prior to any employment abroad under this bill filed in the House of Representatives.
ngayon ang tanong... " may programa ba o kaya ay magandang trabahong maiibigay ang gobyerno para sa mga propesyonal na pilipino??" OFW: Bagong bayaning Pilipino????
Network Storage Foundation
Today we discussed introduction on NAS and SAN. Many companies offers such kind of technology product. Even the open source community has its own implementation like FreeNAS and NexentaStor. This will play a great part on my future jobs, so i have to deeply learn this technology.
Swiss knife giveaways in mcdonalds
Because we are a loyal customer of Mcdonalds in Pune india, they are giving a swiss knife for every order of McChicken Burger. Now that's what i call fastfood giveaways.
Update!!!!! A boy was injured by the blades of this Mcdonalds giveaways.
Information Overload
its been 1 month since we arrived in india. still 1 month to go. so little time, so many things to discuss. i feel already the pressure since our boss in singapore is expecting so much from us. :(
no pain no glory no money :)
The wolves are back!!!! Wolfgang VI new album
the wolves are back!!! Wolfgang new 6th studio album.. Coming soon!!!!
Eraserheads Reunion Live Concert CD/MP3/DVD
Since Eraserheads reunion concert in August is already confirmed, im one of those unfortunate souls who will not be there on the said event. Hopefully the organizers will release an Eraserheads Reunion Live Concert CD/dvd. Or maybe someone, please upload it to Youtube :)
Music is not allowed here??
yesterday we were warned by one of the trainors that listening to music while in training is not allowed eventhough we are using our headphones. I mean, music helps me to refocus on what im doing with my lab simulations instead of listening to other trainees discussion speaking on their native language in which i could not understand.
Music for the people
there will be two bands that i will meet in singapore. the first is the band of my college classmate allan. Their drummer left for another band and they are looking for someone to fillin the part. Paolo, my high school/college bandmate during the 90's rock era buzzed me and he is planning to form a group that will play regularly in The Arena, a regular joint for Filipinos in Singapore.
It turns out that i can still pursue my music career(hopefully) coz im not done yet :)
The North Face relay
The North Face invites you to a 100k, 100k relay, 20 and 10 k trailrunning marathon. Join The North Face 100 at Nasugbu, Batangas on July 26-27. Visit www.thenorthface100.com
Mga bagong hawsmeyts
may dalawa kaming bagong hawsmeyts.. kada-labinlimang araw may mga bago kaming kasama sa bahay.. medyo nahihirapan kami dahil laging bagong pakikisama ang gagawin namin.. lalo't ang mga pinoy eh masyadong particular sa kanilang privacy.
Eraserheads Reunion Concert (?)
There's a gossip circulating on the net that the famous band Eraserheads had already inked a contract for their much awaited reunion concert. It also says that the venue will be in Mall of Asia. Posters will be out soon!!! Hopefully this is not a hoax. Bad thing im in Singapore. :( An Asian tour perhaps????
"Sa Wakas ay nakita ko naaaaaa"
St. Paul College Pasig (SPCP) goes Microsoft
St. Paul College Pasig (SPCP) replaces its open source OS installed computers to Microsoft Vista and Office 2007. This indeed a very sad day for the Free Software Advocacy movement of the Philippines. Students and faculty complains that they use Microsoft in their home (hopefully it is legal :) ) which very much different to the open source softwares installed on their labs.
Mountain Dew, Lays, Notebook, ballpen, Laptop
Life is a non-stop learning. After being in the training center for 8 hours, i will still spend my night reading, taking notes and do simulation. On my desk, you will see my laptop, a bottle of Mountain Dew, Lays, notebook and my ballpen. Though its hard, i enjoy learning new things and comparing that information to the things that i already know. It feels like im back in college. Listening and completing every tasks of the program. We are almost done with our 3rd week of training.. Five weeks to go!!!!
Pics from the underground
going to India
Welcome to Mumbai India!!!
Taste the Himalayan water.
Our first home made dinner.
OFW Currency Conversion
One of the biggest concern of an Overseas Filipino Worker is what is the latest Philippine Peso exchange rate. I once used Yahoo Currency converter but since Monday, Yahoo sites were blocked by our admins :(
One site that im using right now is Gocurrency.com. They even have a graph of currency trends. From US dollar to Philippine Peso, from Singapore Dollar to Philippine Peso.. Name it, you got it. :)