How to change the timezone of containers running in k8s

rm -rf /etc/localtime ln -s /usr/share/zoneinfo/Asia/Tehran /etc/localtime dpkg-reconfigure -f noninteractive tzdata 2. Change the timezone via k8s mount hostPath: spec: containers: – name: nginx image: nginx ports: – containerPort: 80 name: nginx volumeMounts: – name: tz-config mountPath: /etc/localtime volumes: – name: tz-config hostPath: path: /usr/share/zoneinfo/Asia/Tehran

Replace a Faulty FRU from the SUN Oracle System with the replacefru Command

Following section describes the procedure for replacing a FRU requiring maintenance from the system. The following FRUs can be maintained: XSCF> replacefru ——————————————————————————Maintenance/Replacement MenuPlease select a type of model which has FRU to be replaced. 1. CMU/IOU (CPU Memory Board Unit/IO Unit)2. FAN (Fan Unit)3. PSU (Power Supply Unit)4. XSCFU (Extended System Control Facility Unit)——————————————————————————Select … Read more

Clear faulty inode in Solaris

clri , dcopy Use the clri command to clear a bad inode that fsck is unable to fix. clri writes zeros on the inodes with the decimal i-number on the file system stored on special. After clri is run, any blocks in the affected file show up as missing in an fsck of special and any data is lost. You cannot clear an inode on a mounted file system. … Read more

Recovering rebooted or crashed GlusterFS

checking glusterfs configurations: [root@glustertest1 ~]# gluster volume info Volume Name: test_volType: DisperseVolume ID: b23f6c11-8dfe-4d51-919d-35a30dd75100Status: StoppedSnapshot Count: 0Number of Bricks: 1 x (4 + 2) = 6Transport-type: tcpBricks:Brick1: glustertest1:/glusterfs/brick1Brick2: glustertest2:/glusterfs/brick1Brick3: glustertest3:/glusterfs/brick1Brick4: glustertest4:/glusterfs/brick1Brick5: glustertest5:/glusterfs/brick1Brick6: glustertest6:/glusterfs/brick1Options Reconfigured:transport.address-family: inetnfs.disable: on[root@glustertest1 ~]# [root@glustertest1 ~]# gluster volume statusVolume test_vol is not started if its not started: mount glusterFS: [root@glustertest1 ~]# mount … Read more

Rename a GlusterFS Peer in RHEL

Here are the steps:FYI, its not required to detach the peer. WARNING: Before proceed be sure of backup your data, and proceed with caution. Do not execute any command without understanding what it do exactly, be sure that you are in the correct path, make the correct names replacements in each command if apply (indicated … Read more

Disable Automatic Server Recovery (ASR) in HPE ProLiant Servers

Automatic Server Recovery (ASR) is configured using RBSU available during the initial boot of the server by pressing the F9 key when prompted. The Server Availability menu in RBSU includes options that configure the ASR features: • ASR Status • ASR Timeout ASR Status The ASR Status option is a toggle setting that either enables … Read more

Adjusting VMware ESX host Time Zone(and DST)

Details: During installation, a time zone was selected for an ESX host that does not match the desired time zone. This article provides steps to change the time zone or daylight-saving. Note: An ESX host with an incorrect date and time or time zone passes on that incorrect information. When a virtual machine boots up … Read more

MySQL Server Time Zone Support

This article describes the time zone settings maintained by MySQL, how to load the system tables required for named time support, how to stay current with time zone changes, and how to enable leap-second support. Beginning with MySQL 8.0, time zone offsets are also supported for inserted datetime values; see “The DATE, DATETIME, and TIMESTAMP Types”, … Read more