[root@cpmlx-edgv2-01 patch_12.1.2.1.2.150617.1]# cat /var/log/cellos/upgradeIBSwitch.log [1435802145][2015-07-01 23:17:47 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Starting upgrade on cswlx-eibbv2-01 to 2.1.5_1. Please give upto 10 mins for the process to complete. DO NOT INTERRUPT or HIT CTRL+C during the upgrade [1435802145][2015-07-01 23:17:47 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Execute plugin check for Patching on cswlx-eibbv2-01 [1435802145][2015-07-01 23:17:48 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][getIBSwitchMaster][] [CMD: ssh root@cswlx-eibbv2-01 getmaster] spawn ssh root@cswlx-eibbv2-01 getmaster root@cswlx-eibbv2-01's password: Local SM not enabled 20150702 07:35:47 Master SubnetManager on sm lid 1 sm guid 0x2128468d3fa0a0 : SUN DCS 36P QDR cswlx-eibav2-01 10.17.7.175 [1435802145][2015-07-01 23:28:59 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][loadIBSwitchSW][] [CMD: load -source /tmp/sundcs_36p_repository_2.1.5_1.pkg] spawn ssh root@cswlx-eibbv2-01 root@cswlx-eibbv2-01's password: Last login: Fri Jun 26 02:14:12 2015 from 10.17.7.150 You are now logged in to the root shell. It is recommended to use ILOM shell instead of root shell. All usage should be restricted to documented commands and documented config files. To view the list of documented commands, use "help" at linux prompt. [root@cswlx-eibbv2-01 ~]# spsh Oracle(R) Integrated Lights Out Manager Version ILOM 3.0 r47111 Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. -> load -source /tmp/sundcs_36p_repository_2.1.5_1.pkg NOTE: Firmware upgrade will upgrade the SUN DCS 36p firmware. ILOM will enter a special mode to load new firmware. No other tasks should be performed in ILOM until the firmware upgrade is complete. Are you sure you want to load the specified file (y/n)? y Setting up environment for firmware upgrade. This will take a few minutes. Starting SUN DCS 36p FW update ========================== Performing operation: I4 A ========================== I4 A: I4 is already at the given version. =========================== Summary of Firmware update =========================== I4 status : FW UPDATE - SUCCESS I4 update succeeded on : none I4 already up-to-date on : A I4 update failed on : none ========================================= Performing operation: SUN DCS 36p firmware update ========================================= SUN DCS 36p fw upgrade from 2.1.3-4 to 2.1.5-1: Upgrade started... Upgrade completed. INFO: SUN DCS 36p fw upgrade from 2.1.3-4 to 2.1.5-1 succeeded Post-install checks started... Post-install checks completed. Firmware update is complete. ILOM will be restarted and will take 2 minutes to come up. You will need to reconnect to Integrated Lights Out Manager. Stopping any already executing ILOM daemons Starting event manager Starting log manager Starting ILOM IPMI stack Started ILOM IPMI stack Starting lumain Starting luproxy Starting ealertd Starting web server Starting SNMP Terminated [root@cswlx-eibbv2-01 ~]# exit [root@cswlx-eibbv2-01 ~]# exit logout Connection to cswlx-eibbv2-01 closed. [1435802145][2015-07-01 23:28:59 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Load firmware 2.1.5_1 onto cswlx-eibbv2-01 [1435802145][2015-07-01 23:29:00 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][disableSM][] [CMD: ssh root@cswlx-eibbv2-01 disablesm] spawn ssh root@cswlx-eibbv2-01 disablesm root@cswlx-eibbv2-01's password: partitiond-daemon is stopped opensm is stopped [1435802145][2015-07-01 23:29:01 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][disableSM][] [CMD: ssh root@cswlx-eibbv2-01 service opensmd status] spawn ssh root@cswlx-eibbv2-01 service opensmd status root@cswlx-eibbv2-01's password: opensm is stopped [1435802145][2015-07-01 23:29:12 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][disableSM][] [CMD: ssh root@cswlx-eibbv2-01 disablesm] spawn ssh root@cswlx-eibbv2-01 disablesm root@cswlx-eibbv2-01's password: partitiond-daemon is stopped opensm is stopped [1435802145][2015-07-01 23:29:13 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][disableSM][] [CMD: ssh root@cswlx-eibbv2-01 service opensmd status] spawn ssh root@cswlx-eibbv2-01 service opensmd status root@cswlx-eibbv2-01's password: opensm is stopped [1435802145][2015-07-01 23:29:13 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Disable Subnet Manager on cswlx-eibbv2-01 [1435802145][2015-07-01 23:29:14 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchConfig][] [CMD: ssh root@cswlx-eibbv2-01 echo 1 > /conf/configvalid] spawn ssh root@cswlx-eibbv2-01 echo 1 > /conf/configvalid root@cswlx-eibbv2-01's password: [1435802145][2015-07-01 23:29:14 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchConfig][] [CMD: ssh root@cswlx-eibbv2-01 cat /conf/configvalid | grep 1] spawn ssh root@cswlx-eibbv2-01 cat /conf/configvalid | grep 1 root@cswlx-eibbv2-01's password: 1 [1435802145][2015-07-01 23:29:14 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Verify that /conf/configvalid is set to 1 on cswlx-eibbv2-01 [1435802145][2015-07-01 23:29:15 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][listSMPriority][] [CMD: ssh root@cswlx-eibbv2-01 setsmpriority list] spawn ssh root@cswlx-eibbv2-01 setsmpriority list root@cswlx-eibbv2-01's password: Current SM settings: smpriority 5 controlled_handover TRUE subnet_prefix 0xfe80000000000000 M_Key None Routing engine FatTree [1435802145][2015-07-01 23:29:15 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Set SMPriority to 5 on cswlx-eibbv2-01 [1435802145][2015-07-01 23:29:15 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Rebooting cswlx-eibbv2-01. Wait for 240 secs before continuing [1435802145][2015-07-01 23:29:16 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][rebootIBSwitch][] [CMD: ssh root@cswlx-eibbv2-01 reboot] spawn ssh root@cswlx-eibbv2-01 reboot root@cswlx-eibbv2-01's password: [1435802145][2015-07-01 23:33:18 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Reboot cswlx-eibbv2-01 [1435802145][2015-07-01 23:33:23 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][enableSM][] [CMD: ssh root@cswlx-eibbv2-01 enablesm] spawn ssh root@cswlx-eibbv2-01 enablesm root@cswlx-eibbv2-01's password: Starting IB Subnet Manager.[ OK ] Starting partitiond-daemon.[ OK ] [1435802145][2015-07-01 23:33:24 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][enableSM][] [CMD: ssh root@cswlx-eibbv2-01 service opensmd status] spawn ssh root@cswlx-eibbv2-01 service opensmd status root@cswlx-eibbv2-01's password: opensm (pid 7130) is running... [1435802145][2015-07-01 23:33:24 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Restart Subnet Manager on cswlx-eibbv2-01 [1435802145][2015-07-01 23:33:24 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Starting post-update validation on cswlx-eibbv2-01 [1435802145][2015-07-01 23:33:25 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][isIBSwitchLeaf][] [CMD: ssh root@cswlx-eibbv2-01 ibstat] spawn ssh root@cswlx-eibbv2-01 ibstat root@cswlx-eibbv2-01's password: Switch 'is4_0' Switch type: MT48436 Number of ports: 0 Firmware version: 7.4.2202 Hardware version: a1 Node GUID: 0x002128468d49a0a0 System image GUID: 0x002128468d49a0a3 Port 0: State: Active Physical state: LinkUp Rate: 40 Base lid: 3 LMC: 0 SM lid: 1 Capability mask: 0x4250084a Port GUID: 0x002128468d49a0a0 [1435802145][2015-07-01 23:33:26 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][getIBSwitchVersionExec][] [CMD: ssh root@cswlx-eibbv2-01 type -t /usr/local/bin/version] spawn ssh root@cswlx-eibbv2-01 type -t /usr/local/bin/version root@cswlx-eibbv2-01's password: file [1435802145][2015-07-01 23:33:27 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][getIBSwitchVersion][] [CMD: ssh root@cswlx-eibbv2-01 /usr/local/bin/version] spawn ssh root@cswlx-eibbv2-01 /usr/local/bin/version root@cswlx-eibbv2-01's password: SUN DCS 36p version: 2.1.5-1 Build time: Oct 6 2014 10:35:15 SP board info: Manufacturing Date: 2010.01.25 Serial Number: "NCD4J0254" Hardware Revision: 0x0006 Firmware Revision: 0x0102 BIOS version: NOW1R112 BIOS date: 04/24/2009 [1435802145][2015-07-01 23:33:27 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Inifiniband switch cswlx-eibbv2-01 is at target patching level [1435802145][2015-07-01 23:33:28 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchHostInfo][] [CMD: ssh root@cswlx-eibbv2-01 hostname] spawn ssh root@cswlx-eibbv2-01 hostname root@cswlx-eibbv2-01's password: cswlx-eibbv2-01.tjsc.jus.br [1435802145][2015-07-01 23:33:28 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchHostInfo][] [CMD: cat /etc/hosts] spawn ssh root@cswlx-eibbv2-01 cat /etc/hosts root@cswlx-eibbv2-01's password: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.17.7.176 cswlx-eibbv2-01.tjsc.jus.br cswlx-eibbv2-01 10.17.7.175 cswlx-eibav2-01.tjsc.jus.br cswlx-eibav2-01 [1435802145][2015-07-01 23:33:30 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchHostInfo][] [CMD: cat /etc/sysconfig/network-scripts/ifcfg-eth0] spawn ssh root@cswlx-eibbv2-01 cat /etc/sysconfig/network-scripts/ifcfg-eth0 root@cswlx-eibbv2-01's password: DEVICE=eth0 BOOTPROTO=static ONBOOT=yes NETWORK=10.17.7.128 NETMASK=255.255.255.192 IPADDR=10.17.7.176 USERCTL=no) [1435802145][2015-07-01 23:33:30 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchHostInfo][] [CMD: cat /etc/sysconfig/network-scripts/ifcfg-eth1] spawn ssh root@cswlx-eibbv2-01 cat /etc/sysconfig/network-scripts/ifcfg-eth1 root@cswlx-eibbv2-01's password: cat: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory [1435802145][2015-07-01 23:33:30 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Verifying host details in /etc/hosts and /etc/sysconfig/network-scripts/ifcfg-eth[0,1] for cswlx-eibbv2-01 [1435802145][2015-07-01 23:33:32 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchServices][] [CMD: ssh root@cswlx-eibbv2-01 /sbin/service ntpd status spawn ssh root@cswlx-eibbv2-01 /sbin/service ntpd status root@cswlx-eibbv2-01's password: ntpd (pid 1650) is running... [1435802145][2015-07-01 23:33:32 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchServices][] [SUCCESS] Service ntpd is running on InfiniBand Switch cswlx-eibbv2-01 [1435802145][2015-07-01 23:33:32 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchServices][] [CMD: ssh root@cswlx-eibbv2-01 /sbin/service opensmd status spawn ssh root@cswlx-eibbv2-01 /sbin/service opensmd status root@cswlx-eibbv2-01's password: opensm (pid 7130) is running... [1435802145][2015-07-01 23:33:32 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchServices][] [SUCCESS] Service opensmd is running on InfiniBand Switch cswlx-eibbv2-01 [1435802145][2015-07-01 23:33:33 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchNTP][] [CMD: ssh root@cswlx-eibbv2-01 cat /etc/ntp.conf spawn ssh root@cswlx-eibbv2-01 cat /etc/ntp.conf root@cswlx-eibbv2-01's password: ## DO NOT EDIT THIS FILE ## server 127.127.1.0 # local clock server 172.17.6.121 prefer driftfile /var/lib/ntp/drift pidfile /var/run/ntpd.pid #END [1435802145][2015-07-01 23:33:33 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Verifying that cswlx-eibbv2-01 has at least 1 NTP Server, found 1 [1435802145][2015-07-01 23:33:33 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchNTP][] NTPServers are : ( ssh ) [1435802145][2015-07-01 23:33:34 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchOpensm][] [CMD: ssh root@cswlx-eibbv2-01 cat /etc/opensm/opensm.conf spawn ssh root@cswlx-eibbv2-01 cat /etc/opensm/opensm.conf root@cswlx-eibbv2-01's password: # # DEVICE ATTRIBUTES OPTIONS # # The port GUID on which the OpenSM is running guid 0x0000000000000000 # M_Key value sent to all ports qualifying all Set(PortInfo) m_key 0x0000000000000000 # The lease period used for the M_Key on this subnet in [sec] m_key_lease_period 60 # The protection level used for the M_Key on this subnet m_key_protect_bits 0 # SM_Key value of the SM used for SM authentication sm_key 0x0000000000000001 # SM_Key value to qualify rcv SA queries as 'trusted' sa_key 0x0000000000000001 # Note that for both values above (sm_key and sa_key) # OpenSM version 3.2.1 and below used the default value '1' # in a host byte order, it is fixed now but you may need to # change the values to interoperate with old OpenSM running # on a little endian machine. # Subnet prefix used on this subnet subnet_prefix 0xfe80000000000000 # SM SL, the SL to use for SA access sm_sl 1 # The LMC value used on this subnet lmc 0 # lmc_esp0 determines whether LMC value used on subnet is used for # enhanced switch port 0. If TRUE, LMC value for subnet is used for # ESP0. Otherwise, LMC value for ESP0s is 0. lmc_esp0 FALSE # The code of maximal time a packet can live in a switch # The actual time is 4.096usec * 2^ # The value 0x14 disables this mechanism packet_life_time 0xf # The number of sequential packets dropped that cause the port # to enter the VLStalled state. The result of setting this value to # zero is undefined. vl_stall_count 0x07 # The number of sequential packets dropped that cause the port # to enter the VLStalled state. This value is for switch ports # driving a CA or router port. The result of setting this value # to zero is undefined. leaf_vl_stall_count 0x07 # The code of maximal time a packet can wait at the head of # transmission queue. # The actual time is 4.096usec * 2^ # The value 0x14 disables this mechanism head_of_queue_lifetime 0xf # The maximal time a packet can wait at the head of queue on # switch port connected to a CA or router port leaf_head_of_queue_lifetime 0xe # Limit the maximal operational VLs max_op_vls 5 # Force PortInfo:LinkSpeedEnabled on switch ports # If 0, don't modify PortInfo:LinkSpeedEnabled on switch port # Otherwise, use value for PortInfo:LinkSpeedEnabled on switch port # Values are (IB Spec 1.2.1, 14.2.5.6 Table 146 "PortInfo") # 1: 2.5 Gbps # 3: 2.5 or 5.0 Gbps # 5: 2.5 or 10.0 Gbps # 7: 2.5 or 5.0 or 10.0 Gbps # 2,4,6,8-14 Reserved # Default 15: set to PortInfo:LinkSpeedSupported force_link_speed 15 # The subnet_timeout code that will be set for all the ports # The actual timeout is 4.096usec * 2^ subnet_timeout 16 # Threshold of local phy errors for sending Trap 129 local_phy_errors_threshold 0x08 # Threshold of credit overrun errors for sending Trap 130 overrun_errors_threshold 0x08 # # PARTITIONING OPTIONS # # Partition configuration file to be used partition_config_file /conf/partitions.conf # Disable partition enforcement by switches no_partition_enforcement TRUE # Use versioning of partition configuration use_partition_versions TRUE # SM assigned GUID byte where GUID is formed from OpenFabrics OUI # followed by 40 bits xy 00 ab cd ef where xy is the SM assigned GUID byte # and ab cd ef is an SM autogenerated 24 bits # SM assigned GUID byte should be configured as subnet unique sm_assigned_guid 0x00 # # SWEEP OPTIONS # # The number of seconds between subnet sweeps (0 disables it) sweep_interval 10 # If TRUE cause all lids to be reassigned reassign_lids FALSE # If TRUE forces every sweep to be a heavy sweep force_heavy_sweep FALSE # If TRUE every trap will cause a heavy sweep. # NOTE: successive identical traps (>10) are suppressed sweep_on_trap TRUE # # ROUTING OPTIONS # # If TRUE count switches as link subscriptions port_profile_switch_nodes FALSE # Name of file with port guids to be ignored by port profiling port_prof_ignore_file (null) # Routing engine # Multiple routing engines can be specified separated by # commas so that specific ordering of routing algorithms will # be tried if earlier routing engines fail. # Supported engines: minhop, updn, file, ftree, lftree, lash, dor routing_engine ftree # Connect switches (use FALSE if unsure) connect_switches TRUE # Connect roots (use FALSE if unsure) connect_roots FALSE # Use unicast routing cache (use FALSE if unsure) use_ucast_cache FALSE # Lid matrix dump file name lid_matrix_dump_file (null) # LFTs file name lfts_file (null) # The file holding the root node guids (for fat-tree or Up/Down) # One guid in each line root_guid_file (null) # The file holding the fat-tree compute node guids # One guid in each line cn_guid_file (null) # The file holding the node ids which will be used by Up/Down algorithm instead # of GUIDs (one guid and id in each line) ids_guid_file (null) # The file holding guid routing order guids (for MinHop and Up/Down) guid_routing_order_file (null) # SA database file name sa_db_file (null) # # HANDOVER - MULTIPLE SMs OPTIONS # # SM priority used for deciding who is the master # Range goes from 0 (lowest priority) to 15 (highest). sm_priority 5 # If TRUE SM handover should not occur twice upon master reboot controlled_handover TRUE # If TRUE other SMs on the subnet should be ignored ignore_other_sm FALSE # Timeout in [msec] between two polls of active master SM sminfo_polling_timeout 300 # Number of failing polls of remote SM that declares it dead polling_retry_number 2 # If TRUE honor the guid2lid file when coming out of standby # state, if such file exists and is valid honor_guid2lid_file FALSE # # TIMING AND THREADING OPTIONS # # Maximum number of SMPs sent in parallel max_wire_smps 15 # Maximum number of timeout based SMPs allowed to be outstanding # A value less than or equal to max_wire_smps disables this mechanism max_wire_smps2 25 # The timeout in [usec] used for sending SMPs above max_wire_smps limit # and below max_wire_smps2 limit max_smps_timeout 100000 # The maximum time in [msec] allowed for a transaction to complete transaction_timeout 200 # Maximal time in [msec] a message can stay in the incoming message queue. # If there is more than one message in the queue and the last message # stayed in the queue more than this value, any SA request will be # immediately be dropped but BUSY status is not currently returned. max_msg_fifo_timeout 10000 # Use a single thread for handling SA queries single_thread FALSE # # MISC OPTIONS # # Daemon mode daemon FALSE # SM Inactive sm_inactive FALSE # Babbling Port Policy babbling_port_policy FALSE # Use Optimized SLtoVLMapping programming if supported by device use_optimized_slvl TRUE # Port Probing Enabled port_probing_enabled TRUE # List of M_Keys to use if port_probing_enabled is set probe_mkeys 0 # M_Key value sent to all untrusted ports untrusted_mkey 0 # List of M_Keys to use if port_probing_enabled is set # This list will be used for untrusted ports only untrusted_probe_mkeys 0 # # Event Plugin Options # event_plugin_name (null) # # Node name map for mapping node's to more descriptive node descriptions # (man ibnetdiscover for more information) # node_name_map_name (null) # # DEBUG FEATURES # # The log flags used log_flags 0x03 # Force flush of the log file after each log message force_log_flush FALSE # Log file to be used log_file /var/log/opensm.log # Limit the size of the log file in MB. If overrun, log is restarted log_max_size 4 # If TRUE will accumulate the log over multiple OpenSM sessions accum_log_file TRUE # The directory to hold the file OpenSM dumps dump_files_dir /var/log/ # If TRUE the log will be rotated (copied) when reaching log_max_size log_rotate TRUE # If TRUE enables new high risk options and hardware specific quirks enable_quirks FALSE # If TRUE disables client reregistration no_clients_rereg FALSE # If TRUE OpenSM should disable multicast support and # no multicast routing is performed if TRUE disable_multicast FALSE # If TRUE opensm will exit on fatal initialization issues exit_on_fatal TRUE # console [off|local|loopback|socket] console loopback # Telnet port for console (default 10000) console_port 10000 # # QoS OPTIONS # # Enable QoS setup qos TRUE # QoS policy file to be used qos_policy_file /etc/opensm/qos-policy.conf # QoS default options qos_max_vls 15 qos_high_limit 0 qos_vlarb_high 0:4,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0 qos_vlarb_low 0:0,1:4,2:4,3:4,4:4,5:4,6:4,7:4,8:4,9:4,10:4,11:4,12:4,13:4,14:4 qos_sl2vl 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 # QoS CA options qos_ca_max_vls 8 qos_ca_high_limit 1 qos_ca_vlarb_high 1:16 qos_ca_vlarb_low 0:32,2:32,3:32,4:32,5:32,6:32,7:32 qos_ca_sl2vl 0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7 # QoS Switch Port 0 options qos_sw0_max_vls 8 qos_sw0_high_limit 1 qos_sw0_vlarb_high 1:16 qos_sw0_vlarb_low 0:16,2:16,3:16,4:16,5:16,6:16,7:16 qos_sw0_sl2vl 0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7 # QoS Switch external ports options qos_swe_max_vls 8 qos_swe_high_limit 1 qos_swe_vlarb_high 1:16 qos_swe_vlarb_low 0:16,2:16,3:16,4:16,5:16,6:16,7:16 qos_swe_sl2vl 0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7 # QoS Router ports options qos_rtr_max_vls 8 qos_rtr_high_limit 1 qos_rtr_vlarb_high 1:16 qos_rtr_vlarb_low 0:16,2:16,3:16,4:16,5:16,6:16,7:16 qos_rtr_sl2vl 0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7 # Prefix routes file name prefix_routes_file /etc/opensm/prefix-routes.conf # Remote SM policy file name remote_sm_policy_file /etc/opensm/osm-remote-sm.conf # Port trust policy file name port_trust_policy_file /etc/opensm/osm-port-trust.conf # # IPv6 Solicited Node Multicast (SNM) Options # consolidate_ipv6_snm_req FALSE [1435802145][2015-07-01 23:33:34 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchOpensm][] [SUCCESS] routing_engine value in /etc/opensm/opensm.conf is ftree [1435802145][2015-07-01 23:33:34 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchOpensm][] [SUCCESS] sminfo_polling_timeout value in /etc/opensm/opensm.conf is 300 [1435802145][2015-07-01 23:33:34 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchOpensm][] [SUCCESS] polling_retry_number value in /etc/opensm/opensm.conf is 2 [1435802145][2015-07-01 23:33:34 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchOpensm][] [SUCCESS] In /etc/opensm/opensm.conf, sm_priority value is 5, and controlled_handover value is TRUE [1435802145][2015-07-01 23:33:34 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchOpensm][] [SUCCESS] opensm.conf passed all validations [1435802145][2015-07-01 23:33:35 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchDate][] [CMD: ssh root@cswlx-eibbv2-01 date +%F_%T spawn ssh root@cswlx-eibbv2-01 date +%F_%T root@cswlx-eibbv2-01's password: 2015-07-02_07:51:59 [1435802145][2015-07-01 23:33:35 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Manually validate the following entries Date:(YYYY-MM-DD) 2015-07-02 Time:(HH:MM:SS) 07:51:59 [1435802145][2015-07-01 23:33:36 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchConfigFile][] [CMD: ssh root@cswlx-eibbv2-01 cat /conf/configvalid] spawn ssh root@cswlx-eibbv2-01 cat /conf/configvalid root@cswlx-eibbv2-01's password: 1 [1435802145][2015-07-01 23:33:36 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchConfigFile][] [SUCCESS] /conf/configvalid is 1 [1435802145][2015-07-01 23:37:54 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][validateIBSwitchFWVerify][] [CMD: ssh root@cswlx-eibbv2-01 /usr/local/bin/fwverify] spawn ssh root@cswlx-eibbv2-01 /usr/local/bin/fwverify root@cswlx-eibbv2-01's password: Checking all present packages: ........................................................................................................................................... OK Checking if any packages are missing: ...................................................................................................................................... OK Verifying installed files: .......................................................................................................................................... OK Checking FW Coreswitch: FW Version: 7.4.2202 OK PSID: SUN_NM2-36p_004 OK Verifying image integrity OK [1435802145][2015-07-01 23:37:54 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Firmware verification on InfiniBand switch cswlx-eibbv2-01 [1435802145][2015-07-01 23:37:56 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][ibSwitchUpdatePostCheck][] [CMD: ssh root@cswlx-eibbv2-01 autodisable all] spawn ssh root@cswlx-eibbv2-01 autodisable all root@cswlx-eibbv2-01's password: [1435802145][2015-07-01 23:37:56 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Execute plugin check for Post Patch on cswlx-eibbv2-01 [1435802145][2015-07-01 23:37:56 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Post-check validation on IBSwitch cswlx-eibbv2-01 [1435802145][2015-07-01 23:37:56 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Update switch cswlx-eibbv2-01 to 2.1.5_1 [1435802145][2015-07-01 23:37:56 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] InfiniBand Switches ( cswlx-eibav2-01 cswlx-eibbv2-01 ) updated to 2.1.5_1 [1435802145][2015-07-01 23:37:56 -0300][SUCCESS][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_print][][DISPLAY] Overall status [1435802145][2015-07-01 23:37:56 -0300][INFO][/u01/patch/patch_12.1.2.1.2.150617.1/upgradeIBSwitch.sh][upgradeIBSwitch_doIt][] [SUCCESS]Program completed successfuly ----- InfiniBand switch update process ended Wed Jul 1 23:37:56 BRT 2015 ----- [1435802145][2015-07-01 23:37:56 -0300][INFO][imageLogger][imageLogger_destroy][] Closing log and trace files