Minggu, 25 Maret 2012

Veritas Storage Foundation for Oracle 10g RAC


Training berdurasi 5 hari ini diselenggarakan di Kuala Lumpur dan Singapore.
Semoga akan ada peserta dari dalam negeri untuk mengikutinya suatu hari.


Dengan SFRAC dapat dipilih beberapa alternatif untuk manajemen data Oracle:

• Datafiles dapat:– Dimanaje sendiri oleh ASM– Diletakkan pada raw CVM volumes– Diletakkan pada  ASM disk groups yang dibuat dari CVM volumes
– Diletakkan pada CFS file systems dan menggunakan ODM untuk membypass file system locking
• Binary dan file-file lainnya diletakkan pada local VxFS atau shared CFS file systems. 

Kamis, 22 Desember 2011

NetBackup 7.5 First Availability (FA) Program



Dear NetBackup Customer:

I am pleased to inform you that Symantec NetBackup 7.5 will have a First Availability (FA) program.  The FA will be available the week of February 6, 2012.  Just as with NBU 7.1, Symantec is offering the opportunity to obtain and run production-ready general availability (GA) NetBackup 7.5 as soon as it becomes available.  Through the First Availability program, you can take advantage of the latest feature capabilities that have been made available in NetBackup.

What are the key new features NetBackup 7.5?
The marquee features of NetBackup 7.5 include:
Replication Director
This feature offers a unified, policy-based management of backups, snapshots and replication.
Deduplication
This release offers improved deduplication integration, scalability, performance, and stability.
Virtualization
NetBackup for VMware and NetBackup for Hyper-V have both been improved.  If you are still running agents "in the guest", it is time to leverage the benefits in these built-for-virtualization solutions.
Accelerator
This feature offers intelligent, streamlined backups to disk. It addresses the increase in the amount of data to backup and the need to reduce the backup windows.
Search
This feature provides an Information Management solution that couples backup, recovery, archive, and discovery.
Cloud
This release contains a new Cloud-based storage that features Encryption.
Telemetry
This feature provides data collection and upload capabilities for NetBackup and OpsCenter installations.
New platform support has been added to provide automated Bare Metal Restore of more platforms and configurations; expand embedded deduplication, and expand support to address market needs for database agents.
o Mac OSX 10.7 Client
o BMR Client and boot server support for the following platforms:
Red Hat 6
AIX 7.5
Solaris 10 ZFS (Sparc/x64)
Linux native multi-path
Auto Image Replication for BMR images
Deduplication for AIX MSDP and Client
Added support for the following agents
o Enterprise Vault 10
o New - Sybase Agent (Solaris 10 x64)
o New - Informix Agent (Solaris 10 x64)
o SharePoint 2010 SP1
o Exchange 2010 SP2

IS THIS AN ALPHA OR BETA PROGRAM?
No.  First Availability software is production ready GA software that has passed stringent Symantec release and quality criteria.   This is not an Alpha or Beta program and we encourage and fully support FA code in production environments.  The First Availability program provides GA quality software to you as soon as it becomes available.

What is the DIFFERENCE BETWEEN FIRST AVAILABILTY AND GENERAL AVAILABILITY?
The First Availability program allows customer access to software at the same time that it is ready to begin the GA hosting process.  The software will be available via FileConnect/DVD Media, this will be the same version you receive through the First Availability program and no further upgrade or action is necessary.

WHEN DOES THE FIRST AVAILABILITY PROGRAM END?
NetBackup FA code is fully supported through support.  Once the GA posting is complete on the Symantec web-site, the software and the e-mail address will be removed from the download site.

What’s Next?
Please wait until registration opens on January 9th, 2012.  I will send you a reminder when registration opens.

If you have any additional questions then please send email to:
NBU-First-Avail@optimacomputer.com.

For those who express an interest in participating, expect to hear from me again once the software is available for download.



Jumat, 16 Desember 2011

Altiris Client Management Suite 7

Altiris Client Management Suite 7


