Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/cloudinit/config/__pycache__/ |
Upload File : |
3 ��b� � @ s� d Z ddlZddlmZ ddlmZmZ ddlmZ eZ dZ dZdZej e�Zd Zd d� Zdd � Zdd� Zdd� Zdd� Zdd� ZdS )a- Reset RMC ------------ **Summary:** reset rsct node id Reset RMC module is IBM PowerVM Hypervisor specific Reliable Scalable Cluster Technology (RSCT) is a set of software components, that together provide a comprehensive clustering environment (RAS features) for IBM PowerVM based virtual machines. RSCT includes the Resource monitoring and control (RMC) subsystem. RMC is a generalized framework used for managing, monitoring, and manipulating resources. RMC runs as a daemon process on individual machines and needs creation of unique node id and restarts during VM boot. More details refer https://www.ibm.com/support/knowledgecenter/en/SGVKBA_3.2/admin/bl503_ovrv.htm This module handles - creation of the unique RSCT node id to every instance/virtual machine and ensure once set, it isn't changed subsequently by cloud-init. In order to do so, it restarts RSCT service. Prerequisite of using this module is to install RSCT packages. **Internal name:** ``cc_reset_rmc`` **Module frequency:** per instance **Supported distros:** rhel, sles and ubuntu � N)�log)�subp�util)�PER_INSTANCEz/opt/rsct/install/bin�rmcctrlZrecfgctz/etc/ct_node_idc C sr |j jdkrtjd� d S tjjt�s4tjd� d S tjj d�}zt |� t� W d |rd|tjd<