Wednesday, April 29, 2009

Friday, April 24, 2009

BMR on Windows

BMR on Solaris is done now...next challenge is BMR on Windows with Dissimilar System Restore. The hardware will be Fujitsu Primergy...

Tuesday, March 31, 2009

BMR on Unix

Finally it looks ok now at least on Solaris. Managed to figure out how to restore a VxVM encapsulation mirrored disks to a single disk. Assuming we faced a difficult situation where both boot disk and mirrored disks are gone at the same time.
The key thing is not to automatically create all the mapping. Add the new disk to the rootdg diskgroup first. Then do the mapping from the original layout/volume to the new volume.
Restore ran successful and boot up on a single disk.

Saturday, March 28, 2009

BMR

Tried the followings:
1. Restored to the same disk without VxVM.
2. Restored to different disk.
3. Restored to the same disk with VxVM encapsulation.
4. Restored to the mirrored boot disks with VxVM encapsulation.

Wednesday, March 25, 2009

BMR Error "Unable to make Registry modification required to boot the system"

Yes. I am hitting this error.
Google leads me to symantec website: http://seer.entsupport.symantec.com/docs/301490.htm
which doesn't help much.

BMR Disimilar System Restore

This feature isn't working for me yet. I keeps encountered this "Unable to perform Registry Modification after restoration.....". And the restore stopped there. A reboot of the system kicks you into a dark screen complaining "NTLDR is missing, press ctl-alt-delete to reboot".
Each time it takes about 15 minutes to restore the whole thing...
Long way to go...
;-(

Friday, March 13, 2009

celcom website?!?!

I always have very bad experience surfing celcom website, all i can say about this site is "SLOW"!.
Compare the response speed with Maxis, Celcom's website is light year behind!!
Consider switching to Maxis.

Bad news and good news...

Good news is that I had a full week rest finally, "thanks" to the accident happened outside the mosque. That was a good lesson learnt that never have too much confidence when you are riding. This is bad news.

Thursday, February 12, 2009

Solaris 10 Update 6 x86 version

Well, it's not running fine on my Fujitsu Life Book S2110. The drivers are not there yet. I tested mandriva one. That's one works out of the box. aiiii............

Minor problems VCS Oracle Setup

The past 2 months were particularly busy for me. It is better now. I have sometime to sit down to do some testing again.
2 problems that i faced when i setup the VCS Oracle HA again:
As i installed Oracle on local host. So of the config files are not shared.

1. listener.ora
2. Audit file directory

Problem 1:
To have static registration and listen to virtual host. This is the config that works for me. The one in red are not in the VCS agent guide.

listener.ora
==============
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /export/home/oracle/10g)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = murex88)
(ORACLE_HOME = /export/home/oracle/10g)
(SID_NAME = murex88)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mxpvip)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)


Problem 2:
When startup Oracle on the second cluster node, an error comes out:
ORA-09925: Unable to create audit trail file
SVR4 Error: No such file or directory.

This one is self explanatory. As i installed Oracle on local host and only datafiles are shared, this one need to be manually created. Check the audit_file_dest and created the directory. Problem solved.

Tuesday, November 04, 2008

VVR on Linux

Running vxstart_vvr without VVR license just dont return anything. It silently return to root prompt. It looks successful, but no vradmind is started.

Until you enter license, then you see vvr port messages.

Tuesday, October 21, 2008

facebookkk

I created my facebook account, in fact i was looking for a old friend. Google search has shown her presence on the facebook.
To my surprise, so many of my friends are already in there facebook. Good to know their latest news.

Email from mom

This is unexpected surprise from mom. Huhh, that's her first email ever.
She is online now! I feel happy for her.
Maybe one day i can find her in Facebook, who knows.

Tuesday, September 30, 2008

Busy time...

I have been busy lately. That is the life of a typical IT support guy. At times, you might be free to what you want and learn what you like. But when projects date line reaching or problems cropped up, this is the time IT guys really get tied up.
........

Monday, August 11, 2008

Missing my Da Jie


He always cries for help when he is bullied by his big brother.....papa lei, pape lei (papa coming here..)
I must admit that i didnt pay as much attention to him....(guilty...)

Wednesday, July 23, 2008

svcadm disable ssh



What will happen to the existing ssh session?
answer: no problem, it runs as normal.

All new connections will be refused.

see the picture :-)

Some notes