Altiris Client Management Suite (CMS) adalah suatu solusi manajemen sistem yang mengurangi biaya kepemilikan untuk desktop, notebook, dan handheld device.
CMS dikembangkan untuk para profesional dibidang IT yang memenej komputer secara reguler, yang memungkinkan administrator mendeploy, memenej, dan melakukan troubleshooting system hampir dari mana saja.
Tidak hanya merupakan alat bantu bagi administrator, CMS menyediakan layanan IT bagi semua pengguna. Pondasinya adalah Symantec Management Platform yang menyediakan satu set layanan solusi IT. Dengan layanan-layanan tersebut, solusi yang dibangun pada platform tersebut dapat fokus pada tugas-tugas uniknya. Layanan-layanan platform tersebut juga menyediakan konsistensi yang tinggi antara solusi-solusinya sehingga para pengguna tidak perlu mempelajari interface produk yang bermacam-macam.

CMS adalah suatu kumpulan dari solusi yang berjalan diatas Symantec Management Platform. Platform dan solusi dari CMS menyediakan fitur-fitur utama berikut:
- Konsol manajemen berbasis Web yang terpusat
- Deployment OS dan migrasi tanpa sentuhan
- Inventori hardware dan software yang terintegrasi dengan pelaporan berbasis Web
- Manajemen software berbasis policy
- Manajemen patch otomatis
- Pengumpulan dan kepatuhan lisensi software
- Manajemen yang terpusat dari berbagai macam hardware dan OS

Optima menyelenggarakan training regulernya, instalasi dan migrasi Altiris.

Kamis, 15 Desember 2011

Perbedaan SID dengan service name

1. SID
SID = System Identifier
Dipakai untuk mengenali sebuah database instance dalam sebuah mesin.
Untuk itu perlu didefinisikan sebuah variable di level OS, dengan nama ORACLE_SID.
Contoh:
Pada mesin dimana database servernya berada,
# export ORACLE_SID=orcl1
# sqlplus /nolog
SQL> connect / as sysdba
SQL> select instance_name from V$instance;

Anda akan terhubung ke database instance dengan nama orcl1.
Nilai SID dipakai untuk menentukan beberapa nama file, spt: init.ora, spfile.ora, orapw, ...

Selain itu SID dipakai untuk mengenali database instance dari sisi client (khusunya kalau anda masih menggunakan database sebelum versi 8i).
Untuk itu anda harus mendefinisikannya di dalam tnsnames.ora (kalau anda menggunakan local naming).
connect_alias=(description=(address=...)(connect_data=(SID=)))

2. Service Name (berlaku untuk database versi 8i keatas)
By default setelah anda membuat sebuah database, nilai service name = nilai SID.
Berbeda dgn SID, anda bisa mendefinisikan beberapa nilai service name untuk sebuah database.
Ada beberapa cara untuk mendefinisikannya, a.l:
- merubah/menambahkan nilai untuk instance parameter "service_names"
- merubah nilai untuk instance parameter "log_archive_dest_n" (untuk konfigurasi DataGuard)
- merubah nilai untuk instance parameter "dispatchers" (misal untuk XDB:XML Database)
- pada listener.ora untuk parameter GLOBAL_DBNAME
- menggunakan DBMS_SERVICE
- ...

Dari sisi client, service name bisa dipakai untuk mengenali/mengakses database instance.
Untuk itu anda harus mendefinisikannya di dalam tnsnames.ora (kalau anda menggunakan local naming).
connect_alias=(description=(address=...)(connect_data=(SERVICE_NAME=)))

Service name dipakai pada konfigurasi RAC (Real Application Cluster), khususnya utk failover dan load balancing connection.
Selain itu service name juga bisa dipakai pada penerapan resource manager...dll...

cmiiw,
Bowo

Senin, 06 September 2010

Man page of new ccradm functions

#ccradm
usage: ccradm subcommand args ...
where 'subcommand' is one of the following:
recover [-Z zoneclustername] [-f] [-o] ccrtablefile
replace [-Z zoneclustername] -i newdatafile ccrtablefile

addtab [-Z zoneclustername] ccrtablefile
remtab [-Z zoneclustername] ccrtablefile

