Friday, July 6, 2018

Xbrowser configuration on AIX 6.1 TL08 sp03

Hello friends today i am going to share how to access common desktop environment on x browser  .
Generally x browser or x session is require to do some software installation by oracle or SAP application team ,who are not familiar with command line prompt,but before using x browser ,AIX admin must install x11.dt fileset on AIX 6.1 TL08 SP03. so lets see step by step process.

Step 1.Install following X11 fileset from AIX 6.1 TL08 base media (X11.dt).also make sure that openssh and openssl already installed on server.




Step 2. 


Edit /etc/ssh/sshd_config

Comment out following entry

X11Forwarding yes

Then refresh sshd service

#refresh –s sshd




Step 3.
#cd /etc
#ls –lrt |grep –i rc.dt
Execute rc.dt script by following command


#./rc.dt
Above command will show output like below
Starting AIX Windows session…………#

Step 4:
Also ensure that there is no port blocked on firewall for X11 server and X11 client.

Step 5:

Now how admin should test that xclock is working fine ??
Ans .Login To x browser using oracle or SAP user account then execute following command.

#export DISPLAY=hostname:0.0


here hostname is "IP address of your desktop"


here purpose of DISPLAY varibale is to tell x11 client where to run X11 server.

execute xclock command to test whether xclock is working or not.

#xclock


if everything is OK then "xclock" command will show output like below.





at last we can say that application or database admin who are not familiar with command-line prompt ,can use x browser to do oracle RAC configuration or SAP installation using 
x browser.

Some common checklist before executing Xclock


1.Check that required X11 fileset installed on AIX server.

2.Openssh and openssl is installed on AIX server.
3.x11forwarding enabled in file /etc/ssh/sshd_config and after this sshd service refresh done.

4.most important After login to user session, export of "DISPLAY" variable done.


hope that this post will help .


Thanks !!!




Wednesday, July 4, 2018

Versioned WPAR on AIX 7.1

Hello everyone today i am going to share knowledge on how we can create versioned WPAR on AIX 7.1.
For creating versioned WPAR you need to pay some cost to IBM for versioned WPAR fileset .Version WPAR are supported on AIX 7.1 only.

So question is why we need version WPAR ??
Generally versioned WPAR is AIX 5.3 and AIX 5.2 instance running on AIX 7.1 .When client application or database having operating system version dependency then version WPAR come in picture.


 



Minimum OS requirement for creating versioned WPAR 
Global LPAR OS version :AIX 7.1 TL01 SP05 recommended .
Minimum AIX 7.1 TL01 SP04.
WPAR extention OS version :AIX 5.3 TL12 SP 05(minimum) and AIX 5.2 TL10 SP08(minimum).

Lets see step by step procedure how to create versioned WPAR on AIX 7.1 TL03 SP04.we going to create AIX 5.3 versioned WPAR on AIX 7.1
Hardware : IBM POWER8
Step 1:
First create fresh MKSYSB backup of  client LPAR OS (AIX 5.3 TL12 SP05).

Step 2: Create target AIX 7.1 TL03 SP04 LPAR and then install following licensed fileset on that GLOBAL LPAR.
licensed fileset for versioned WPAR.
vwpar.images.53            1.1.2.0  COMMITTED  Versioned WPAR 5.3 Support
vwpar.images.base          1.1.2.0  COMMITTED  Versioned WPAR Base Support
vwpar.sysmgt               1.1.2.0  COMMITTED  Versioned WPAR Management

bos.wpars                 7.1.3.30  COMMITTED  AIX Workload Partition

copy required versioned wpar fileset(IBM Licensed fileset)  on /tmp/wpar_5.3 path,which you purchased from IBM for creating versioned WPAR.

Step 3:Then
#cd  /tmp/wpar_5.3
#inutoc .
use smit install to install all fileset in path for supporting versioned WPAR of AIX 5.3.

Step 4:
After versioned wpar fileset installation completed check installed fileset using command.
#lslpp -l |grep -i wpar


Step 5:
Copy AIX 5.3  MKSYSB using NFS share to GLOBAL LPAR in file system /mksysb_AIX_LPAR/image/ path.

/mksysb_AIX_LPAR/image/lparb.mksysb

Step 6:
Assign 70 GB SAN disk on Global AIX 7.1 LPAR for WPAR install.
cd to path /mksysb_AIX_LPAR/image

Execute mkwpar command with following flag

# mkwpar -D rootvg=yes devname=hdisk1 -n wparb -h wparb -N interface=en0 netmask=255.255.255.0 address=XX.XX.XX.XX -r -C -B lparb.mksysb –l

Flag 
D  configure device from global LPAR to WPAR when system start
devname  device name to allocate to the versioned WPAR
rootvg=yes   use specified device as rootvg.
h   hostname
n   wpar name
N  interface name for IP configuration
r  Duplicate network configuration file from global LPAR
C Create versioned WPAR
B workload partition backup image (mksysb image)
l   Creates private and writable versions of the /usr and /opt file systems

Above command will take around 20-25 minutes
Once command completes it will show versioned wpar has been created successfully.
  
Step 7:Check versioned WPAR is active or not by following command




Following are the state of WPAR.
A  Active
D defined

Step 8:

#startwpar  wparb      
above command will start WPARB.for accessing wparb it must be in ACTIVE state.
Once wpar started login to WPAR using  command
#clogin  wparb
It will show AIX 5.3 versioned WPAR console

Thanks !!!