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
Welcome to the UNIX world