addkey [-Z zoneclustername] -v value -k key ccrtablefile
changekey [-Z zoneclustername] -v value -k key ccrtablefile
delkey [-Z zoneclustername] -k key ccrtablefile
showkey [-Z zoneclustername] -k key ccrtablefile

Sun Cluster Maintenance Commands ccradm(1M)

NAME
ccradm - CCR table files administration command

SYNOPSIS
******

/usr/cluster/lib/sc/ccradm recover [-Z zoneclustername][-o] ccrtablefile

/usr/cluster/lib/sc/ccradm replace [-Z zoneclustername]-i newdatafile ccrtablefile

/usr/cluster/lib/sc/ccradm addtab [-Z zoneclustername]ccrtablefile

/usr/cluster/lib/sc/ccradm remtab [-Z zoneclustername]ccrtablefile

/usr/cluster/lib/sc/ccradm addkey [-Z zoneclustername]{-s value | -f file} -k key ccrtablefile

/usr/cluster/lib/sc/ccradm delkey [-Z zoneclustername]key ccrtablefile

/usr/cluster/lib/sc/ccradm changekey [-Z zoneclustername]{-s value | -f file} -k key ccrtablefile

/usr/cluster/lib/sc/ccradm showkey [-Z zoneclustername]-k key ccrtablefile

DESCRIPTION

The ccradm command supports administration of
Cluster Configuration Repository (CCR) information.

The CCR information all resides somewhere under /etc/cluster/ccr.
CCR information about the global cluster resides in the
directory /etc/cluster/ccr/global. CCR information about
a zone cluster "zoneclustername" resides in the directory
/etc/cluster/ccr/zoneclustername. CCR information should only
be accessed via the supported programming interfaces. The file
permissions are intentionally set to prevent direct access to
CCR information.

CCR information is stored in the form of a table, with one table
stored in its own file. Each line of the CCR table file consists
of two ASCII strings, where one is the key an the other is the value.
.
Each CCR file starts with a generation number, ccr_gennum,
and a checksum, ccr_checksum.

The ccr_gennum indicates the current generation number of the CCR table
file. The system manages the ccr_gennum. The highest number is the
latest version of the file. Two special values exist (refer to the
recover subcommand for more information).

The ccr_checksum indicates the checksum of the CCR table contents,
and provides a consistency check of the data in the table.
The system will not use a CCR table file with an invalid checksum.

"ccrtablefile" is the name of the file representing the CCR
table on the local node. When the "-Z" option is specified, the
ccrtablefile belongs to the specified zone cluster. When no "-Z" option
is specified, the ccrtablefile belongs to the global cluster. Note
that the global cluster and the zone clusters can all have
a ccrtablefile of the same name with different information.

SUBCOMMANDS
The following subcommands are supported:

<< note that the "recover" subcommand replaces "checksum" >>

recover
This option is only for use by engineers who are experts
on the internal operations of the CCR. This option supports
manual recovery operations. Normal users should not use
this option.

This option can be used only in non-cluster mode.

The recover subcommand always sets the value of the ccr_gennum
and re-computes the checksum sets the value of ccr_checksum in
the ccrtablefile.

When used without the "-o" option, the recover subcommand sets the
generation number to INIT_VERSION. A generation number of INIT_VERSION
means that the CCR table file is valid only until the local node
rejoins the cluster, at which time the cluster will replace
the contents of ccrtablefile with the contents of ccrtablefile
from another node in the cluster.
A prerequisite is either one of
the following:
1) one of the other nodes in the clus-
ter must have the override version set for the CCR table file, or
2) at least one of the other nodes must have a valid copy of
the CCR table file. A CCR table file is valid if it has a
valid checksum and its generation number is greater than or
equal to zero.

If ccrtablefile has a generation number of INIT_VERSION on
all nodes, then the CCR table will remain invalid after
recovery has completed. Therefore, do not use the init
subcommand without the -o option on a CCR table file on
all nodes in the cluster.

When used with the "-o" option, the recover subcommand sets the
generation number to OVRD_VERSION. A generation number of OVRS_VERSION
means that the system will propagate the contents of ccrtablefile
on the local node to all other cluster nodes. After propagating
the contents to other nodes, the system will change the generation
number to 0. Only one node should have a ccrtablefile with a value
of OVRD_VERSION. If someone makes a mistake and sets OVRD_VERSION
on the same ccrtablefile on multiple nodes, the system will
arbitrarily use one ccrtablefile contents.

