19 Kasım 2012 Pazartesi

           12c Cloud Control Agent Deployment on Solaris 10



İlk olarak cloud control çalıştığı makinada host dosyasına target makinanın ipadres bilgisi aşağıdaki şekilde eklenir.
10.10.10.10         hostname.localdomain            hostname

Prerequests:

1)Agent install edilecek Solaris versiyonunun  12c için certified edilmiş bir işletim sistemi olup olmadığı kontrol edillmelidir.
2)Agetn install edilecek makinadaki gerekli olan packages kurulu olmalıdır.
SUNWbtool
SUNWarc
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt

Bu paketler Solaris cd den kurulabilir;
$pkgadd -d /cdrom/cdrom0/Solaris_9/Product   SUNWgtar(package name)

3)Primary grubu oinstall olan oracle kullanıcısı oluşturmalıyız.
$groupadd oinstall
$useradd –g oinstall oracle
$passwd oracle

4)Destination sistemde agent sw için directory oluşturulur. Ve installation sırasında kullanılacak kullanıcının bu dosya üzerinde yazma yetkisi olmalıdır.
$mkdir /agetnsw
$chown –R oracle:oinstall /agentsw

5)Destination host a cloud control olduğu makinadan erişim sağlanmalıdır.

Step of Agent Deployment on solaris 10


Agent install edilecek makinanın ve işletim sistemi belirtilir.


Agent install edileceği directory bilgisi ve kullanıcı bilgileri belirtilir.






Kurulum aşamasında alınan hata ve çözümü:

Banner message "Could not chdir to home directory /home/oracle: No such file
or directory " was found in the error stream of the shell initialization
script while running the ssh command in the login shell on the remote
host.Banner message "Could not chdir to home directory /home/oracle: No such
file or directory " was found in the error stream of the shell initialization
script while running the ssh command in the login shell on the remote host.

Kurulum aşamasında yukarıdaki gibi bir hata aldım.İnstallation aşamasında oracle kullanıcısının home directory arıyor.(/home/oracle).Solaris yapısı gereği kullanıcı home dizini  /export/home/altında bulunuyor./home directory içerisinde  oracle directory oluşturmaya çalıştığımda da operation not applicable hatası verdi. Çünkü  /home directory automount  directory olarak kullanılır.Bunun anlamı sisteme herhangi bir kullanıcı login olduğunda sistem kullanıcıyı otomatik olarak /home/userid directory mount eder.Bu sorunu çözmek için ya kendi oluşturduğumuz bir directory auto_master dosyasına ekleriz yada  automount disable ederiz.

1.yol
1)$mkdir /autostage
2)$vi /etc/auto_master dosyasını  /home   olan auto_mount directory yerine create ettiğimiz directory yazarız.
3)sistemi baştan başlattıktan sonra /home directory create işlemi yapabiliriz.
$mkdir oracle
$chown –R oracle:oinstall oracle

2. yol
1)$umount /home
2)$vi /etc/auto_master   /home ile başlaya satırı remove ederiz.
3)rm –rf /etc/auto_home



Hiç yorum yok: