Showing posts with label Console. Show all posts
Showing posts with label Console. Show all posts

Domain snapshot in xscf console

Monday, September 6, 2010 at 7:10 AM
XSCF> snapshot -L F -t root@node:/var/test
Downloading Public Key from 'node'...
Public Key Fingerprint: 0a:33:18:87:73:4b:3b:47:5e:b9:0b:9a:59:10:7e:10
Accept this public key (yes/no)? yes
Enter ssh password for user 'root' on host 'node':
Setting up ssh connection to root@node...
Collecting data into root@node:/var/test/nodersc_44.191.122.26_2010-09-06T13-25-32.zip
Data collection complete
XSCF>

Change the savecore path and take the dump file from dump device

Wednesday, September 1, 2010 at 8:22 AM
server is PANIC but crash file is not created but crash dumped in the dump device. this procedure will explain how to save the file from dump device to savecore path
node1:/root# dumpadm
Dump content: kernel pages
Dump device: /dev/dsk/c1t0d0s1 (dedicated)
Savecore directory: /var/crash/node1
Savecore enabled: yes
node1:/root#


node1:/root# df -h /tmp
Filesystem size used avail capacity Mounted on
swap 31G 72K 31G 1% /tmp
node1:/root# mkdir -p /tmp/node1


node1:/root# dumpadm -s /tmp/node1
Dump content: kernel pages
Dump device: /dev/dsk/c1t0d0s1 (dedicated)
Savecore directory: /tmp/node1
Savecore enabled: yes


node1:/root# savecore -dv
System dump time: Mon Aug 30 12:37:53 2010
Constructing namelist /tmp/node1/unix.0
Constructing corefile /tmp/node1/vmcore.0
100% done: 263253 of 263253 pages saved
node1:/root#


node1:/root# ls -l /tmp/node1
total 4266032
-rw-r--r-- 1 root root 2 Sep 1 13:40 bounds
-rw-r--r-- 1 root root 2266738 Sep 1 13:39 unix.0
-rw-r--r-- 1 root root 2181931008 Sep 1 13:40 vmcore.0
node1:/root# dumpadm -s /var/crash/node1
Dump content: kernel pages
Dump device: /dev/dsk/c1t0d0s1 (dedicated)
Savecore directory: /var/crash/node1
Savecore enabled: yes
node1:/root#

Building Sun Fire X4150 x86 machine

Tuesday, September 15, 2009 at 9:44 AM
Building X4150 machine is a little bit different from Sun Fire V-series machines. To build this machine, you need to follow below steps:

1. Configure the ILOM (Integrated Lights-Out-Management) service to gain remote access of the server. Sun engineer can help in setting this one up. You may also ask the engineer to enable the web gui, usually https://ILOM_hostname or https://ILOM_ipaddress

2. Connect to the server via ssh or telnet (depends on what has been enabled)

# ssh ILOM hostname / IP address

or via web GUI, https://ILOM_hostname

3. Launch server console by clicking "Launch Redirection" button under "Remote Control" tab

4. Reset the machine to configure BIOS and RAID. Click "Remote Power Control" tab and then select "Reset" in Power Control field and then click "Save".

5. In BIOS configuration menu, go to Server to check the NIC's mac addresses (you'll be needing this on jumpstart process)

6. Go to Boot and the select Boot Device Priority. Select "USB:Virtual DVD/CD" as the "1st Boot Device" and the "RAID disk" as the "2nd Boot Device". Save and Exit BIOS.

7. Configure Jumpstart to create an initial boot ISO.

8. Mount the iso image. From the ILOM remote console, Select "Devices" and then click on "CD-ROM image" and then select the iso file.

9. Proceed with the Jumpstart.

Note: Different errors might occur during jummpstart,like Disk not found error. For this one you need to check if RAID has been configured. For ....... error (hehehe) you may want to check your tftp package or check your network connection.

Go to ok prompt from ILOM of Sun T5120

at 9:44 AM
Follow below procedure to get to "ok" prompt from ILOM.

1. ssh to ILOM hostname


2. From the ILOM prompt , type the below.

--> set /HOST send_break_action=break

--> start /SP/console to get to the ok prompt.


Manual system reset from the ILOM prompt.

--> set /HOST/bootmode script="setenv auto-boot? false"

--> reset /SYS

Logon to ALOM of Sun M4000

at 9:41 AM
# ssh or
username: eis-installer or your_username
password: password


To connect to console:

XSCF> console -d 0

If somebody is already using the console, you can force connect

XSCF> console -d 0 -f

To go back to XSCF prompt:

type "#." (without the quotes)

To reset the server/domain:

XSCF> reset -d 0 por [resets domain 0]
XSCF> reset -d 0 xir [resets domain 0 with XIR reset]

To send break:

XSCF> sendbreak -d 0

To reboot XSCF system:

XSCF> rebootxscf

XSCF> showstatus
XSCF> showversion -c xcp -v [shows xcp firmware, version, openboot prom version
XSCF> showenvironment
XSCF> showenvironment temp
XSCF> showenvironment volt
XSCF> showhardconf
XSCF> showdcl -va [check domain id...]
XSCF> showdomainstatus -a
XSCF> showboards -a
XSCF> poweron -a [powers up all domains]
XSCF> poweroff -a [powers off all domains]
XSCF> poweron -d 0 [powers on domain 0]
XSCF> poweroff -d 0 [powers off domain 0]
XSCF> poweroff -f -d 0 [forces a power off domain 0]
XSCF> sendbreak -d 0 [sends break command to domain 0]
XSCF> setautologout -s 60 [sets autologout to 60 minutes]
XSCF> showautologout
XSCF> shownetwork -a
XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 10.10.10.5
XSCF> sethostname xscf#0 fire-xscf
XSCF> sethostname -h host.org
XSCF> setroute -h host.org
XSCF> setnameserver 10.10.10.2 10.10.10.3
XSCF> setroute -c add -n 10.10.10.1 -m 255.255.255.0 xscf#0-lan#0

To add 2 additional memory boards:

XSCF> addboard -c assign -d 0 00-2
XSCF> addboard -c assign -d 1 00-3

XSCF> showboards -va

Solaris | Powered by Blogger | Entries (RSS) | Comments (RSS) | Designed by MB Web Design | XML Coded By Cahayabiru.com