replace
This option is only for use by engineers who are experts
on the internal operations of the CCR. This option supports
manual recovery operations. Normal users should not use
this option.

This subcommand can be used only in cluster mode.

Contents of "newdatafile" will replace the contents of
"ccrtablefile".

The checksum will be recomputed and the generation number
will be reset to 0.

addtab
Creates a table in the cluster configuration repository
for the specifid cluster. The table initially contains
just the ccr_gennum and ccr_checksum.

This subcommand can be used only in cluster mode.

remtab
Remove a table in the cluster configuration repository.

This subcommand can be used only in cluster mode.

addkey
Adds a key - value pair to ccrtablefile for the specifid cluster.

This subcommand can be used only in cluster mode.

When used with the -s option the data is a string value.
When used with the -f option the value is the first string in the
file and the file contains exactly one string. The command
returns an error if the file is not in this format.

delkey
Deletes a key - value pair from ccrtablefile based upon
the specified key. If the key is not found in ccrtablefile,
the command returns ESPIPE.

This subcommand can be used only in cluster mode.

changekey
Modify the value of a key in ccrtablefile
based upon the specified key and newvalue.
If the key is not found in ccrtablefile,
the command returns ESPIPE.

This subcommand can be used only in cluster mode.

When used with the -s option the data is a string value.
When used with the -f option the value is the first string in the
file and the file contains exactly one string. The command
returns an error if the file is not in this format.

showkey
Displays the value for the specified key in ccrtablefile.
If the key is not found in ccrtablefile,
the command returns ESPIPE.
The showkey command writes to standard output just the value string
followed by an end of line for the specified key.
When an error occurs, the command writes nothing.

This subcommand can be used only in cluster mode.

OPTIONS
The following options are supported:

Note -

Both the short and long form of each option is shown in
this section.

-?
--help

Displays help information.

You can specify this option with or without a subcom-
mand.

If you specify this option without a subcommand, the
list of all available subcommands is displayed.

If you specify this option with a subcommand, the usage
for that subcommand is displayed.

-Z {zoneclustername | global}
--zoneclustername={zoneclustername | global}
--zoneclustername {zoneclustername | global}

Specifies the cluster in which the CCR transactions
has to be carried out.

This option is supported by all subcommands.

If you specify this option, you must also specify one
argument from the following list:

zoneclustername Specifies that the command with
which you use this option is to
operate on all specified resource
groups in only the zone cluster
named zoneclustername.

global Specifies that the command with
which you use this option is to
operate on all specified resource
groups in the global cluster only.

-i newdatafile
--input=newdatafile
--input newdatafile

Specifies the CCR table file you want to use for
recovery operation.

-o
--override

The override option is used with the recover subcommand.
This option can be used only in non-cluster mode.
It sets the generation number to OVRD_VERSION.
This option is used to designate one CCR table
file to be the master copy. This version of the
CCR table file will override other versions of the
file that are on the remaining nodes during
recovery. If a CCR table file has a generation
number of OVRD_VERSION on more than one node,then
only one of the files will be selected and a warn-
ing message will be printed on the console of one
of the nodes. After recovery the table's genera-
tion number will be reset to 0.

-s {value}
--string={value}
--string {value}

Specifies the value for the key of a CCR table.
There can be no white space characters in the value string.
This means that there can be no spaces, tabs, carriage returns, or
line feeds.

-f {filename}
--filename={filename}
--filename {filename}

Specifies that you want to use the contents of the
file to add or modify the key value that is located
in the filename file. The file must contain exactly one string,
which is to be used as the new value.
There can be no white space characters in the value string.
This means that there can be no spaces, tabs, carriage returns, or
line feeds.

USAGE

ccradm can be used for administrative actions on CCR table files.

EXAMPLES

REPAIR PROCEDURE FOR A CCR TABLE

Example 1.

If a CCR table file is manually edited as part of some emer-
gency repair procedure, then the checksum must be recomputed.

