Solaris
wenchenzhao113
为今天比昨天进步一点而努力奋斗
展开
-
configure ssh on solaris/linux
Two systems named local and remote, build root ssh login between them without password assigned1. enable root login on both systems on solaris, no need to do it on linuxmodify "/etc/ssh/sshd_con原创 2008-04-29 16:17:00 · 469 阅读 · 0 评论 -
How to update Sun System Firmware without Solaris, using ILOM or ALOM CLI.
How to update Sun System Firmware without Solaris, using ILOM or ALOM CLI.The Sun System Firmware update process enables you to install new firmware forboth the host and Service Processor. Yo转载 2009-07-06 14:03:00 · 1631 阅读 · 0 评论 -
sftp failed, cipher_init: EVP_CipherInit: set key failed for aes128-c
This problem will be met if the patch 139555-08 is installed, we should add another patch 140386-02 or newer, then reboot OS, the issue will be resolved. For systems with a Niagara-2 (T2) chip转载 2009-10-21 12:43:00 · 781 阅读 · 0 评论 -
crontab edit
export EDITOR=vicrontab –e转载 2009-10-26 17:57:00 · 443 阅读 · 0 评论 -
isainfo -b fcinfo hba-port
[root@vcsv245c limits]# isainfo -b64[root@vcsv245c limits]# fcinfo hba-portHBA Port WWN: 2100001b32010f99 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model原创 2009-11-06 15:37:00 · 863 阅读 · 0 评论 -
Enable rcp/rlogin on solaris with LDom configured
1. echo "+" > /.rhosts 2. modify /etc/pam.conf, uncomment the following two lines:rlogin auth sufficient pam_rhosts_auth.so.1rsh auth sufficient pam_rhosts_auth.so.1原创 2009-11-16 17:46:00 · 530 阅读 · 0 评论 -
Install & Add logical domain, set domain dependency, set failure-policy
1. upgrade firmware;2. patch all os patches.3. install ldom4. enable ldmd and vntsdsvcadm enable ldmdsvcadm enable vntsd >>> this make telnet ldom from localhost work well5. add new logi原创 2009-11-23 17:14:00 · 716 阅读 · 0 评论 -
modify the login prompt message
Login prompt message locates in /etc/motd, modify the file.原创 2010-02-08 15:38:00 · 613 阅读 · 0 评论 -
System Admin
1. unmount volumes shared.unshare /dirumount /dir 2. solaris SC># list all commandssc> help # resetsc -y, reset SC# reset -y, reset OS.# poweron/poweroff# break -y, enter OK m原创 2010-02-08 16:40:00 · 614 阅读 · 0 评论 -
Upgrade firmware on solaris sparc based on ALOM
1. Download firmware upgrade file, e.g. 139439-01.zip2. use sysfwdownload to load the image to Service Processor(SP)sysfwdownload Sun_System_Firmware-7_2_0-SPARC_Enterprise_T5120+T5220.pkg3. pow原创 2009-07-06 13:35:00 · 798 阅读 · 0 评论 -
How to Create an ALOM CMT Compatibility Shell
How to Create an ALOM CMT Compatibility Shell1. Log onto the server with username: root.When powered on, the server boots to the ILOM login prompt. The factory defaultpassword is changeme.转载 2009-07-06 14:01:00 · 485 阅读 · 0 评论 -
telnet localhost to login guest domain failed.
Issue:[root@sunt5220a /]#>telnet localhost 5000Trying 127.0.0.1...telnet: Unable to connect to remote host: Connection refused Solve:This is because we did not enable svc:/ldoms/vntsd:defa原创 2009-07-02 19:20:00 · 1176 阅读 · 0 评论 -
Enable root access to FTP server;
Modify "/etc/ftpd/ftpusers " file, and delete the line "root", then we can access to FTP server with root account;NOTE: It is unsafe!!!!原创 2008-04-24 16:26:00 · 419 阅读 · 0 评论 -
Enable/disable nfs
Solaris:share -F nfs /dirunshare /dirLinux:modify /etc/exportsadd dirs you want to share/dir *(ro, no_root_squash)# there are more options for nfs, pls look into the nfs manual;原创 2008-07-22 15:13:00 · 643 阅读 · 0 评论 -
Use a whole share disk for the ldom vdisk
Use a whole disk for the ldom vdisk, the disks partition looks like as follows: partition> printCurrent partition table (original):Total disk cylinders available: 32766 + 2 (reserved cylinder原创 2009-07-16 12:32:00 · 568 阅读 · 0 评论 -
Install OS with jumpstart without login console.
We always login console and enter the OK mode to install OS from jumpstart server, OK~ boot net - install if there is no console ip configured, we can use this way: [root@vcsv245a /原创 2009-07-17 14:03:00 · 345 阅读 · 0 评论 -
Setup Oracle based on ASM inside Solaris Zones.
1. Configure LZ zone1, here we use a lofs to map /oracle in LZ to /oracle in GZ, where locates the oracle binary data, we add a device to LZ, which match the /dev/vx/rdsk/oracle_dg/oracle_vol in GZ. W原创 2009-07-27 14:10:00 · 1727 阅读 · 0 评论 -
How to setup VVR in VCS , including the FireDrill.
Here is a script for setup the env: >>>begin#!/bin/bashDG2_CLUS1=datadgDG2_CLUS2=datadg2DISK2_CLUS1="c2t5006016030232106d0s2 c2t5006016030232106d4s2"DISK2_CLUS2="c2t5006016030232106d1s原创 2009-08-04 15:54:00 · 781 阅读 · 1 评论 -
Disable dhcp
ifconfig nic_name dhcp drop原创 2009-09-03 10:53:00 · 781 阅读 · 0 评论 -
Upgrade LDom1.0.3 to LDom 1.1
Box: SPARC-Enterprise-T5220 1. svcadm disable ldmd2. pkgrm SUNWldm SUNWjass3. install LDom1.14. reboot os. I made a mistake here, in step 2, I also removed both SUNWldomr and SUNWldom原创 2009-07-02 14:11:00 · 581 阅读 · 0 评论 -
Use filesystem(e.g.vxfs) inside local zone without loopfs
[root@vcsv245i /]#>zonecfg -z zone1 info...fs: dir: /dmnt special: /dev/vx/dsk/zonedg/vol1 raw: /dev/vx/rdsk/zonedg/vol1 type: vxfs optio原创 2010-04-26 11:26:00 · 437 阅读 · 0 评论