Powered By Blogger

Monday, January 28, 2013

steps to enable web browser M5000/M3000

Steps to enable web browser


M5000 (Enable https for XSCF)


XSCF> sethttps -c genserverkey

Server key already exists. Do you still wish to update? [y
n] :y

Enter passphrase:


XSCF> sethttps -c selfsign US Georgia Atlanta GROUP myemal@unixlead.com
CA key and CA cert already exist. Do you still wish to update? [y
n] :y


XSCF> sethttps -c enable

Continue? [y
n] :y

Please reset the XSCF by rebootxscf to apply the https settings.

XSCF> rebootxscf

The XSCF will be reset. Continue? [y
n] :y


After reboot, we can access XSCF using web brower.

Monday, January 7, 2013

Steps to upgrade from Solaris 11 to Solaris 11.1 (update 1)

1) Make sure we have publisher setup already if not we have to use pkg command to set publisher (Using SSL certs if we have valid support)




# pkg publisher

PUBLISHER TYPE STATUS P LOCATION

solaris origin online F http://pkg.oracle.com/solaris/release/



2) Update the system with latest patches/release



# pkg update



3) Reboot the system to boot from alternate boot enviromnent



# reboot



3) Update the package itself



# pkg update pkg:/package/pkg



4) Update to Solaris 11.1 with accept option



#pkg update --accept



A clone of solaris-1 exists and has been updated and activated.

On the next boot the Boot Environment solaris-2 will be

mounted on '/'. Reboot when ready to switch to this updated BE.





---------------------------------------------------------------------------

NOTE: Please review release notes posted at:



https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=REFERENCE&id=1372094.1



5) Reboot the system



# reboot



6) Check bootenvironment



# beadm list





BE Active Mountpoint Space Policy Created

-- ------ ---------- ----- ------ -------

solaris - - 14.56M static 2011-12-15 00:32

solaris-1 N / 20.56M static 2012-12-03 11:11

solaris-2 R - 14.22G static 2012-12-03 11:47

solaris-backup-1 - - 145.0K static 2011-12-15 00:50







7) Check /etc/release



Oracle Solaris 11.1 X86

Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.

Assembled 19 September 2012



8) Check pkg list entire



# pkg list entire

NAME (PUBLISHER) VERSION IFO

entire 0.5.11-0.175.1.0.0.24.2 i--

Friday, December 21, 2012

Increasing filesystem space on AIX


Increasing filesystem space on AIX

To check all filesystems:

# df -g

# lslv test (Name of the logical volume)
This will give volume group name

# lsvg rootvg (Volume group name)

Verify free PP and if we have enough space than

# chfs -a size=+1G /filesystem

It will add 1 GB to the filesystem

# df -g (Verify filesystem)






Wednesday, October 31, 2012

Make sendmail on Solaris listen to more than localhost

Check the current configuration:

# svcprop sendmail grep -i local_only
  config/local_only boolean true
# svccfg -v -s sendmail setprop config/local_only=false
# svcadm refresh sendmail # svcadm restart sendmail



Monday, August 20, 2012

Excluding directories and files in tar command

Create a file with all the dictories and files  that you want to exclude in the tar

# less exclude
 test1

 hello

Execute following command

# tar -cvfX test.tar ./exclude *
a hello excluded

a test/ 0K
a test1 excluded
a test2/ 0K
a test3/ 0K


Extract with tar as usual

# tar -xvf test.tar

 

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


Welcome to the UNIX world