Perform these steps to repair a corrupted CCR table only
when directed as part of an emergency repair procedure.

Reboot all nodes in non-cluster mode.

Edit the file on all nodes to contain the correct data.
The file must be identical on all nodes.
Because the file is identical on all nodes, it also can
be designated as the override version on all nodes.
Recompute the checksum and designate this CCR table
file to be the override version by running the follow-
ing command on all nodes. file is the name of the CCR
table.

On each node of the cluster execute the following command:

/usr/cluster/lib/sc/ccradm recover -Z global -o ccrtablefile

Reboot all nodes in cluster mode.

Example 2.

In this example, in order to carry out emergency repairs
the administrator wants ccrtablefile on node 1 to be used
only until the cluster reforms. The administrator wants
the ccrtablefile contents on node 2 to be used on all nodes
once the cluster forms.

In non-cluster mode on node 1, recompute the checksum and set the gen-
eration number to INIT_VERSION for CCR table file www on the
local node:

# ccradm recover -Z global ccrtablefile

In non-cluster mode on node 2, recompute the checksum and set the gen-
eration number to OVRD_VERSION for CCR table file xxx on the
local node:

# ccradm recover -Z global -o ccrtablefile

Example 3.

In this example, in order to carry out emergency repairs
the administrator wants to replace the current contents
of ccrtablefile with the contents from a backup file.

In cluster mode, replace the CCR table yyy with the contents
of its backup version in the file /etc/cluster/ccr/yyy.bak:

# ccradm replace -Z global -i /etc/cluster/ccr/global/yyy.bak yyy

TABLE OPERATIONS

In cluster mode, create a CCR table foo in the global cluster.

# ccradm addtab foo

To create a CCR table foo in zonecluster zc1

# ccradm addtab -Z zc1 foo

To remove a CCR table foo in the global cluster.

# ccradm remtab foo

To modify a CCR table key value in the global cluster
# ccradm modify-key -f /tmp/data1 -k key1 ccrtablefile

# ccradm modify-key -s "NewValue" -k key1 ccrtablefile

To display a CCR table key value in the global cluster
# ccradm show-key -k key1 ccrtablefile
ValueForKey1
#

EXIT STATUS
The following exit values are returned:

0 No errors occurred.

>0 Error occurred.

EINVAL Invalid argument, such as a value string with white space

ESPIPE The specified key does not exist in ccrtablefile

ENOENT The specified file does not exist

Jumat, 21 Mei 2010

Zombie Process

Zombie Process atau dikenal dengan terjadi karena child process yang exit namun parent processnya tidak mengetahui jika child process tersebut sudah terminate, misalnya disebabkan karena putusnya network.
Sehingga parent process tidak merelease process yang masih digunakan oleh child process tersebut walaupun process tersebut sudah mati.

Untuk memeriksa apakah ada process zombie dapat dilakukan:

$ ps -ef | grep defunct

Zombie process tidak dapat dihilangkan dengan command kill, karena process tersebut sudah exit.

Berikut ini adalah contoh zombie process:

$ nohup perl -e "if (fork()>0) {while (1) {sleep 100*100;};};"&

$ ps -ecl |grep "Z"
F S UID PID PPID CLS PRI ADDR SZ WCHAN TTY TIME CMD
0 Z 100 27841 27840 - 0 - 0 - ? 0:00

Untuk merelease process dapat dilakukan:

$ preap 27841
27841: exited with status 0

Dan sekarang zombie tersebut sudah lenyap:

$ ps -ecl |grep "Z"
F S UID PID PPID CLS PRI ADDR SZ WCHAN TTY TIME CMD

Kamis, 20 Mei 2010

Maksimum jumlah elemen dalam array Korn Shell

$ cat testarray.ksh
n=0

while true
do
arr[n]=n
print $n
(( n = n + 1 ))
done

$ ksh testarray.ksh
0
1
2
3
4
5
6
7
8
9
10
.
. output dihilangkan
.
4090
4091
4092
4093
4094
4095
testarray.ksh[5]: arr: subscript out of range
Jawabannya adalah 4096