I found this document in Sun Blueprint. It is created by Glen Brunette, one of Sun guys that i admired.
There's 2 things in the document that did not point out, one of them is giving permission to /var/audit/* files, and the other one is stopping cryptoadm by non-root user bring the cryptosvc to maintenance state when try to bring up.

First 'problem' details:
Assuming i am user weehing, and i was assigned "Audit Review" profile. Now i would like to audit user oracle activity, this is the same steps as illustrated in Glen's doc.

[weehing@pw250 ~]$ auditreduce -m AUE_su -r oracle | praudit -s | more
auditreduce: couldn't open:
/etc/security/audit/localhost/files/20080723041356.20080723041357.pw250: Permission denied
auditreduce: couldn't open:
/etc/security/audit/localhost/files/20080723041357.not_terminated.pw250: Permission denied
file,1970-01-01 07:30:00.000 +07:30,
file,2008-07-23 13:55:50.000 +08:00,

[weehing@pw250 ~]$ ls -l /etc/security/audit/localhost/files/*
-rw------- 1 root root 70 Jul 23 12:13 /etc/security/audit/localhost/files/20080723041356.20080723041357.pw250
-rw------- 1 root root 21080 Jul 23 13:58 /etc/security/audit/localhost/files/20080723041357.not_terminated.pw250


To allow weehing to audit oracle's activity, read permission would have to be given to weehing. This can be solved by a change in audit binary file permission, but this can be be another concern.


Second 'problem':

[weehing@pw250 ~]$ roles
roleA
[weehing@pw250 ~]$ profiles -l

Audit Review:
/usr/sbin/auditreduce euid=0
/usr/sbin/auditstat euid=0
/usr/sbin/praudit euid=0
All:
*
[weehing@pw250 ~]$ auths
solaris.audit.read,solaris.device.cdrw,solaris.profmgr.read,solaris.jobs.users,solaris.mail.mailq,solaris.admin.usermgr.read,solaris.admin.logsvc.read,solaris.admin.fsmgr.read,solaris.admin.serialmgr.read,solaris.admin.diskmgr.read,solaris.admin.procmgr.user,solaris.compsys.read,solaris.admin.printer.read,solaris.admin.prodreg.read,solaris.admin.dcmgr.read,solaris.snmp.read,solaris.project.read,solaris.admin.patchmgr.read,solaris.network.hosts.read,solaris.admin.volmgr.read
[weehing@pw250 ~]$ svcs cryptosvc
STATE STIME FMRI
online 17:19:30 svc:/system/cryptosvc:default
[weehing@pw250 ~]$
[weehing@pw250 ~]$ digest -a sha1 /etc/hosts
ee4ef007673a3090a4cc00bdb125ec8c146cf7e4
[weehing@pw250 ~]$
[weehing@pw250 ~]$ cryptoadm stop
cryptoadm: failed to stop cryptographic framework daemon - Not owner.
[weehing@pw250 ~]$ su roles
su: Unknown id: roles
[weehing@pw250 ~]$ su roleA
Password:
$ svcs cryptosvc
STATE STIME FMRI
online 17:19:30 svc:/system/cryptosvc:default
$ cryptoadm stop
$ svcs cryptosvc
STATE STIME FMRI
maintenance 17:34:54 svc:/system/cryptosvc:default
$ digest -a sha1 /etc/hosts
digest: failed to initialize PKCS #11 framework: CKR_GENERAL_ERROR
$ cryptoadm start
$ digest -a sha1 /etc/hosts
ee4ef007673a3090a4cc00bdb125ec8c146cf7e4
$ svcs cryptosvc
STATE STIME FMRI
maintenance 17:34:54 svc:/system/cryptosvc:default <---all gone here until here, though this is not really a issue as digest command still works.
$ svcadm clear svc:/system/cryptosvc:default
svcadm: svc:/system/cryptosvc:default: Permission denied.

How to bring the cryptosvc back to online state??

[root@pw250 patches]$ cryptoadm stop
[root@pw250 patches]$ svcs cryptosvc
STATE STIME FMRI
maintenance 17:34:54 svc:/system/cryptosvc:default
[root@pw250 patches]$ svcadm clear svc:/system/cryptosvc:default
[root@pw250 patches]$ svcs cryptosvc
STATE STIME FMRI
online 17:39:25 svc:/system/cryptosvc:default

Well, this is nothing much, but just some findings for reader who follows Glen's doc and might hit the same things like me.