Powered By Blogger

Thursday, July 5, 2012

Setting UP private interface between two zones:


        Setting UP private interface between two zones:

1)      Connect two physical server using cross over cable
2)      ifconfig nxge3 inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255
3)      ifconfig nxge3 up
4)      Make changes to the zone so that it will persistent
bash-3.00# zonecfg -z zone
zonecfg:testzone> add net
zonecfg:testzone:net> set address=192.168.0.15
zonecfg:testzone:net> set physical=nxge3
zonecfg:testzone:net> end
zonecfg:testzone> verify
zonecfg:testzone> commit
zonecfg:testzone> exit

5)      Create interface and attach to the zone from the global
# ifconfig nxge3 addif 192.168.0.15 netmask 255.255.255.0 broadcast 192.168.0.255 zone testzone up
Created new logical interface nxge3:1

Oracle settings in /etc/project


/etc/project

 

Command to check value for project.max-shm-memory

prctl -n project.max-shm-memory -i project user.oracle

Command to increase memory to 96 GB memory for running Process

prctl -n project.max-shm-memory -r -v 96GB -i project user.oracle

Command to Make it permanent by updating /etc/project file

projmod -sK "project.max-shm-memory=(privileged,103079215104,deny)" user.oracle

Command to check all parameters for current user

prctl $$

Command to check all parameters used for Oracle user

prctl -i project user.oracle


Tuesday, July 3, 2012

Adding Static IP on Solaris 11


Adding Static IP

root@solaris11:~# ipadm create-ip net2
root@solaris11:~# ipadm create-addr -T static -a 192.168.0.235/22 net2/ipv4
root@solaris11:~# route -p add default 192.168.0.254
add net default: gateway 192.168.0.254
add persistent net default: gateway 192.168.0.254

updating /etc/resolv.conf on Solaris 11


### updating /etc/resolv.conf on Solaris 11 ################
root@solaris11:~# svccfg
svc:> select dns/client
svc:/network/dns/client> setprop config/search = astring: ("search.com" "searchme.com" "searchyou.com")
svc:/network/dns/client> setprop config/nameserver = net_address: (192.10.10.10 192.10.10.11 192.10.10.12)
svc:/network/dns/client> select dns/client:default
svc:/network/dns/client:default> refresh
svc:/network/dns/client:default> validate
svc:/network/dns/client:default> select name-service/switch
svc:/system/name-service/switch> setprop config/host = astring: "files dns"
svc:/system/name-service/switch> select system/name-service/switch:default
svc:/system/name-service/switch:default> refresh
svc:/system/name-service/switch:default> validate
svc:/system/name-service/switch:default>
svc:/system/name-service/switch:default>
svc:/system/name-service/switch:default>
svc:/system/name-service/switch:default>
svc:/system/name-service/switch:default> exit
root@solaris11:~# svcadm enable dns/client

Thursday, June 21, 2012

Stopping and Starting Ops Center 12c

Stopping Ops Center 12c

# /opt/SUNWxvmoc/bin/proxyadm stop -wv
# /opt/SUNWxvmoc/bin/satadm stop -wv

Starting Ops Center 12c

# /opt/SUNWxvmoc/bin/satadm start -wv
# /opt/SUNWxvmoc/bin/proxyadm start -wv

Installing IDR on solaris 11

Installing IDR on solaris 11 is different from Solaris 10 (patches). They called it idr (interim diagnostic relief) indentifier on Solaris 11

Following example, I am installing idr111 on Solaris 11 server

# pkgrepo create /var/tmp/idrrepo


# cd /var/tmp

# pkgrecv -s ./idr111p5p -d /var/tmp/idrrepo '*'

# pkg set-publisher -g file:///var/tmp/idrrepo solaris

# pkg publisher ( To verify that publisher is available)

solaris (non-sticky) origin online file:///var/tmp/idrrepo/


Install the idr using following command:

# pkg install idr111


Verify the package is installed by


# pkg verify -v idr111

PACKAGE STATUS

pkg://solaris/idr111 OK

Wednesday, June 20, 2012

Error while luactivate

/usr/sbin/luactivate: /etc/lu/DelayUpdate/: cannot create

Workaround:
execute folloing:

# export BOOT_MENU_FILE="menu.lst"
Welcome to the UNIX world